addTransceiver method
The addTransceiver()
method of the RTCPeerConnection interface
creates a new RTCRtpTransceiver and adds it to the set of transceivers
associated with the RTCPeerConnection
.
Each transceiver represents a bidirectional stream, with both an
RTCRtpSender and an RTCRtpReceiver associated with it.
Implementation
external RTCRtpTransceiver addTransceiver(
JSAny trackOrKind, [
RTCRtpTransceiverInit init,
]);