The peer connection sender interface.

interface IPeerConnectionSender {
    replaceTrack(track: MediaStreamTrack): Promise<void>;
}

Methods

Methods

  • Replaces the current track with a new track.

    Parameters

    Returns Promise<void>