FMLiveSwitchMediaReceiverReport Class Reference

Media receiver report. More...

Instance Methods

(FMLiveSwitchNullableLong *) - bytesReceived
 Gets the number of bytes received. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaReceiverReport class. More...
 
(FMLiveSwitchNullableLong *) - jitter
 Gets the jitter in milliseconds. More...
 
(FMLiveSwitchNullableLong *) - packetsDiscarded
 Gets the number of packets discarded. More...
 
(FMLiveSwitchNullableLong *) - packetsDuplicated
 Gets the number of packets duplicated. More...
 
(FMLiveSwitchNullableLong *) - packetsLost
 Gets the number of packets lost. More...
 
(FMLiveSwitchNullableLong *) - packetsReceived
 Gets the number of packets received. More...
 
(FMLiveSwitchNullableLong *) - packetsRepaired
 Gets the number of packets repaired. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setBytesReceived:
 Sets the number of bytes received. More...
 
(void) - setJitter:
 Sets the jitter in milliseconds. More...
 
(void) - setPacketsDiscarded:
 Sets the number of packets discarded. More...
 
(void) - setPacketsDuplicated:
 Sets the number of packets duplicated. More...
 
(void) - setPacketsLost:
 Sets the number of packets lost. More...
 
(void) - setPacketsReceived:
 Sets the number of packets received. More...
 
(void) - setPacketsRepaired:
 Sets the number of packets repaired. 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 *) + fromJsonArrayWithMediaReceiverReportsJson:
 Deserializes an array from JSON. More...
 
(FMLiveSwitchMediaReceiverReport *) + fromJsonWithMediaReceiverReportJson:
 Deserializes an instance from JSON. More...
 
(FMLiveSwitchMediaReceiverReport *) + mediaReceiverReport
 Initializes a new instance of the FMLiveSwitchMediaReceiverReport class. More...
 
(NSString *) + toJsonArrayWithMediaReceiverReports:
 Serializes an array to JSON. More...
 
(NSString *) + toJsonWithMediaReceiverReport:
 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 receiver report.

Method Documentation

◆ bytesReceived

- (FMLiveSwitchNullableLong*) bytesReceived

Gets the number of bytes received.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchMediaComponentReport.

◆ fromJsonArrayWithMediaReceiverReportsJson:

+ (NSMutableArray*) fromJsonArrayWithMediaReceiverReportsJson: (NSString *)  mediaReceiverReportsJson

Deserializes an array from JSON.

Parameters
mediaReceiverReportsJsonThe serialized JSON.
Returns
The deserialized array.

◆ fromJsonWithMediaReceiverReportJson:

+ (FMLiveSwitchMediaReceiverReport*) fromJsonWithMediaReceiverReportJson: (NSString *)  mediaReceiverReportJson

Deserializes an instance from JSON.

Parameters
mediaReceiverReportJsonThe serialized JSON.
Returns
The deserialized instance.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaReceiverReport class.

Implements FMLiveSwitchMediaComponentReport.

◆ jitter

- (FMLiveSwitchNullableLong*) jitter

Gets the jitter in milliseconds.

◆ mediaReceiverReport

+ (FMLiveSwitchMediaReceiverReport*) mediaReceiverReport

Initializes a new instance of the FMLiveSwitchMediaReceiverReport class.

◆ packetsDiscarded

- (FMLiveSwitchNullableLong*) packetsDiscarded

Gets the number of packets discarded.

◆ packetsDuplicated

- (FMLiveSwitchNullableLong*) packetsDuplicated

Gets the number of packets duplicated.

◆ packetsLost

- (FMLiveSwitchNullableLong*) packetsLost

Gets the number of packets lost.

◆ packetsReceived

- (FMLiveSwitchNullableLong*) packetsReceived

Gets the number of packets received.

◆ packetsRepaired

- (FMLiveSwitchNullableLong*) packetsRepaired

Gets the number of packets repaired.

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchMediaComponentReport.

◆ setBytesReceived:

- (void) setBytesReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of bytes received.

◆ setJitter:

- (void) setJitter: (FMLiveSwitchNullableLong *)  value

Sets the jitter in milliseconds.

◆ setPacketsDiscarded:

- (void) setPacketsDiscarded: (FMLiveSwitchNullableLong *)  value

Sets the number of packets discarded.

◆ setPacketsDuplicated:

- (void) setPacketsDuplicated: (FMLiveSwitchNullableLong *)  value

Sets the number of packets duplicated.

◆ setPacketsLost:

- (void) setPacketsLost: (FMLiveSwitchNullableLong *)  value

Sets the number of packets lost.

◆ setPacketsReceived:

- (void) setPacketsReceived: (FMLiveSwitchNullableLong *)  value

Sets the number of packets received.

◆ setPacketsRepaired:

- (void) setPacketsRepaired: (FMLiveSwitchNullableLong *)  value

Sets the number of packets repaired.

◆ toJson

- (NSString*) toJson

Serializes this instance to JSON.

◆ toJsonArrayWithMediaReceiverReports:

+ (NSString*) toJsonArrayWithMediaReceiverReports: (NSMutableArray *)  mediaReceiverReports

Serializes an array to JSON.

Parameters
mediaReceiverReportsThe array to serialize.
Returns
The serialized JSON.

◆ toJsonWithMediaReceiverReport:

+ (NSString*) toJsonWithMediaReceiverReport: (FMLiveSwitchMediaReceiverReport *)  mediaReceiverReport

Serializes an instance to JSON.

Parameters
mediaReceiverReportThe instance to serialize.
Returns
The serialized JSON.