docs.unity3d.com
    目次を表示する/隠す

    Class RTCRtpTransceiver

    Inheritance
    Object
    RTCRtpTransceiver
    Namespace: Unity.WebRTC
    Syntax
    public class RTCRtpTransceiver

    Properties

    CurrentDirection

    This property indicates the transceiver's current directionality, or null if the transceiver is stopped or has never participated in an exchange of offers and answers. To change the transceiver's directionality, set the value of the Direction property.

    Declaration
    public RTCRtpTransceiverDirection? CurrentDirection { get; }
    Property Value
    Type Description
    Nullable<RTCRtpTransceiverDirection>

    Direction

    This is used to set the transceiver's desired direction and will be used in calls to CreateOffer and CreateAnswer.

    Declaration
    public RTCRtpTransceiverDirection Direction { get; set; }
    Property Value
    Type Description
    RTCRtpTransceiverDirection

    Receiver

    Declaration
    public RTCRtpReceiver Receiver { get; }
    Property Value
    Type Description
    RTCRtpReceiver

    Sender

    Declaration
    public RTCRtpSender Sender { get; }
    Property Value
    Type Description
    RTCRtpSender

    Methods

    SetCodecPreferences(RTCRtpCodecCapability[])

    Declaration
    public RTCErrorType SetCodecPreferences(RTCRtpCodecCapability[] codecs)
    Parameters
    Type Name Description
    RTCRtpCodecCapability[] codecs
    Returns
    Type Description
    RTCErrorType

    Stop()

    Declaration
    public void Stop()
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)