Interface RTCRtpSender

Provides the ability to control and obtain details about how a particular MediaStreamTrack is encoded and sent to a remote peer.

MDN Reference

interface RTCRtpSender {
    dtmf: RTCDTMFSender;
    track: MediaStreamTrack;
    transport: RTCDtlsTransport;
    getParameters(): RTCRtpSendParameters;
    getStats(): Promise<RTCStatsReport>;
    replaceTrack(withTrack): Promise<void>;
    setParameters(parameters): Promise<void>;
    setStreams(...streams): void;
}

Properties

transport: RTCDtlsTransport

Methods

  • Parameters

    Returns void