Search Results for

    Show / Hide Table of Contents

    Class PeerConnection

    A peer connection.

    Inheritance
    System.Object
    Serializable
    Dynamic
    ManagedConnection
    PeerConnection
    Inherited Members
    ManagedConnection.MediaProtocol
    ManagedConnection.DefaultStatsInterval
    ManagedConnection.DefaultStatsReportInterval
    ManagedConnection.DefaultStatsEventInterval
    ManagedConnection.DefaultNoMediaServerTimeout
    ManagedConnection.RecordingEnabled
    ManagedConnection.OnRecordingEnabled
    ManagedConnection.OnRecordingDisabled
    ManagedConnection.AudioUnmuteDisabled
    ManagedConnection.VideoUnmuteDisabled
    ManagedConnection.OnAudioUnmuteDisabled
    ManagedConnection.OnVideoUnmuteDisabled
    ManagedConnection.OnAudioUnmuteEnabled
    ManagedConnection.OnVideoUnmuteEnabled
    ManagedConnection.Info
    ManagedConnection.Config
    ManagedConnection.LocalAudioMuted
    ManagedConnection.LocalVideoMuted
    ManagedConnection.RemoteAudioMuted
    ManagedConnection.RemoteVideoMuted
    ManagedConnection.LocalAudioDisabled
    ManagedConnection.LocalVideoDisabled
    ManagedConnection.LocalDataDisabled
    ManagedConnection.RemoteAudioDisabled
    ManagedConnection.RemoteVideoDisabled
    ManagedConnection.RemoteDataDisabled
    ManagedConnection.AudioDirection
    ManagedConnection.LocalAudioDirection
    ManagedConnection.VideoDirection
    ManagedConnection.LocalVideoDirection
    ManagedConnection.DataDirection
    ManagedConnection.LocalDataDirection
    ManagedConnection.RemoteAudioEncoding
    ManagedConnection.RemoteVideoEncoding
    ManagedConnection.LocalAudioFormats
    ManagedConnection.LocalVideoFormats
    ManagedConnection.RemoteAudioFormats
    ManagedConnection.RemoteVideoFormats
    ManagedConnection.OnRemoteAudioEncodingSwitch
    ManagedConnection.OnRemoteVideoEncodingSwitch
    ManagedConnection.OnRemoteUpdate
    ManagedConnection.ApplicationId
    ManagedConnection.ChannelId
    ManagedConnection.UserId
    ManagedConnection.DeviceId
    ManagedConnection.ClientId
    ManagedConnection.Id
    ManagedConnection.CanonicalName
    ManagedConnection.ExternalId
    ManagedConnection.MediaId
    ManagedConnection.UseWebSocketsForMedia
    ManagedConnection.RemoteMediaId
    ManagedConnection.RemoteConnectionId
    ManagedConnection.State
    ManagedConnection.SignallingState
    ManagedConnection.IceConnectionState
    ManagedConnection.GatheringState
    ManagedConnection.OnStateChange
    ManagedConnection.OnSignallingStateChange
    ManagedConnection.OnIceConnectionStateChange
    ManagedConnection.OnGatheringStateChange
    ManagedConnection.OnLocalDescription
    ManagedConnection.OnRemoteDescription
    ManagedConnection.OnLocalCandidate
    ManagedConnection.OnRemoteCandidate
    ManagedConnection.OnAutomaticIceServers
    ManagedConnection.OnNoMediaServersAvailable
    ManagedConnection.OnNoWebSocketMediaServersAvailable
    ManagedConnection.StatsInterval
    ManagedConnection.StatsReportInterval
    ManagedConnection.StatsEventInterval
    ManagedConnection.OnStats
    ManagedConnection.OnMediaQuality
    ManagedConnection.MediaQuality
    ManagedConnection.OnNetworkQuality
    ManagedConnection.NetworkQuality
    ManagedConnection.Error
    ManagedConnection.BundlePolicy
    ManagedConnection.IceGatherPolicy
    ManagedConnection.IceServer
    ManagedConnection.IceServers
    ManagedConnection.TrickleIcePolicy
    ManagedConnection.IcePolicy
    ManagedConnection.KeepAliveInterval
    ManagedConnection.PrivateIPAddress
    ManagedConnection.PrivateIPAddresses
    ManagedConnection.IcePortRange
    ManagedConnection.IceAddressTypes
    ManagedConnection.TcpConnectTimeout
    ManagedConnection.TurnAllocateRequestLimit
    ManagedConnection.StunBindingRequestLimit
    ManagedConnection.StunRequestTimeout
    ManagedConnection.IceRole
    ManagedConnection.DtlsServerMinVersion
    ManagedConnection.DtlsServerMaxVersion
    ManagedConnection.DtlsClientVersion
    ManagedConnection.DefaultLocalDtlsCertificate
    ManagedConnection.DefaultLocalDtlsCertificates
    ManagedConnection.LocalDtlsCertificate
    ManagedConnection.LocalDtlsCertificates
    ManagedConnection.DtlsCipherSuites
    ManagedConnection.MultiplexPolicy
    ManagedConnection.CreateDatagramSocket
    ManagedConnection.CreateStreamSocket
    ManagedConnection.DisableAutomaticIceServers
    ManagedConnection.TestRoundTripTime
    ManagedConnection.TestReceivedRtpBuffer
    ManagedConnection.TestSendingRtpBuffer
    ManagedConnection.LocalDescription
    ManagedConnection.RemoteDescription
    ManagedConnection.Type
    ManagedConnection.Tag
    ManagedConnection.LayoutZone
    ManagedConnection.LayoutPriority
    ManagedConnection.RemoteTag
    ManagedConnection.HasAudio
    ManagedConnection.HasVideo
    ManagedConnection.HasData
    ManagedConnection.AudioStream
    ManagedConnection.VideoStream
    ManagedConnection.DataStream
    ManagedConnection.RemoteClosed
    ManagedConnection.RemoteRejected
    ManagedConnection.NoMediaServerTimeout
    ManagedConnection.InternalRtcpDataChannel
    ManagedConnection.DeadStreamTimeout
    ManagedConnection.TrySendRtcpDataChannel(Message)
    ManagedConnection.GetStats()
    ManagedConnection.Update(ConnectionConfig)
    ManagedConnection.RaiseLocalCandidate(Candidate)
    ManagedConnection.RaiseRemoteCandidate(Candidate)
    ManagedConnection.Open()
    ManagedConnection.MediaIntents
    ManagedConnection.ProcessIceServers(Message)
    ManagedConnection.ProcessMediaIntentResponse(Message)
    ManagedConnection.WmsAddress
    ManagedConnection.WmsConnectionToken
    ManagedConnection.DoCreateUseWebSocketServiceMessage()
    ManagedConnection.Close()
    ManagedConnection.ProcessRtcpDataChannelSignallingActivation(Message)
    ManagedConnection.RaiseAudioBitrateRequest(AudioStream, BitrateRequest)
    ManagedConnection.RaiseVideoBitrateRequest(VideoStream, BitrateRequest)
    ManagedConnection.RaiseAudioBitrateNotification(AudioStream, BitrateNotification)
    ManagedConnection.RaiseVideoBitrateNotification(VideoStream, BitrateNotification)
    ManagedConnection.RaiseNoMediaServersAvailable(NoMediaServersAvailableEventArgs)
    ManagedConnection.RaiseNoWebSocketMediaServersAvailable(NoWebSocketMediaServersAvailableEventArgs)
    ManagedConnection.ProcessLocalError(Error)
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class PeerConnection : ManagedConnection

    Properties

    RemoteClientInfo

    Gets the remote client information.

    Declaration
    public ClientInfo RemoteClientInfo { get; }
    Property Value
    Type Description
    ClientInfo

    Role

    Gets the role.

    Declaration
    public PeerRole Role { get; }
    Property Value
    Type Description
    PeerRole

    Methods

    DetachInternalEventHandlers()

    Detaches internal event handlers.

    Declaration
    protected override void DetachInternalEventHandlers()
    Overrides
    ManagedConnection.DetachInternalEventHandlers()

    DoCreateCandidateMessage(Candidate)

    Creates a candidate message.

    Declaration
    protected override Message DoCreateCandidateMessage(Candidate candidate)
    Parameters
    Type Name Description
    Candidate candidate

    The candidate.

    Returns
    Type Description
    Message
    Overrides
    ManagedConnection.DoCreateCandidateMessage(Candidate)

    DoCreateCloseMessage()

    Creates a close message.

    Declaration
    protected override Message DoCreateCloseMessage()
    Returns
    Type Description
    Message
    Overrides
    ManagedConnection.DoCreateCloseMessage()

    DoCreateUpdateMessage(ConnectionConfig)

    Creates an update message.

    Declaration
    protected override Message DoCreateUpdateMessage(ConnectionConfig config)
    Parameters
    Type Name Description
    ConnectionConfig config

    The connection config.

    Returns
    Type Description
    Message
    Overrides
    ManagedConnection.DoCreateUpdateMessage(ConnectionConfig)

    DoOpen()

    Opens the connection.

    Declaration
    protected override void DoOpen()
    Overrides
    ManagedConnection.DoOpen()

    DoProcessMessage(Message)

    Processes a message.

    Declaration
    protected override void DoProcessMessage(Message message)
    Parameters
    Type Name Description
    Message message

    The message.

    Overrides
    ManagedConnection.DoProcessMessage(Message)

    IsMediaDirectionAllowed(String)

    Gets a value indicating whether the given media direction is allowed for this connection.

    Declaration
    protected override bool IsMediaDirectionAllowed(string direction)
    Parameters
    Type Name Description
    System.String direction

    The direction.

    Returns
    Type Description
    System.Boolean
    Overrides
    ManagedConnection.IsMediaDirectionAllowed(String)

    ProcessAnswer(Message)

    Processes an answer.

    Declaration
    protected override void ProcessAnswer(Message message)
    Parameters
    Type Name Description
    Message message

    The message.

    Overrides
    ManagedConnection.ProcessAnswer(Message)

    ProcessError(Message)

    Processes an error message.

    Declaration
    protected override void ProcessError(Message message)
    Parameters
    Type Name Description
    Message message

    The message.

    Overrides
    ManagedConnection.ProcessError(Message)

    Send(Message)

    Sends a message.

    Declaration
    protected override Future<Message> Send(Message message)
    Parameters
    Type Name Description
    Message message

    The message.

    Returns
    Type Description
    Future<Message>
    Overrides
    ManagedConnection.Send(Message)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.19.0