Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]
Set the transport (either RTCDtlsTransport or RTCSrtpSdesTransport). Only RTP/RTCP multiplexing is supported if transport is an RTCDtlsTransport. If setTransport() is called when transport.state or rtcpTransport.state is "closed", throw an InvalidStateError exception.
Syntax
var retval = RTCRtpSender.setTransport(transport);
Parameters
transport
Type: RTCTransportSets the transport.
Return value
This method does not return a value.