Share via


setTrack method

[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 track. If track.kind is changed, or if the new track has different peerIdentity constraints, throw an InvalidParameter Exception.

Syntax

var retval = RTCRtpSender.setTrack(track);

Parameters

Return value

This method does not return a value.

Standards information

See also

RTCRtpSender