FMLiveSwitchSdpOrigin Class Reference

An SDP origin element. More...

Instance Methods

(NSString *) - addressType
 Gets the type of the address. More...
 
(NSString *) - description
 Converts this instance to a string. More...
 
(instancetype) - initWithUnicastAddress:
 Initializes a new instance of the FMLiveSwitchSdpOrigin class. More...
 
(instancetype) - initWithUnicastAddress:username:
 Initializes a new instance of the FMLiveSwitchSdpOrigin class. More...
 
(NSString *) - networkType
 Gets the type of network. More...
 
(long long) - sessionId
 Gets the globally unique identifier for the session. More...
 
(long long) - sessionVersion
 Gets the version number for the session. More...
 
(void) - setAddressType:
 Sets the type of the address. More...
 
(void) - setNetworkType:
 Sets the type of network. More...
 
(void) - setSessionId:
 Sets the globally unique identifier for the session. More...
 
(void) - setSessionVersion:
 Sets the version number for the session. More...
 
(void) - setUnicastAddress:
 Sets the address of the machine from which the session was created. More...
 
(void) - setUsername:
 Sets the user's login on the originating host. More...
 
(NSString *) - unicastAddress
 Gets the address of the machine from which the session was created. More...
 
(NSString *) - username
 Gets the user's login on the originating host. More...
 

Class Methods

(FMLiveSwitchSdpOrigin *) + originWithUnicastAddress:
 Initializes a new instance of the FMLiveSwitchSdpOrigin class. More...
 
(FMLiveSwitchSdpOrigin *) + originWithUnicastAddress:username:
 Initializes a new instance of the FMLiveSwitchSdpOrigin class. More...
 
(FMLiveSwitchSdpOrigin *) + parseWithS:
 Creates an FMLiveSwitchSdpOrigin instance from a string. More...
 

Detailed Description

An SDP origin element.

Method Documentation

◆ addressType

- (NSString*) addressType

Gets the type of the address.

See addressType for possible values.

◆ description

- (NSString*) description

Converts this instance to a string.

◆ initWithUnicastAddress:

- (instancetype) initWithUnicastAddress: (NSString *)  unicastAddress

Initializes a new instance of the FMLiveSwitchSdpOrigin class.

Parameters
unicastAddressThe address of the machine from which the session was created.

◆ initWithUnicastAddress:username:

- (instancetype) initWithUnicastAddress: (NSString *)  unicastAddress
username: (NSString *)  username 

Initializes a new instance of the FMLiveSwitchSdpOrigin class.

Parameters
unicastAddressThe address of the machine from which the session was created.
usernameThe user's login on the originating host.

◆ networkType

- (NSString*) networkType

Gets the type of network.

See networkType for possible values.

◆ originWithUnicastAddress:

+ (FMLiveSwitchSdpOrigin*) originWithUnicastAddress: (NSString *)  unicastAddress

Initializes a new instance of the FMLiveSwitchSdpOrigin class.

Parameters
unicastAddressThe address of the machine from which the session was created.

◆ originWithUnicastAddress:username:

+ (FMLiveSwitchSdpOrigin*) originWithUnicastAddress: (NSString *)  unicastAddress
username: (NSString *)  username 

Initializes a new instance of the FMLiveSwitchSdpOrigin class.

Parameters
unicastAddressThe address of the machine from which the session was created.
usernameThe user's login on the originating host.

◆ parseWithS:

+ (FMLiveSwitchSdpOrigin*) parseWithS: (NSString *)  s

Creates an FMLiveSwitchSdpOrigin instance from a string.

Parameters
sThe string to parse.

◆ sessionId

- (long long) sessionId

Gets the globally unique identifier for the session.

◆ sessionVersion

- (long long) sessionVersion

Gets the version number for the session.

◆ setAddressType:

- (void) setAddressType: (NSString *)  value

Sets the type of the address.

See addressType for possible values.

◆ setNetworkType:

- (void) setNetworkType: (NSString *)  value

Sets the type of network.

See networkType for possible values.

◆ setSessionId:

- (void) setSessionId: (long long)  value

Sets the globally unique identifier for the session.

◆ setSessionVersion:

- (void) setSessionVersion: (long long)  value

Sets the version number for the session.

◆ setUnicastAddress:

- (void) setUnicastAddress: (NSString *)  value

Sets the address of the machine from which the session was created.

◆ setUsername:

- (void) setUsername: (NSString *)  value

Sets the user's login on the originating host.

◆ unicastAddress

- (NSString*) unicastAddress

Gets the address of the machine from which the session was created.

◆ username

- (NSString*) username

Gets the user's login on the originating host.