FMLiveSwitchSdpRtpSsrcAttribute Class Reference

The SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session. More...

Instance Methods

(NSString *) - getAttributeValue
 Gets the internal value of the attribute. More...
 
(instancetype) - initWithSynchronizationSource:attributeName:
 Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class. More...
 
(instancetype) - initWithSynchronizationSource:attributeName:attributeValue:
 Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class. More...
 
(NSString *) - name
 Gets the name of the attribute. More...
 
(void) - setValue:
 Sets the attribute value. More...
 
(long long) - synchronizationSource
 Gets the synchronization source. More...
 
(NSString *) - value
 Gets the attribute value. 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

(FMLiveSwitchSdpRtpSsrcAttribute *) + fromAttributeValue:
 Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class. More...
 
(FMLiveSwitchSdpRtpSsrcAttribute *) + ssrcAttributeWithSynchronizationSource:attributeName:
 Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class. More...
 
(FMLiveSwitchSdpRtpSsrcAttribute *) + ssrcAttributeWithSynchronizationSource:attributeName:attributeValue:
 Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute 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 SDP media attribute "ssrc" indicates a property (known as a "source-level attribute") of a media source (RTP stream) within an RTP session.

Method Documentation

◆ fromAttributeValue:

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

Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue

- (NSString*) getAttributeValue

Gets the internal value of the attribute.

Implements FMLiveSwitchSdpAttribute.

◆ initWithSynchronizationSource:attributeName:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
attributeName: (NSString *)  attributeName 

Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.

◆ initWithSynchronizationSource:attributeName:attributeValue:

- (instancetype) initWithSynchronizationSource: (long long)  synchronizationSource
attributeName: (NSString *)  attributeName
attributeValue: (NSString *)  attributeValue 

Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.
attributeValueThe attribute value.

◆ name

- (NSString*) name

Gets the name of the attribute.

◆ setValue:

- (void) setValue: (NSString *)  value

Sets the attribute value.

◆ ssrcAttributeWithSynchronizationSource:attributeName:

+ (FMLiveSwitchSdpRtpSsrcAttribute*) ssrcAttributeWithSynchronizationSource: (long long)  synchronizationSource
attributeName: (NSString *)  attributeName 

Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.

◆ ssrcAttributeWithSynchronizationSource:attributeName:attributeValue:

+ (FMLiveSwitchSdpRtpSsrcAttribute*) ssrcAttributeWithSynchronizationSource: (long long)  synchronizationSource
attributeName: (NSString *)  attributeName
attributeValue: (NSString *)  attributeValue 

Initializes a new instance of the FMLiveSwitchSdpRtpSsrcAttribute class.

Parameters
synchronizationSourceThe synchronization source.
attributeNameName of the attribute.
attributeValueThe attribute value.

◆ synchronizationSource

- (long long) synchronizationSource

Gets the synchronization source.

◆ value

- (NSString*) value

Gets the attribute value.