Search
Preparing search index...
The search index is not available
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
fm
icelink
StreamStats
Class StreamStats
Stream stats.
Hierarchy
BaseStats
StreamStats
Index
Constructors
constructor
Properties
_transport
_type
Methods
deserialize
Properties
get
Id
get
IsHost
get
IsReflexive
get
IsRelayed
get
Timestamp
get
Transport
get
Type
get
Type
String
serialize
Properties
set
Id
set
Timestamp
set
Transport
set
Type
type
From
String
type
ToString
Constructors
constructor
new
Stream
Stats
(
)
:
StreamStats
Returns
StreamStats
Properties
Private
_transport
_transport
:
TransportStats
internal
Private
_type
_type
:
StreamType
internal
Methods
Protected
deserialize
Properties
deserialize
Properties
(
key
:
string
, valueJson
:
string
)
:
void
Deserializes the properties.
Parameters
key:
string
The key.
valueJson:
string
The value in JSON format.
Returns
void
get
Id
get
Id
(
)
:
string
Gets the identifier of the object generating these stats.
Returns
string
get
IsHost
get
IsHost
(
)
:
boolean
Gets whether the transport's active candidate pair has a host candidate.
Returns
boolean
get
IsReflexive
get
IsReflexive
(
)
:
boolean
Gets whether the transport's active candidate pair has a reflexive candidate.
Returns
boolean
get
IsRelayed
get
IsRelayed
(
)
:
boolean
Gets whether the transport's active candidate pair has a relayed candidate.
Returns
boolean
get
Timestamp
get
Timestamp
(
)
:
DateTime
Gets the timestamp when these stats were generated.
Returns
DateTime
get
Transport
get
Transport
(
)
:
TransportStats
Gets the transport's stats.
Returns
TransportStats
get
Type
get
Type
(
)
:
StreamType
Gets the type.
Returns
StreamType
get
Type
String
get
Type
String
(
)
:
string
Returns
string
Protected
serialize
Properties
serialize
Properties
(
jsonObject
:
Hash
<
string
,
string
>
)
:
void
Serializes the properties.
Parameters
jsonObject:
Hash
<
string
,
string
>
The JSON object.
Returns
void
set
Id
set
Id
(
value
:
string
)
:
void
internal
Parameters
value:
string
Returns
void
set
Timestamp
set
Timestamp
(
value
:
DateTime
)
:
void
internal
Parameters
value:
DateTime
Returns
void
set
Transport
set
Transport
(
value
:
TransportStats
)
:
void
internal
Parameters
value:
TransportStats
Returns
void
set
Type
set
Type
(
value
:
StreamType
)
:
void
internal
Parameters
value:
StreamType
Returns
void
Private
type
From
String
type
From
String
(
typeString
:
string
)
:
StreamType
internal
Parameters
typeString:
string
Returns
StreamType
Private
type
ToString
type
ToString
(
type
:
StreamType
)
:
string
internal
Parameters
type:
StreamType
Returns
string
Stream
Stats
constructor
_transport
_type
deserialize
Properties
get
Id
get
IsHost
get
IsReflexive
get
IsRelayed
get
Timestamp
get
Transport
get
Type
get
Type
String
serialize
Properties
set
Id
set
Timestamp
set
Transport
set
Type
type
From
String
type
ToString