Base stats. More...
Public Member Functions | |
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 | |
BaseStats () | |
void | deserializeProperties (String key, String valueJson) |
Deserializes the properties. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes the properties. More... | |
Base stats.
|
protected |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented in fm.liveswitch.TransportStats, fm.liveswitch.StreamStats, fm.liveswitch.MediaTrackStats, fm.liveswitch.MediaStreamStats, fm.liveswitch.MediaStats, fm.liveswitch.MediaSourceStats, fm.liveswitch.MediaSinkStats, fm.liveswitch.MediaSenderStats, fm.liveswitch.MediaReceiverStats, fm.liveswitch.MediaComponentStats, fm.liveswitch.DataStreamStats, fm.liveswitch.DataChannelStats, fm.liveswitch.ConnectionStats, fm.liveswitch.CodecStats, fm.liveswitch.CertificateStats, fm.liveswitch.CandidateStats, and fm.liveswitch.CandidatePairStats.
String fm.liveswitch.BaseStats.getId | ( | ) |
Gets the identifier of the object generating these stats.
java.util.Date fm.liveswitch.BaseStats.getTimestamp | ( | ) |
Gets the timestamp when these stats were generated.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented in fm.liveswitch.TransportStats, fm.liveswitch.StreamStats, fm.liveswitch.MediaTrackStats, fm.liveswitch.MediaStreamStats, fm.liveswitch.MediaStats, fm.liveswitch.MediaSourceStats, fm.liveswitch.MediaSinkStats, fm.liveswitch.MediaSenderStats, fm.liveswitch.MediaReceiverStats, fm.liveswitch.MediaComponentStats, fm.liveswitch.DataStreamStats, fm.liveswitch.DataChannelStats, fm.liveswitch.ConnectionStats, fm.liveswitch.CodecStats, fm.liveswitch.CertificateStats, fm.liveswitch.CandidateStats, and fm.liveswitch.CandidatePairStats.