Media stats. More...
Instance Methods | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(FMLiveSwitchMediaTrackStats *) | - getTrackWithTrackId: |
Gets a track by its identifier. More... | |
(instancetype) | - init |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(NSString *) | - toJson |
Serializes this to JSON. More... | |
(FMLiveSwitchMediaTrackStats *) | - track |
Gets the first track's stats. More... | |
(NSMutableArray *) | - tracks |
Gets the tracks' stats. More... | |
Instance Methods inherited from FMLiveSwitchBaseStats | |
(NSString *) | - id |
Gets the identifier of the object generating these stats. More... | |
(NSDate *) | - timestamp |
Gets the timestamp when these stats were generated. More... | |
Class Methods | |
(FMLiveSwitchMediaStats *) | + fromJsonWithMediaJson: |
Derializes media stats from JSON. More... | |
(FMLiveSwitchMediaStats *) | + mediaStats |
(NSString *) | + toJsonWithMedia: |
Serializes media stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchBaseStats | |
(FMLiveSwitchBaseStats *) | + baseStats |
Media stats.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchBaseStats.
+ (FMLiveSwitchMediaStats*) fromJsonWithMediaJson: | (NSString *) | mediaJson |
Derializes media stats from JSON.
mediaJson | The media's stats JSON. |
- (FMLiveSwitchMediaTrackStats*) getTrackWithTrackId: | (NSString *) | trackId |
Gets a track by its identifier.
trackId | The track identifier. |
- (instancetype) init |
Implements FMLiveSwitchBaseStats.
+ (FMLiveSwitchMediaStats*) mediaStats |
- (NSString*) toJson |
Serializes this to JSON.
+ (NSString*) toJsonWithMedia: | (FMLiveSwitchMediaStats *) | media |
Serializes media stats to JSON.
media | The media's stats. |
- (FMLiveSwitchMediaTrackStats*) track |
Gets the first track's stats.
- (NSMutableArray*) tracks |
Gets the tracks' stats.