FMLiveSwitchStreamDescription Class Reference

A stream description. More...

Instance Methods

(instancetype) - initWithDescription:
 Creates a new StreamDescription object. More...
 
(FMLiveSwitchSdpMediaDescription *) - mediaDescription
 Gets the media description associated with this stream. More...
 
(NSString *) - mediaDescriptionIdentifier
 Gets the mid associated with this stream, if present. More...
 
(void) - setMediaDescription:
 Sets the media description associated with this stream. More...
 
(FMLiveSwitchStreamType) - streamType
 Gets the stream type. More...
 

Class Methods

(FMLiveSwitchStreamDescription *) + streamDescription:
 Creates a new StreamDescription object. More...
 

Detailed Description

A stream description.

Method Documentation

◆ initWithDescription:

- (instancetype) initWithDescription: (FMLiveSwitchSdpMediaDescription *)  description

Creates a new StreamDescription object.

Parameters
descriptionSDP MediaDescription of the stream.

◆ mediaDescription

- (FMLiveSwitchSdpMediaDescription*) mediaDescription

Gets the media description associated with this stream.

◆ mediaDescriptionIdentifier

- (NSString*) mediaDescriptionIdentifier

Gets the mid associated with this stream, if present.

Null if not.

◆ setMediaDescription:

- (void) setMediaDescription: (FMLiveSwitchSdpMediaDescription *)  value

Sets the media description associated with this stream.

◆ streamDescription:

+ (FMLiveSwitchStreamDescription*) streamDescription: (FMLiveSwitchSdpMediaDescription *)  description

Creates a new StreamDescription object.

Parameters
descriptionSDP MediaDescription of the stream.

◆ streamType

- (FMLiveSwitchStreamType) streamType

Gets the stream type.