[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.]
Media to be sent is controlled by parameters. If
send() is called with invalid parameters, throw an
InvalidParameters exception. If transport is an
send(parameters) is called with
parameters.rtcp.mux set to false, throw an
InvalidParameters exception. The
send() method does not update parameters based on what is currently being sent, so that the value of parameters remains that last passed to the
send() method. The
RTCRtpSender object starts sending when
send() is called for the first time, and changes the sending parameters when
send() is called again. The
RTCRtpSender object stops sending when
stop() is called.
var retval = RTCRtpSender.send(parameters);
RTCRtpParameters control the media sent.
This method does not return a value.