Class RTCRtpTransceiver | WebRTC | 2.0.5-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class RTCRtpTransceiver

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

    Properties

    CurrentDirection

    Declaration
    public RTCRtpTransceiverDirection CurrentDirection { get; }
    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 void SetCodecPreferences(RTCRtpCodecCapability[] capabilities)
    Parameters
    Type Name Description
    RTCRtpCodecCapability[] capabilities

    SetDirection(RTCRtpTransceiverDirection)

    Declaration
    public void SetDirection(RTCRtpTransceiverDirection direction)
    Parameters
    Type Name Description
    RTCRtpTransceiverDirection direction

    Stop()

    Declaration
    public void Stop()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX