You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
vartransport=newRTCDtlsTransport(...);varrtpReceiver=newRTCRtpReceiver(transport);rtpReceiver.transport;// => transportrtpReceiver.rtcpTransport;// => transport or null or undefined?
The rtcpTransport attribute is the transport over which RTCP is sent and received. When BUNDLE is used, many RTCRtpSender objects will share one rtcpTransport and will all send and receive RTCP over the same transport. When RTCP mux is used, rtcpTransport will be null, and both RTP and RTCP traffic will flow over the transport described by transport.
Section 5.3.1 (RTCRtpReceiver)
The RTCRtpReceiver.rtcpTransport attribute is the transport over which RTCP is sent and received. When BUNDLE is used, many RTCRtpReceiver objects will share one RTCRtpReceiver.rtcpTransport and will all send and receive RTCP over the same transport. When RTCP mux is used, RTCRtpReceiver.rtcpTransport will be null, and both RTP and RTCP traffic will flow over RTCRtpReceiver.transport.
Activity
aboba commentedon Jan 18, 2016
I believe that rtcpTransport should be unset in this case since an rtcpTransport was not supplied in the constructor.
ibc commentedon Jan 18, 2016
Another approach would be for the getter to retrieve the effective
RTCDtlsTransport, which at the end is the giventransport.IMHO it should be clarified in the spec.
aboba commentedon Jan 19, 2016
Just found the corresponding text in WebRTC 1.0.
Section 5.2.1 (RTCRtpSender)
The rtcpTransport attribute is the transport over which RTCP is sent and received. When BUNDLE is used, many RTCRtpSender objects will share one rtcpTransport and will all send and receive RTCP over the same transport. When RTCP mux is used, rtcpTransport will be null, and both RTP and RTCP traffic will flow over the transport described by transport.
Section 5.3.1 (RTCRtpReceiver)
The RTCRtpReceiver.rtcpTransport attribute is the transport over which RTCP is sent and received. When BUNDLE is used, many RTCRtpReceiver objects will share one RTCRtpReceiver.rtcpTransport and will all send and receive RTCP over the same transport. When RTCP mux is used, RTCRtpReceiver.rtcpTransport will be null, and both RTP and RTCP traffic will flow over RTCRtpReceiver.transport.
ibc commentedon Jan 19, 2016
Clear. Thanks.
Can rtpReceiver.rtcpTransport retrieve null?