Back to Content

RTCInboundRtpStreamStats: transportId property

files/en-us/web/api/rtcinboundrtpstreamstats/transportid/index.md

latest781 B
Original Source

{{APIRef("WebRTC")}}

The transportId property of the {{domxref("RTCInboundRtpStreamStats")}} dictionary is a string that uniquely identifies the associated {{domxref("RTCTransportStats")}} statistics object for this RTP stream's underlying transport.

RTCInboundRtpStreamStats and RTCTransportStats objects are correlated by iterating the {{domxref("RTCStatsReport")}} to find the statistics objects where RTCInboundRtpStreamStats.transportId is equal to {{domxref("RTCTransportStats.id")}}.

Value

A string that contains the {{domxref("RTCTransportStats.id","id")}} of the object that was inspected to produce the {{domxref("RTCTransportStats")}} object associated with this RTP stream.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}