fm.liveswitch.StreamStats Class Referenceabstract

Stream stats. More...

Public Member Functions

boolean getIsHost ()
 Gets whether the transport's active candidate pair has a host candidate. More...
 
boolean getIsReflexive ()
 Gets whether the transport's active candidate pair has a reflexive candidate. More...
 
boolean getIsRelayed ()
 Gets whether the transport's active candidate pair has a relayed candidate. More...
 
fm.liveswitch.TransportStats getTransport ()
 Gets the transport's stats. More...
 
fm.liveswitch.StreamType getType ()
 Gets the type. More...
 
- Public Member Functions inherited from fm.liveswitch.BaseStats
String getId ()
 Gets the identifier of the object generating these stats. More...
 
java.util.Date getTimestamp ()
 Gets the timestamp when these stats were generated. More...
 

Protected Member Functions

void deserializeProperties (String key, String valueJson)
 Deserializes the properties. More...
 
void serializeProperties (java.util.HashMap< String, String > jsonObject)
 Serializes the properties. More...
 
 StreamStats ()
 
- Protected Member Functions inherited from fm.liveswitch.BaseStats
 BaseStats ()
 

Detailed Description

Stream stats.

Constructor & Destructor Documentation

◆ StreamStats()

fm.liveswitch.StreamStats.StreamStats ( )
protected

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.StreamStats.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.BaseStats.

Reimplemented in fm.liveswitch.MediaStreamStats, and fm.liveswitch.DataStreamStats.

◆ getIsHost()

boolean fm.liveswitch.StreamStats.getIsHost ( )

Gets whether the transport's active candidate pair has a host candidate.

◆ getIsReflexive()

boolean fm.liveswitch.StreamStats.getIsReflexive ( )

Gets whether the transport's active candidate pair has a reflexive candidate.

◆ getIsRelayed()

boolean fm.liveswitch.StreamStats.getIsRelayed ( )

Gets whether the transport's active candidate pair has a relayed candidate.

◆ getTransport()

fm.liveswitch.TransportStats fm.liveswitch.StreamStats.getTransport ( )

Gets the transport's stats.

◆ getType()

fm.liveswitch.StreamType fm.liveswitch.StreamStats.getType ( )

Gets the type.

◆ serializeProperties()

void fm.liveswitch.StreamStats.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.BaseStats.

Reimplemented in fm.liveswitch.MediaStreamStats, and fm.liveswitch.DataStreamStats.