Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
endOfStream

endOfStream method

Used to indicate that the end of the stream has been reached.

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

 

Syntax

MediaSource.endOfStream(error);

Parameters

error [in, optional]

Type: EndOfStreamError

If an error has occurred, this optional parameter can be used to send error information.

EndOfStreamError error values

ValueMeaning
network

A network error occurred.

decode

A decode error occurred.

 

Return value

This method does not return a value.

Exceptions

ExceptionCondition
INVALID_STATE_ERR

 

See also

MediaSource

 

 

Show:
© 2015 Microsoft