Showing content from https://webplatform.github.io/docs/apis/webrtc/MediaStream below:
MediaStream ยท WebPlatform Docs
MediaStream Summary
The MediaStream interface of the WebRTC API describes a stream of audio or video data. A MediaStream object represents a linear, potentially infinite timeline. It is not preloadable, nor is it seekable.
Properties
-
audioTracks
-
The MediaStreamTrackList object representing the audio tracks.
-
ended
-
True if the ended event has fired on the MediaStream object.
-
label
-
A globally unique identifier (GUID) of 36 characters that describes the media stream.
-
onended
-
Handles the ended event when fired on the MediaStream object.
-
videoTracks
-
The MediaStreamTrackList object representing the video tracks.
Methods
No methods.
Events
-
ended
-
All tracks of the MediaStream object have ended; the MediaStream is said to be finished.
Examples
navigator.getUserMedia =
navigator.getUserMedia
View live example
Related specifications
-
WebRTC 1.0: Real-time Communication Between Browsers
-
Working Draft
-
Media Capture and Streams
-
Working Draft
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