docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface IDataChannel

    Namespace: Unity.RenderStreaming
    Assembly: Unity.RenderStreaming.dll
    Syntax
    public interface IDataChannel

    Properties

    Channel

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

    ConnectionId

    Declaration
    string ConnectionId { get; }
    Property Value
    Type Description
    string

    IsConnected

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

    IsLocal

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

    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
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)