FMLiveSwitchMediaSenderReport Class Reference

Media sender report. More...

Instance Methods

(FMLiveSwitchNullableLong *) - bytesSent
 Gets the number of bytes sent. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaSenderReport class. More...
 
(FMLiveSwitchNullableLong *) - packetsSent
 Gets the number of packets sent. More...
 
(FMLiveSwitchNullableInt *) - roundTripTime
 Gets the round-trip-time in milliseconds. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setBytesSent:
 Sets the number of bytes sent. More...
 
(void) - setPacketsSent:
 Sets the number of packets sent. More...
 
(void) - setRoundTripTime:
 Sets the round-trip-time in milliseconds. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 
- Instance Methods inherited from FMLiveSwitchMediaComponentReport
(FMLiveSwitchNullableLong *) - firCount
 Gets the number of full intra refresh (FIR) messages sent. More...
 
(FMLiveSwitchNullableLong *) - lrrCount
 Gets the number of layer refresh request (LRR) messages sent. More...
 
(FMLiveSwitchNullableLong *) - nackCount
 Gets the number of negative-acknowledgement (NACK) messages sent. More...
 
(FMLiveSwitchNullableLong *) - pliCount
 Gets the number of picture loss indication (PLI) messages sent. More...
 
(void) - setFirCount:
 Sets the number of full intra refresh (FIR) messages sent. More...
 
(void) - setLrrCount:
 Sets the number of layer refresh request (LRR) messages sent. More...
 
(void) - setNackCount:
 Sets the number of negative-acknowledgement (NACK) messages sent. More...
 
(void) - setPliCount:
 Sets the number of picture loss indication (PLI) messages sent. More...
 
(void) - setSliCount:
 Sets the number of slice loss indication (SLI) messages sent. More...
 
(FMLiveSwitchNullableLong *) - sliCount
 Gets the number of slice loss indication (SLI) messages sent. More...
 

Class Methods

(NSMutableArray *) + fromJsonArrayWithMediaSenderReportsJson:
 Deserializes an array from JSON. More...
 
(FMLiveSwitchMediaSenderReport *) + fromJsonWithMediaSenderReportJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaSenderReport *) + mediaSenderReport
 Initializes a new instance of the FMLiveSwitchMediaSenderReport class. More...
 
(NSString *) + toJsonArrayWithMediaSenderReports:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithMediaSenderReport:
 Serializes an instance to JSON. More...
 
- Class Methods inherited from FMLiveSwitchMediaComponentReport
(FMLiveSwitchMediaComponentReport *) + mediaComponentReport
 Initializes a new instance of the FMLiveSwitchMediaComponentReport class. More...
 
- Class Methods inherited from FMLiveSwitchReport
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for a report. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for a report. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for a report. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for a report. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for a report. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for a report. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for a report. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for a report. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for a report. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for a report. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an array for a report. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for a report. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for a report. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for a report. More...
 
(FMLiveSwitchReport *) + report
 

Detailed Description

Media sender report.

Method Documentation

◆ bytesSent

- (FMLiveSwitchNullableLong*) bytesSent

Gets the number of bytes sent.

◆ deserializePropertiesWithKey:valueJson:

- (void) deserializePropertiesWithKey: (NSString *)  key
valueJson: (NSString *)  valueJson 

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchMediaComponentReport.

◆ fromJsonArrayWithMediaSenderReportsJson:

+ (NSMutableArray*) fromJsonArrayWithMediaSenderReportsJson: (NSString *)  mediaSenderReportsJson

Deserializes an array from JSON.

Parameters
mediaSenderReportsJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithMediaSenderReportJson:

+ (FMLiveSwitchMediaSenderReport*) fromJsonWithMediaSenderReportJson: (NSString *)  mediaSenderReportJson

Deserializes an instance from JSON.

Parameters
mediaSenderReportJsonThe serialized JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaSenderReport class.

Implements FMLiveSwitchMediaComponentReport.

◆ mediaSenderReport

+ (FMLiveSwitchMediaSenderReport*) mediaSenderReport

Initializes a new instance of the FMLiveSwitchMediaSenderReport class.

◆ packetsSent

- (FMLiveSwitchNullableLong*) packetsSent

Gets the number of packets sent.

◆ roundTripTime

- (FMLiveSwitchNullableInt*) roundTripTime

Gets the round-trip-time in milliseconds.

◆ serializePropertiesWithJsonObject:

- (void) serializePropertiesWithJsonObject: (NSMutableDictionary< NSString *, NSString * > *)  jsonObject

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchMediaComponentReport.

◆ setBytesSent:

- (void) setBytesSent: (FMLiveSwitchNullableLong *)  value

Sets the number of bytes sent.

◆ setPacketsSent:

- (void) setPacketsSent: (FMLiveSwitchNullableLong *)  value

Sets the number of packets sent.

◆ setRoundTripTime:

- (void) setRoundTripTime: (FMLiveSwitchNullableInt *)  value

Sets the round-trip-time in milliseconds.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithMediaSenderReports:

+ (NSString*) toJsonArrayWithMediaSenderReports: (NSMutableArray *)  mediaSenderReports

Serializes an array to JSON.

Parameters
mediaSenderReportsThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithMediaSenderReport:

+ (NSString*) toJsonWithMediaSenderReport: (FMLiveSwitchMediaSenderReport *)  mediaSenderReport

Serializes an instance to JSON.

Parameters
mediaSenderReportThe instance to serialize.
Returns
The serialized JSON.