Search Results for

    Show / Hide Table of Contents

    Class PeerConnectionOffer

    A peer connection offer.

    Inheritance
    System.Object
    PeerConnectionOffer
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class PeerConnectionOffer : object

    Properties

    Channel

    Gets the channel.

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

    ConnectionTag

    Gets the connection tag.

    Declaration
    public string ConnectionTag { get; }
    Property Value
    Type Description
    System.String

    HasAudio

    Gets a value indicating whether the offer includes an audio description.

    Declaration
    public bool HasAudio { get; }
    Property Value
    Type Description
    System.Boolean

    HasData

    Gets a value indicating whether the offer includes a data description.

    Declaration
    public bool HasData { get; }
    Property Value
    Type Description
    System.Boolean

    HasVideo

    Gets a value indicating whether the offer includes a video description.

    Declaration
    public bool HasVideo { get; }
    Property Value
    Type Description
    System.Boolean

    Offer

    Gets the offer.

    Declaration
    public SessionDescription Offer { get; }
    Property Value
    Type Description
    SessionDescription

    RemoteClientInfo

    Gets the remote client information.

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

    RemoteClosed

    Gets a value indicating whether the connection was closed by the remote host.

    Declaration
    public bool RemoteClosed { get; }
    Property Value
    Type Description
    System.Boolean

    RemoteConnectionId

    Gets the remote connection identifier.

    Declaration
    public string RemoteConnectionId { get; }
    Property Value
    Type Description
    System.String

    RemoteFailed

    Gets a value indicating whether the connection was failed by the remote host.

    Declaration
    public bool RemoteFailed { get; }
    Property Value
    Type Description
    System.Boolean

    Methods

    Accept(AudioStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(AudioStream audioStream)
    Parameters
    Type Name Description
    AudioStream audioStream

    The audio stream.

    Returns
    Type Description
    PeerConnection

    Accept(AudioStream, DataStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(AudioStream audioStream, DataStream dataStream)
    Parameters
    Type Name Description
    AudioStream audioStream

    The audio stream.

    DataStream dataStream

    The data stream.

    Returns
    Type Description
    PeerConnection

    Accept(AudioStream, VideoStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(AudioStream audioStream, VideoStream videoStream)
    Parameters
    Type Name Description
    AudioStream audioStream

    The audio stream.

    VideoStream videoStream

    The video stream.

    Returns
    Type Description
    PeerConnection

    Accept(AudioStream, VideoStream, DataStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(AudioStream audioStream, VideoStream videoStream, DataStream dataStream)
    Parameters
    Type Name Description
    AudioStream audioStream

    The audio stream.

    VideoStream videoStream

    The video stream.

    DataStream dataStream

    The data stream.

    Returns
    Type Description
    PeerConnection

    Accept(DataStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(DataStream dataStream)
    Parameters
    Type Name Description
    DataStream dataStream

    The data stream.

    Returns
    Type Description
    PeerConnection

    Accept(VideoStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(VideoStream videoStream)
    Parameters
    Type Name Description
    VideoStream videoStream

    The video stream.

    Returns
    Type Description
    PeerConnection

    Accept(VideoStream, DataStream)

    Accepts the offer.

    Declaration
    public PeerConnection Accept(VideoStream videoStream, DataStream dataStream)
    Parameters
    Type Name Description
    VideoStream videoStream

    The video stream.

    DataStream dataStream

    The data stream.

    Returns
    Type Description
    PeerConnection

    Reject()

    Rejects this instance.

    Declaration
    public Future<object> Reject()
    Returns
    Type Description
    Future<System.Object>

    Events

    OnCancel

    Raised when the offer is withdrawn.

    Declaration
    public event Action0 OnCancel
    Event Type
    Type Description
    Action0
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0