Class StreamStats
Stream stats.
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. |
IsReflexive
Gets whether the transport's active candidate pair has a reflexive candidate.
Declaration
public bool IsReflexive { get; }
Property Value
Type | Description |
---|---|
System. |
IsRelayed
Gets whether the transport's active candidate pair has a relayed candidate.
Declaration
public bool IsRelayed { get; }
Property Value
Type | Description |
---|---|
System. |
Transport
Gets the transport's stats.
Declaration
public TransportStats Transport { get; }
Property Value
Type | Description |
---|---|
Transport |
Type
Gets the type.
Declaration
public StreamType Type { get; }
Property Value
Type | Description |
---|---|
Stream |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System. |
key | The key. |
System. |
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 |
---|---|---|
Dictionary<System. |
jsonObject | The JSON object. |