docs.unity.cn
    Show / Hide Table of Contents

    Interface IDataChannel

    Namespace: Unity.RenderStreaming
    Syntax
    public interface IDataChannel

    Properties

    Channel

    Declaration
    RTCDataChannel Channel { get; }
    Property Value
    Type Description
    RTCDataChannel

    IsConnected

    Declaration
    bool IsConnected { get; }
    Property Value
    Type Description
    Boolean

    IsLocal

    Declaration
    bool IsLocal { get; }
    Property Value
    Type Description
    Boolean

    Label

    Declaration
    string Label { get; }
    Property Value
    Type Description
    String

    Methods

    SetChannel(String, RTCDataChannel)

    Declaration
    void SetChannel(string connectionId, RTCDataChannel channel)
    Parameters
    Type Name Description
    String connectionId
    RTCDataChannel channel

    SetChannel(SignalingEventData)

    Declaration
    void SetChannel(SignalingEventData data)
    Parameters
    Type Name Description
    SignalingEventData data
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, February 24, 2023
    Terms of use