A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/apis/media_source_extensions/MediaSource/endOfStream below:

endOfStream ยท WebPlatform Docs

endOfStream Summary

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

Method of apis/media_source_extensions/MediaSourceapis/media_source_extensions/MediaSource

Syntax
 MediaSource.endOfStream(error);
Parameters error
Data-type
enum

(Optional)

Type: EndOfStreamError

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

EndOfStreamError error values

network
A network error occurred.
decode
A decode error occurred.
Return Value

No return value

Usage
 This method throws an INVALID_STATE_ERR exception under the following conditions:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4