FMLiveSwitchMediaComponentInfo Class Reference

Media component information. More...

Instance Methods

(FMLiveSwitchCodecInfo *) - codec
 Gets codec. More...
 
(void) - deserializePropertiesWithKey:valueJson:
 Deserializes the properties. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
(instancetype) - initWithStats:lastStats:
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
(void) - serializePropertiesWithJsonObject:
 Serializes the properties. More...
 
(void) - setCodec:
 Sets codec. More...
 
(void) - setSynchronizationSource:
 Sets synchronization source of media track. More...
 
(void) - setTrack:
 Sets track. More...
 
(FMLiveSwitchNullableLong *) - synchronizationSource
 Gets synchronization source of media track. More...
 
(FMLiveSwitchMediaTrackInfo *) - track
 Gets track. More...
 
- Instance Methods inherited from FMLiveSwitchInfo
(NSString *) - id
 Gets the identifier. More...
 
(void) - setId:
 Sets the identifier. More...
 

Class Methods

(FMLiveSwitchMediaComponentInfo *) + mediaComponentInfo
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
(FMLiveSwitchMediaComponentInfo *) + mediaComponentInfoWithStats:lastStats:
 Initializes a new instance of the FMLiveSwitchMediaComponentInfo class. More...
 
- Class Methods inherited from FMLiveSwitchInfo
(FMLiveSwitchInfo *) + info
 
(NSMutableArray *) + processArrayWithNewValues:oldValues:
 Processes an array for an info. More...
 
(NSMutableArray *) + processBooleanArrayWithNewValues:oldValues:
 Processes a boolean array for an info. More...
 
(FMLiveSwitchNullableBool *) + processBooleanWithNewValue:oldValue:
 Processes a boolean for an info. More...
 
(FMLiveSwitchNullableDouble *) + processDoubleWithNewValue:oldValue:
 Processes a double for an info. More...
 
(NSMutableArray *) + processFloatArrayWithNewValues:oldValues:
 Processes a float array for an info. More...
 
(FMLiveSwitchNullableFloat *) + processFloatWithNewValue:oldValue:
 Processes a float for an info. More...
 
(NSMutableArray *) + processIntegerArrayWithNewValues:oldValues:
 Processes a integer array for an info. More...
 
(FMLiveSwitchNullableInt *) + processIntegerWithNewValue:oldValue:
 Processes an integer for an info. More...
 
(NSMutableArray *) + processLongArrayWithNewValues:oldValues:
 Processes a long array for an info. More...
 
(FMLiveSwitchNullableLong *) + processLongWithNewValue:oldValue:
 Processes a long for an info. More...
 
(NSObject< FMLiveSwitchIEquivalent > *) + processObjectWithNewValue:oldValue:
 Processes an object for an info. More...
 
(NSMutableArray *) + processShortArrayWithNewValues:oldValues:
 Processes a short array for an info. More...
 
(FMLiveSwitchNullableShort *) + processShortWithNewValue:oldValue:
 Processes a short for an info. More...
 
(NSString *) + processStringWithNewValue:oldValue:
 Processes a string for an info. More...
 

Detailed Description

Media component information.

Method Documentation

◆ codec

Gets codec.

◆ deserializePropertiesWithKey:valueJson:

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Implements FMLiveSwitchInfo.

Implemented in FMLiveSwitchMediaSenderInfo, and FMLiveSwitchMediaReceiverInfo.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchMediaComponentInfo class.

Implements FMLiveSwitchInfo.

Implemented in FMLiveSwitchMediaSenderInfo, and FMLiveSwitchMediaReceiverInfo.

◆ initWithStats:lastStats:

- (instancetype) initWithStats: (FMLiveSwitchMediaComponentStats *)  stats
lastStats: (FMLiveSwitchMediaComponentStats *)  lastStats 

Initializes a new instance of the FMLiveSwitchMediaComponentInfo class.

Parameters
stats
lastStats

◆ mediaComponentInfo

+ (FMLiveSwitchMediaComponentInfo*) mediaComponentInfo

Initializes a new instance of the FMLiveSwitchMediaComponentInfo class.

◆ mediaComponentInfoWithStats:lastStats:

+ (FMLiveSwitchMediaComponentInfo*) mediaComponentInfoWithStats: (FMLiveSwitchMediaComponentStats *)  stats
lastStats: (FMLiveSwitchMediaComponentStats *)  lastStats 

Initializes a new instance of the FMLiveSwitchMediaComponentInfo class.

Parameters
stats
lastStats

◆ serializePropertiesWithJsonObject:

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Implements FMLiveSwitchInfo.

Implemented in FMLiveSwitchMediaSenderInfo, and FMLiveSwitchMediaReceiverInfo.

◆ setCodec:

- (void) setCodec: (FMLiveSwitchCodecInfo *)  value

Sets codec.

◆ setSynchronizationSource:

- (void) setSynchronizationSource: (FMLiveSwitchNullableLong *)  value

Sets synchronization source of media track.

◆ setTrack:

- (void) setTrack: (FMLiveSwitchMediaTrackInfo *)  value

Sets track.

◆ synchronizationSource

- (FMLiveSwitchNullableLong*) synchronizationSource

Gets synchronization source of media track.

◆ track

Gets track.