Class WebRTCSignalingClient

    Definition

    Namespace:
    Tizen.Multimedia.Remoting
    Assembly:
    Tizen.Multimedia.Remoting.dll

    Provides the ability to control WebRTCSignalingClient.

    public class WebRTCSignalingClient : IDisposable
    Inheritance
    object
    WebRTCSignalingClient

    Constructors

    View Source

    WebRTCSignalingClient(string, int)

    Initializes a new instance of the WebRTCSignalingClient class.

    Declaration
    public WebRTCSignalingClient(string serverIp, int port)
    Parameters
    Type Name Description
    string serverIp

    The server IP.

    int port

    The server port.

    See Also
    Connect()

    Methods

    View Source

    Connect()

    Connect to signaling server and return client id.

    Declaration
    public Task<int> Connect()
    Returns
    Type Description
    Task<><int>

    The signaling client ID.

    View Source

    Dispose()

    Releases all resources used by the current instance.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Releases the unmanaged resources used by the WebRTCSignalingClient.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    View Source

    RequestSession(int)

    Requests session with peer ID.

    Declaration
    public void RequestSession(int peerId)
    Parameters
    Type Name Description
    int peerId

    The ID of remote peer.

    View Source

    SendMessage(string)

    Sends the signaling message to remote peer.

    Declaration
    public void SendMessage(string message)
    Parameters
    Type Name Description
    string message

    Events

    View Source

    SignalingMessage

    Occurs when a message to be handled is sent from the remote peer or the signaling server.

    Declaration
    public event EventHandler<WebRTCSignalingEventArgs> SignalingMessage
    Event Type
    Type Description
    EventHandler<><WebRTCSignalingEventArgs>

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX