FMLiveSwitchSdpMediaType Class Reference

Defines valid SDP media types. More...

Class Methods

(NSString *) + application
 Gets the SDP media type meaning "Application". More...
 
(NSString *) + audio
 Gets the SDP media type meaning "Audio". More...
 
(NSString *) + fromStreamType:
 Convert a StreamType enum to an SDP media type. More...
 
(NSString *) + message
 Gets the SDP media type meaning "Message". More...
 
(NSString *) + text
 Gets the SDP media type meaning "Text". More...
 
(FMLiveSwitchStreamType) + toStreamTypeWithMediaType:
 Converts an SDP media type to a StreamType enum. More...
 
(NSString *) + video
 Gets the SDP media type meaning "Video". More...
 

Detailed Description

Defines valid SDP media types.

Method Documentation

◆ application

+ (NSString*) application

Gets the SDP media type meaning "Application".

◆ audio

+ (NSString*) audio

Gets the SDP media type meaning "Audio".

◆ fromStreamType:

+ (NSString*) fromStreamType: (FMLiveSwitchStreamType)  streamType

Convert a StreamType enum to an SDP media type.

Parameters
streamTypeThe StreamType enum.

◆ message

+ (NSString*) message

Gets the SDP media type meaning "Message".

◆ text

+ (NSString*) text

Gets the SDP media type meaning "Text".

◆ toStreamTypeWithMediaType:

+ (FMLiveSwitchStreamType) toStreamTypeWithMediaType: (NSString *)  mediaType

Converts an SDP media type to a StreamType enum.

Parameters
mediaTypeThe SDP media type.

◆ video

+ (NSString*) video

Gets the SDP media type meaning "Video".