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;
        transform: RTCRtpScriptTransform;
        transport: RTCDtlsTransport;
        getParameters(): RTCRtpSendParameters;
        getStats(): Promise<RTCStatsReport>;
        replaceTrack(withTrack: MediaStreamTrack): Promise<void>;
        setParameters(parameters: RTCRtpSendParameters, setParameterOptions?: RTCSetParameterOptions): Promise<void>;
        setStreams(...streams: MediaStream[]): void;
    }

    Properties

    transport: RTCDtlsTransport

    Methods