FMLiveSwitchSdpSendOnlyAttribute Class Reference

This specifies that the tools should be started in send-only mode. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSdpSendOnlyAttribute 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

(FMLiveSwitchSdpSendOnlyAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpSendOnlyAttribute class. More...
 
(FMLiveSwitchSdpSendOnlyAttribute *) + sendOnlyAttribute
 Initializes a new instance of the FMLiveSwitchSdpSendOnlyAttribute 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 send-only mode.

An example may be where a different unicast address is to be used for a traffic destination than for a traffic source. In such a case, two media descriptions may be used, one sendonly and one recvonly. It can be either a session- or media-level attribute, but would normally only be used as a media attribute. It is not dependent on charset. Note that sendonly applies only to the media, and any associated control protocol (e.g., RTCP) SHOULD still be received and processed as normal.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpSendOnlyAttribute 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 FMLiveSwitchSdpSendOnlyAttribute class.

Implements FMLiveSwitchSdpDirectionAttribute.

◆ sendOnlyAttribute

+ (FMLiveSwitchSdpSendOnlyAttribute*) sendOnlyAttribute

Initializes a new instance of the FMLiveSwitchSdpSendOnlyAttribute class.

◆ streamDirection

- (FMLiveSwitchStreamDirection) streamDirection

Gets the stream direction.

Implements FMLiveSwitchSdpDirectionAttribute.