Media receiver stats. More...
Instance Methods | |
| (long long) | - bytesReceived |
| Gets the number of bytes received. More... | |
| (void) | - deserializePropertiesWithKey:valueJson: |
| Deserializes the properties. More... | |
| (double) | - getMediaQualityWithAudio: |
| Gets the receiver's estimated media quality. More... | |
| (instancetype) | - init |
| (bool) | - isEquivalentWithInstance: |
| Checks if a media receiver is equivalent to this one. More... | |
| (int) | - jitter |
| Gets the jitter in milliseconds. More... | |
| (double) | - networkQuality |
| Gets the receiver's estimated network quality. More... | |
| (double) | - networkScore |
| Gets the receiver's estimated network score. More... | |
| (long long) | - packetsDiscarded |
| Gets the number of packets discarded. More... | |
| (long long) | - packetsDuplicated |
| Gets the number of packets duplicated. More... | |
| (long long) | - packetsLost |
| Gets the number of packets lost. More... | |
| (long long) | - packetsReceived |
| Gets the number of packets received. More... | |
| (long long) | - packetsRepaired |
| Gets the number of packets repaired. More... | |
| (int) | - roundTripTime |
| Gets the round trip time in milliseconds. More... | |
| (void) | - serializePropertiesWithJsonObject: |
| Serializes the properties. More... | |
| (FMLiveSwitchMediaSinkStats *) | - sink |
| Gets the sink stats. More... | |
| (NSString *) | - toJson |
| Serializes this to JSON. More... | |
Instance Methods inherited from FMLiveSwitchMediaComponentStats | |
| (FMLiveSwitchCodecStats *) | - codec |
| Gets the codec stats. More... | |
| (long long) | - firCount |
| Gets the FIR count. More... | |
| (long long) | - lrrCount |
| Gets the LRR count. More... | |
| (long long) | - nackCount |
| Gets the NACK count. More... | |
| (long long) | - pliCount |
| Gets the PLI count. More... | |
| (NSString *) | - repairedRtpStreamId |
| Gets the repaired RTP stream identifier. More... | |
| (NSString *) | - rtpStreamId |
| Gets the RTP stream identifier. More... | |
| (void) | - setCodec: |
| Sets the codec stats. More... | |
| (void) | - setFirCount: |
| Sets the FIR count. More... | |
| (void) | - setLrrCount: |
| Sets the LRR count. More... | |
| (void) | - setNackCount: |
| Sets the NACK count. More... | |
| (void) | - setPliCount: |
| Sets the PLI count. More... | |
| (void) | - setRepairedRtpStreamId: |
| Sets the repaired RTP stream identifier. More... | |
| (void) | - setRtpStreamId: |
| Sets the RTP stream identifier. More... | |
| (void) | - setSliCount: |
| Sets the SLI count. More... | |
| (void) | - setSynchronizationSource: |
| Sets the synchronization source. More... | |
| (void) | - setTrack: |
| Sets the track's stats. More... | |
| (long long) | - sliCount |
| Gets the SLI count. More... | |
| (long long) | - synchronizationSource |
| Gets the synchronization source. More... | |
| (FMLiveSwitchMediaTrackStats *) | - track |
| Gets the track's 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... | |
Instance Methods inherited from <FMLiveSwitchIEquivalent> | |
| (bool) | - isEquivalentWithInstance: |
| Checks if an instance is equivalent to this one. More... | |
Class Methods | |
| (NSMutableArray *) | + fromJsonArrayWithMediaReceiversJson: |
| Derializes media receiver stats array from JSON. More... | |
| (FMLiveSwitchMediaReceiverStats *) | + fromJsonWithMediaReceiverJson: |
| Derializes media receiver stats from JSON. More... | |
| (FMLiveSwitchMediaReceiverStats *) | + mediaReceiverStats |
| (NSString *) | + toJsonArrayWithMediaReceivers: |
| Serializes media receiver stats array to JSON. More... | |
| (NSString *) | + toJsonWithMediaReceiver: |
| Serializes media receiver stats to JSON. More... | |
Class Methods inherited from FMLiveSwitchMediaComponentStats | |
| (FMLiveSwitchMediaComponentStats *) | + mediaComponentStats |
Class Methods inherited from FMLiveSwitchBaseStats | |
| (FMLiveSwitchBaseStats *) | + baseStats |
Media receiver stats.
| - (long long) bytesReceived |
Gets the number of bytes received.
Deserializes the properties.
| key | The key. |
| valueJson | The value in JSON format. |
Implements FMLiveSwitchMediaComponentStats.
| + (NSMutableArray*) fromJsonArrayWithMediaReceiversJson: | (NSString *) | mediaReceiversJson |
Derializes media receiver stats array from JSON.
| mediaReceiversJson | The media receivers' stats JSON. |
| + (FMLiveSwitchMediaReceiverStats*) fromJsonWithMediaReceiverJson: | (NSString *) | mediaReceiverJson |
Derializes media receiver stats from JSON.
| mediaReceiverJson | The media receiver's stats JSON. |
| - (double) getMediaQualityWithAudio: | (bool) | audio |
Gets the receiver's estimated media quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
| audio | Whether these are audio stats. |
Implements FMLiveSwitchMediaComponentStats.
| - (instancetype) init |
Implements FMLiveSwitchMediaComponentStats.
| - (bool) isEquivalentWithInstance: | (FMLiveSwitchMediaReceiverStats *) | instance |
Checks if a media receiver is equivalent to this one.
| instance | The media receiver. |
| - (int) jitter |
Gets the jitter in milliseconds.
| + (FMLiveSwitchMediaReceiverStats*) mediaReceiverStats |
| - (double) networkQuality |
Gets the receiver's estimated network quality.
The value ranges from 0.0 to 1.0, where 0.0 is the lowest quality and 1.0 is the highest quality.
| - (double) networkScore |
Gets the receiver's estimated network score.
The value ranges from 1.0 to 5.0, where 1.0 is the lowest score and 5.0 is the highest score.
| - (long long) packetsDiscarded |
Gets the number of packets discarded.
| - (long long) packetsDuplicated |
Gets the number of packets duplicated.
| - (long long) packetsLost |
Gets the number of packets lost.
| - (long long) packetsReceived |
Gets the number of packets received.
| - (long long) packetsRepaired |
Gets the number of packets repaired.
| - (int) roundTripTime |
Gets the round trip time in milliseconds.
| - (void) serializePropertiesWithJsonObject: | (NSMutableDictionary< NSString *, NSString * > *) | jsonObject |
Serializes the properties.
| jsonObject | The JSON object. |
Implements FMLiveSwitchMediaComponentStats.
| - (FMLiveSwitchMediaSinkStats*) sink |
Gets the sink stats.
| - (NSString*) toJson |
Serializes this to JSON.
| + (NSString*) toJsonArrayWithMediaReceivers: | (NSMutableArray *) | mediaReceivers |
Serializes media receiver stats array to JSON.
| mediaReceivers | The media receivers' stats. |
| + (NSString*) toJsonWithMediaReceiver: | (FMLiveSwitchMediaReceiverStats *) | mediaReceiver |
Serializes media receiver stats to JSON.
| mediaReceiver | The media receiver's stats. |