FMLiveSwitchSdpReceiveOnlyAttribute Class Reference

This specifies that the tools should be started in receive-only mode where applicable. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class. More...
 
(FMLiveSwitchStreamDirection) - streamDirection
 Gets the stream direction. More...
 
- Instance Methods inherited from FMLiveSwitchSdpAttribute
(FMLiveSwitchSdpAttributeType) - attributeType
 Gets this Attribute's Type. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(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

(FMLiveSwitchSdpReceiveOnlyAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class. More...
 
(FMLiveSwitchSdpReceiveOnlyAttribute *) + receiveOnlyAttribute
 Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class. More...
 
- Class Methods inherited from FMLiveSwitchSdpDirectionAttribute
(FMLiveSwitchSdpDirectionAttribute *) + directionAttribute
 
(FMLiveSwitchSdpDirectionAttribute *) + generateDirectionAttributeWithDirection:
 Creates a DirectionAttribute for a required direction. 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

This specifies that the tools should be started in receive-only mode where applicable.

It can be either a session- or media- level attribute, and it is not dependent on charset. Note that recvonly applies to the media only, not to any associated control protocol (e.g., an RTP-based system in recvonly mode SHOULD still send RTCP packets).

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class.

Implements FMLiveSwitchSdpDirectionAttribute.

◆ receiveOnlyAttribute

+ (FMLiveSwitchSdpReceiveOnlyAttribute*) receiveOnlyAttribute

Initializes a new instance of the FMLiveSwitchSdpReceiveOnlyAttribute class.

◆ streamDirection

- (FMLiveSwitchStreamDirection) streamDirection

Gets the stream direction.

Implements FMLiveSwitchSdpDirectionAttribute.