Skip to content

Latest commit

 

History

History
28 lines (16 loc) · 773 Bytes

sip.js.sessiondescriptionhandler.setremotetrack.md

File metadata and controls

28 lines (16 loc) · 773 Bytes

Home > sip.js > SessionDescriptionHandler > setRemoteTrack

SessionDescriptionHandler.setRemoteTrack() method

Sets a remote media stream track.

Signature:

protected setRemoteTrack(track: MediaStreamTrack): void;

Parameters

Parameter Type Description
track MediaStreamTrack Media stream track to be utilized.

Returns:

void

Remarks

Adds tracks if audio and/or video tracks are not already present, otherwise replaces tracks.