abort method

Aborts the processing of the current media segment.

Important  This method is not supported in Internet Explorer 11 on Windows 7.
 
IE11

 

Syntax

SourceBuffer.abort(mode);

Parameters

mode [in, optional]

Type: AbortMode

Specifies the reason for the abort.

AbortMode error values

ValueMeaning
continuation

The next append sequence will be placed after the append sequence which was aborted.

timestampOffset

The next append sequence will be placed at the timestamp offset.

 

Return value

This method does not return a value.

See also

SourceBuffer

 

 

Show: