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

    Class RTCRtpTransceiver

    Inheritance
    Object
    RefCountedObject
    RTCRtpTransceiver
    Inherited Members
    RefCountedObject.disposed
    Namespace: Unity.WebRTC
    Syntax
    public class RTCRtpTransceiver : RefCountedObject, IDisposable

    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

    Mid

    Declaration
    public string Mid { get; }
    Property Value
    Type Description
    String

    Receiver

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

    Sender

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

    Methods

    Dispose()

    Declaration
    public override void Dispose()
    Overrides
    RefCountedObject.Dispose()

    Finalize()

    Declaration
    protected void Finalize()

    SetCodecPreferences(RTCRtpCodecCapability[])

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

    Stop()

    Declaration
    public RTCErrorType Stop()
    Returns
    Type Description
    RTCErrorType
    トップに戻る
    Copyright © 2023 Unity Technologies
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on Wednesday, November 1, 2023