FMLiveSwitchSdpRtcpAttribute Class Reference

The RTCP attribute is used to document the RTCP port used for media stream, when that port is not the next higher (odd) port number following the RTP port described in the media line. More...

Instance Methods

(NSString *) - addressType
 Gets the type of the address. More...
 
(NSString *) - connectionAddress
 Gets the RTCP connection address. More...
 
(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithPort:connectionAddress:
 Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class. More...
 
(NSString *) - networkType
 Gets the type of network. More...
 
(int) - port
 Gets the RTCP port number. More...
 
(void) - setAddressType:
 Sets the type of the address. More...
 
(void) - setConnectionAddress:
 Sets the RTCP connection address. More...
 
(void) - setNetworkType:
 Sets the type of network. More...
 
(void) - setPort:
 Sets the RTCP port number. More...
 
(void) - updateWithPort:connectionAddress:
 Updates the port and connection address. More...
 
- Instance Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - init
 
(FMLiveSwitchSdpAttributeCategory) - multiplexingCategory
 Gets the Multiplexing Category of this Attribute. More...
 
(void) - setAttributeType:
 Sets this Attribute's Type. More...
 
(void) - setMultiplexingCategory:
 Sets the Multiplexing Category of this Attribute. More...
 

Class Methods

(FMLiveSwitchSdpRtcpAttribute *) + attributeWithPort:connectionAddress:
 Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class. More...
 
(FMLiveSwitchSdpRtcpAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class. More...
 
- Class Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttribute *) + attribute
 
(FMLiveSwitchSdpAttribute *) + createAttributeWithName:value:
 Creates an attribute. More...
 
(NSString *) + getTypeNameWithType:
 Gets the name of the attribute type. More...
 
(bool) + isMediaLevelWithType:
 Determines whether the type applies to media streams. More...
 
(bool) + isSessionLevelWithType:
 Determines whether the type applies to sessions. More...
 
(FMLiveSwitchSdpAttribute *) + parseWithS:
 Creates an FMLiveSwitchSdpConnectionData instance from a string. More...
 

Detailed Description

The RTCP attribute is used to document the RTCP port used for media stream, when that port is not the next higher (odd) port number following the RTP port described in the media line.

Method Documentation

◆ addressType

- (NSString*) addressType

Gets the type of the address.

See addressType for possible values.

◆ attributeWithPort:connectionAddress:

+ (FMLiveSwitchSdpRtcpAttribute*) attributeWithPort: (int)  port
connectionAddress: (NSString *)  connectionAddress 

Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class.

Parameters
portThe RTCP port number.
connectionAddressThe RTCP connection address.

◆ connectionAddress

- (NSString*) connectionAddress

Gets the RTCP connection address.

◆ fromAttributeValue:

+ (FMLiveSwitchSdpRtcpAttribute*) fromAttributeValue: (NSString *)  value

Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithPort:connectionAddress:

- (instancetype) initWithPort: (int)  port
connectionAddress: (NSString *)  connectionAddress 

Initializes a new instance of the FMLiveSwitchSdpRtcpAttribute class.

Parameters
portThe RTCP port number.
connectionAddressThe RTCP connection address.

◆ networkType

- (NSString*) networkType

Gets the type of network.

See networkType for possible values.

◆ port

- (int) port

Gets the RTCP port number.

◆ setAddressType:

- (void) setAddressType: (NSString *)  value

Sets the type of the address.

See addressType for possible values.

◆ setConnectionAddress:

- (void) setConnectionAddress: (NSString *)  value

Sets the RTCP connection address.

◆ setNetworkType:

- (void) setNetworkType: (NSString *)  value

Sets the type of network.

See networkType for possible values.

◆ setPort:

- (void) setPort: (int)  value

Sets the RTCP port number.

◆ updateWithPort:connectionAddress:

- (void) updateWithPort: (int)  port
connectionAddress: (NSString *)  connectionAddress 

Updates the port and connection address.

Parameters
portThe port.
connectionAddressThe connection address.