interface RTCRtpTransceiver {
    currentDirection: null | RTCRtpTransceiverDirection;
    direction: RTCRtpTransceiverDirection;
    mid: null | string;
    receiver: RTCRtpReceiver;
    sender: RTCRtpSender;
    setCodecPreferences(codecs: RTCRtpCodecCapability[]): void;
    stop(): void;
}

属性

currentDirection: null | RTCRtpTransceiverDirection
mid: null | string
receiver: RTCRtpReceiver
sender: RTCRtpSender

方法

  • 返回 void