Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for Insertable Streams for MediaStreamTrack API.
Developer library 6
RTCRtpReceiver
WebRTC The **`RTCRtpReceiver`** interface of the [WebRTC API](/docs/Web/API/WebRTC_API) manages the reception and decoding of data for a MediaStreamTrack on an RTCPeerConnection. ## Instance properties - RTCRtpReceiver.jitterBufferTarget - : A DOMHighResTimeStamp that indicates an application's preferred hold time for media in the jitter buffer, allowing it influence the tradeoff between playout delay and the ri
MediaStreamTrackProcessor
Insertable Streams for MediaStreamTrack APIdedicated > [!WARNING] > Browsers differ on which global context they expose this interface in (e.g., only window in some browsers and only dedicated worker in others), making them incompatible. Keep this in mind when comparing support. The **`MediaStreamTrackProcessor`** interface of the [Insertable Streams for MediaStreamTrack API](/docs/Web/API/Insertable_Streams_for_Me
MediaStreamTrackProcessor: totalFrames property
Insertable Streams for MediaStreamTrack API The **`totalFrames`** property of the MediaStreamTrackProcessor interface returns a number indicating how many frames have been received by the processor in total. ## Value A number. ## Examples ### Basic usage ```js async function init() { try { const stream = await navigator.mediaDevices.getUserMedia({ video: true }); const [track] = stream.getVideoTracks(
MediaStreamTrackProcessor: MediaStreamTrackProcessor() constructor
Insertable Streams for MediaStreamTrack API The **`MediaStreamTrackProcessor()`** constructor creates a new MediaStreamTrackProcessor object which consumes a video MediaStreamTrack object's source and generates a stream of VideoFrames. ## Syntax ```js-nolint new MediaStreamTrackProcessor(options) ``` ### Parameters - `options` - : An object with the following properties: - `track` - : A MediaStreamTr
MediaStreamTrackProcessor: readable property
Insertable Streams for MediaStreamTrack API The **`readable`** property of the MediaStreamTrackProcessor interface returns a ReadableStream of VideoFrames. ## Value A ReadableStream. ## Examples See the [Insertable Streams for MediaStreamTrack API](/docs/Web/API/Insertable_Streams_for_MediaStreamTrack_API#examples) for an example. ## Specifications ## Browser compatibility
MediaStreamTrackProcessor: discardedFrames property
Insertable Streams for MediaStreamTrack API The **`discardedFrames`** property of the MediaStreamTrackProcessor interface returns a number indicating how many frames have been dropped by the processor. ## Value A number. ## Examples ### Basic usage ```js async function init() { try { const stream = await navigator.mediaDevices.getUserMedia({ video: true }); const [track] = stream.getVideoTracks();