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 RTCCodecStats.
Developer library 6
Codecs used by WebRTC
eo track is found, we set `codecList` to `null`. On return, then, `codecList` is either `null` to indicate that no video tracks were found or it's an array of RTCCodecStats objects, each describing one permitted codec configuration. Of special importance in these objects: the payloadType property, which is a one-byte value which uniquely identifies the described configuration. > [!NOTE] > The two methods for obtain
RTCCodecStats
WebRTC The **`RTCCodecStats`** dictionary of the [WebRTC API](/docs/Web/API/WebRTC_API) provides statistics about a codec used by RTP streams that are being sent or received by the associated RTCPeerConnection object. These statistics can be obtained by iterating the RTCStatsReport object returned by RTCPeerConnection.getStats() until you find an entry with the [`type`](/docs/Web/API/RTCCodecStats/type) of `codec`.
RTCCodecStats: timestamp property
WebRTC The **`timestamp`** property of the RTCCodecStats dictionary is a DOMHighResTimeStamp object specifying the time at which the data in the object was sampled. ## Value A DOMHighResTimeStamp value indicating the time at which the activity described by the statistics in this object was recorded, in milliseconds elapsed since the beginning of January 1, 1970, UTC. The value should be accurate to within a few m
RTCCodecStats: clockRate property
WebRTC The **`clockRate`** property of the RTCCodecStats dictionary is a positive number containing the media sampling rate in hertz (Hz). ## Values A positive number indicating the media sampling rate. ## Specifications ## Browser compatibility ## See also - `codecs.clockRate` option in parameter passed to [`RTCRtpTransceiver.setCodecPreferences()`](/docs/Web/API/RTCRtpTransceiver/setCodecPreferences#cloc
RTCCodecStats: payloadType property
WebRTC The **`payloadType`** property of the RTCCodecStats dictionary is a positive integer in the range from 0 to 127 that describes the format of the RTP payload used in RTP encoding or decoding. ## Value A positive integer between 0 and 127. The mappings of values to formats is defined in RFC3550, and more specifically in [Section 6: Payload Type Definitions](https://www.rfc-editor.org/info/rfc3551/#section-6)
RTCCodecStats: transportId property
WebRTC The **`transportId`** property of the RTCCodecStats dictionary is a string that contains the unique identifier of the corresponding transport on which this codec is being used. You can correlate the codec and associated transport statistics by matching the `RTCCodecStats.transportId` with an RTCTransportStats.id value. ## Value A string that uniquely identifies a matching RTCTransportStats object using its