| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | 22 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 29 */ | 29 */ |
| 30 | 30 |
| 31 [ | 31 [ |
| 32 Conditional=MEDIA_SOURCE, | |
| 33 V8EnabledAtRuntime=mediaSource | 32 V8EnabledAtRuntime=mediaSource |
| 34 ] interface SourceBuffer { | 33 ] interface SourceBuffer { |
| 35 | 34 |
| 36 // Returns the time ranges buffered. | 35 // Returns the time ranges buffered. |
| 37 readonly attribute TimeRanges buffered | 36 readonly attribute TimeRanges buffered |
| 38 getter raises(DOMException); | 37 getter raises(DOMException); |
| 39 | 38 |
| 40 // Applies an offset to media segment timestamps. | 39 // Applies an offset to media segment timestamps. |
| 41 attribute double timestampOffset | 40 attribute double timestampOffset |
| 42 setter raises(DOMException); | 41 setter raises(DOMException); |
| 43 | 42 |
| 44 // Append segment data. | 43 // Append segment data. |
| 45 void append(in Uint8Array data) raises (DOMException); | 44 void append(in Uint8Array data) raises (DOMException); |
| 46 | 45 |
| 47 // Abort the current segment append sequence. | 46 // Abort the current segment append sequence. |
| 48 void abort() raises (DOMException); | 47 void abort() raises (DOMException); |
| 49 }; | 48 }; |
| 50 | 49 |
| OLD | NEW |