Search Results for

    Show / Hide Table of Contents

    Class Stream

    A peer-to-peer stream.

    Inheritance
    System.Object
    Serializable
    Dynamic
    StreamBase
    Stream
    DataStreamBase<TDataChannel>
    MediaStreamBase
    Implements
    IStream
    Inherited Members
    StreamBase.Id
    StreamBase.ExternalId
    StreamBase.MediaDescriptionId
    StreamBase.ConnectionId
    StreamBase.Type
    StreamBase.Tag
    StreamBase.OnDirectionChange
    StreamBase.LocalSend
    StreamBase.LocalReceive
    StreamBase.RemoteSend
    StreamBase.RemoteReceive
    StreamBase.Direction
    StreamBase.LocalDirection
    StreamBase.RemoteDirection
    StreamBase.ChangeDirection(StreamDirection)
    StreamBase.Label
    StreamBase.TransportInfo
    StreamBase.OnStateChange
    StreamBase.ProcessStateLockChange()
    StreamBase.IsTerminating
    StreamBase.IsTerminated
    StreamBase.IsTerminatingOrTerminated
    StreamBase.State
    StreamBase.ConnectedTimestamp
    StreamBase.ProcessStateChange()
    StreamBase.ProcessUpdateToMediaStreamIdentification(String)
    StreamBase.ToString()
    Dynamic.DynamicProperties
    Dynamic.GetDynamicValue(String)
    Dynamic.SetDynamicValue(String, Object)
    Dynamic.UnsetDynamicValue(String)
    Serializable.IsDirty
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public abstract class Stream : StreamBase, IStream

    Constructors

    Stream(StreamType)

    Initializes a new instance of the Stream class.

    Declaration
    public Stream(StreamType type)
    Parameters
    Type Name Description
    StreamType type

    The type.

    Properties

    Deactivated

    Gets or sets a value indicating whether this stream is deactivated. A stream is deactivated if its direction is unset or inactive.

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

    Disabled

    Gets or sets a value indicating whether this stream is disabled. A stream is disabled if session negotiation failed or if the underlying transport could not be started.

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

    EncryptionMode

    Gets or sets the encryption mode.

    Declaration
    public EncryptionMode EncryptionMode { get; set; }
    Property Value
    Type Description
    EncryptionMode

    EncryptionModes

    Gets or sets the encryption modes.

    Declaration
    public EncryptionMode[] EncryptionModes { get; set; }
    Property Value
    Type Description
    EncryptionMode[]

    EncryptionPolicy

    Gets or sets a value indicating Encryption Policy

    Declaration
    public EncryptionPolicy EncryptionPolicy { get; set; }
    Property Value
    Type Description
    EncryptionPolicy

    Index

    Gets the index.

    Declaration
    public int Index { get; }
    Property Value
    Type Description
    System.Int32

    LocalIceParameters

    Gets or sets the local ICE parameters.

    Declaration
    public IceParameters LocalIceParameters { get; }
    Property Value
    Type Description
    IceParameters

    RemoteIceParameters

    Gets the remote ICE parameters.

    Declaration
    public IceParameters RemoteIceParameters { get; }
    Property Value
    Type Description
    IceParameters

    SdesPolicy

    Gets or sets Sdes policy for stream.

    Declaration
    public SdesPolicy SdesPolicy { get; set; }
    Property Value
    Type Description
    SdesPolicy

    UseDtls

    Gets or sets a value indicating whether DTLS encryption is in use for this stream.

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

    UseSdes

    Gets or sets a value indicating whether SDES encryption is in use for this stream.

    Declaration
    public virtual bool UseSdes { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    ProcessBundledStateChanged(Boolean)

    Processes bundled state change of this stream.

    Declaration
    protected virtual void ProcessBundledStateChanged(bool bundled)
    Parameters
    Type Name Description
    System.Boolean bundled

    ProcessCachedSettings()

    Evaluate cached settings and set them

    Declaration
    protected virtual void ProcessCachedSettings()

    RaiseDisabledChange()

    Raises the OnDisabledChange event.

    Declaration
    protected void RaiseDisabledChange()

    Events

    OnDisabledChange

    Raised when the Disabled property changes state.

    Declaration
    public event Action0 OnDisabledChange
    Event Type
    Type Description
    Action0

    Implements

    IStream
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.14.6