RTCPeerConnection.getReceivers() method returns an
RTCRtpReceiver objects, each of which represents one RTP
receiver. Each RTP receiver manages the reception and decoding of data for
MediaStreamTrack on an
var receivers = rtcPeerConnection.getReceivers();
An array of
RTCRtpReceiver objects, one for each track on the
connection. The array is empty if there are no RTP receivers on the connection.
The order of the returned
RTCRtpReceiver instances is not defined by the
specification, and may change from one call to
getReceivers() to the
|WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCPeerConnection.getReceivers()' in that specification.
|Candidate Recommendation||Initial specification.|
BCD tables only load in the browser