File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -134,13 +134,8 @@ function PreBufferSink(onAppendedCallback) {
134134 return this ;
135135 }
136136
137- /**
138- * Return the all chunks in the buffer the lie between times start and end.
139- * Because a chunk cannot be split, this returns the full chunk if any part of its time lies in the requested range.
140- * Chunks are removed from the buffer when they are discharged.
141- * @function PreBufferSink#discharge
142- * @returns {Array } The set of chunks from the buffer within the time ranges.
143- */
137+ //Return an array of all chunks along with init segments in the order to append to the SourceBuffer.
138+ //Chunks are removed from PreBuffer when they are discharged.
144139 function discharge ( ) {
145140 const result = chunks ;
146141 let lastInit = null ;
You can’t perform that action at this time.
0 commit comments