docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum RTCPeerConnectionState

    Represents the state of a peer connection.

    Namespace: Unity.WebRTC
    Assembly: Unity.WebRTC.dll
    Syntax
    public enum RTCPeerConnectionState

    Fields

    Name Description
    Closed

    The peer connection has been closed.

    Connected

    The peer connection has been established.

    Connecting

    The peer connection is in the process of connecting.

    Disconnected

    The peer connection has been disconnected.

    Failed

    The peer connection has failed.

    New

    The initial state of the peer connection.

    See Also
    ConnectionState
    In This Article
    Back to top
    Copyright © 2025 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)