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.
![]() |
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
Value Meaning - network
A network error occurred.
- decode
A decode error occurred.
Return value
This method does not return a value.
Exceptions
| Exception | Condition |
|---|---|
|
|
See also
Show:
