The trackId
property of the
RTCInboundRtpStreamStats
dictionary indicates the
id
of the
RTCReceiverAudioTrackAttachmentStats
or
RTCReceiverVideoTrackAttachmentStats
object representing the
MediaStreamTrack
which is receiving the incoming media.
Syntax
var trackStatsId = rtcInboundRtpStreamStats.trackId;
Value
A DOMString
containing the ID of the
RTCReceiverAudioTrackAttachmentStats
or
RTCReceiverVideoTrackAttachmentStats
object representing the track which
is receiving the media from this RTP session.
Specifications
Specification | Status | Comment |
---|---|---|
Identifiers for WebRTC's Statistics API The definition of 'RTCInboundRtpStreamStats.trackId' in that specification. |
Candidate Recommendation | Initial definition. |