Home > sip.js > SessionDescriptionHandler > setRemoteTrack
Sets a remote media stream track.
Signature:
protected setRemoteTrack(track: MediaStreamTrack): void;
Parameter | Type | Description |
---|---|---|
track | MediaStreamTrack |
Media stream track to be utilized. |
Returns:
void
Adds tracks if audio and/or video tracks are not already present, otherwise replaces tracks.