Class StreamStats
Stream stats.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public abstract class StreamStats : BaseStats
Properties
IsHost
Gets whether the transport's active candidate pair has a host candidate.
Declaration
public bool IsHost { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsReflexive
Gets whether the transport's active candidate pair has a reflexive candidate.
Declaration
public bool IsReflexive { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRelayed
Gets whether the transport's active candidate pair has a relayed candidate.
Declaration
public bool IsRelayed { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Transport
Gets the transport's stats.
Declaration
public TransportStats Transport { get; }
Property Value
Type | Description |
---|---|
TransportStats |
Type
Gets the type.
Declaration
public StreamType Type { get; }
Property Value
Type | Description |
---|---|
StreamType |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
Overrides
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | jsonObject | The JSON object. |