| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 | 62 |
| 63 // Append segment data. | 63 // Append segment data. |
| 64 [RaisesException] void appendBuffer(ArrayBuffer data); | 64 [RaisesException] void appendBuffer(ArrayBuffer data); |
| 65 [RaisesException] void appendBuffer(ArrayBufferView data); | 65 [RaisesException] void appendBuffer(ArrayBufferView data); |
| 66 | 66 |
| 67 [RaisesException, RuntimeEnabled=Stream] void appendStream(Stream stream, op
tional unsigned long long maxSize); | 67 [RaisesException, RuntimeEnabled=Stream] void appendStream(Stream stream, op
tional unsigned long long maxSize); |
| 68 | 68 |
| 69 // Abort the current segment append sequence. | 69 // Abort the current segment append sequence. |
| 70 [RaisesException] void abort(); | 70 [RaisesException] void abort(); |
| 71 [RaisesException] void remove(double start, unrestricted double end); | 71 [RaisesException] void remove(double start, unrestricted double end); |
| 72 |
| 73 // Gets or sets the TrackDefaultList this SourceBuffer may consult during |
| 74 // the initialization segment algorithm. |
| 75 [RaisesException=Setter, RuntimeEnabled=MediaSourceExperimental] attribute T
rackDefaultList trackDefaults; |
| 72 }; | 76 }; |
| 73 | 77 |
| OLD | NEW |