FMLiveSwitchVideoContent Class Reference

Video content values. More...

Class Methods

(NSString *) + camera
 Gets a value indicating camera-based video. More...
 
(NSString *) + fromContentAttributeWithSdpContentAttribute:
 Converts an SDP content attribute to a video content value. More...
 
(NSString *) + fromVideoType:
 Converts a video type to a video content value. More...
 
(NSString *) + screen
 Gets a value indicating screen-based video. More...
 
(FMLiveSwitchSdpContentAttribute *) + toSdpContentAttributeWithVideoContent:
 Converts a video content value to an SDP content attribute. More...
 
(FMLiveSwitchVideoType) + toVideoTypeWithVideoContent:
 Converts a video content value to a video type. More...
 

Detailed Description

Video content values.

Method Documentation

◆ camera

+ (NSString*) camera

Gets a value indicating camera-based video.

◆ fromContentAttributeWithSdpContentAttribute:

+ (NSString*) fromContentAttributeWithSdpContentAttribute: (FMLiveSwitchSdpContentAttribute *)  sdpContentAttribute

Converts an SDP content attribute to a video content value.

Parameters
sdpContentAttributeThe SDP content attribute.
Returns
The video content value.

◆ fromVideoType:

+ (NSString*) fromVideoType: (FMLiveSwitchVideoType)  videoType

Converts a video type to a video content value.

Parameters
videoTypeThe video type.
Returns
The video content value.

◆ screen

+ (NSString*) screen

Gets a value indicating screen-based video.

◆ toSdpContentAttributeWithVideoContent:

+ (FMLiveSwitchSdpContentAttribute*) toSdpContentAttributeWithVideoContent: (NSString *)  videoContent

Converts a video content value to an SDP content attribute.

Parameters
videoContentThe video content value.
Returns
The SDP content attribute.

◆ toVideoTypeWithVideoContent:

+ (FMLiveSwitchVideoType) toVideoTypeWithVideoContent: (NSString *)  videoContent

Converts a video content value to a video type.

Parameters
videoContentThe video content value.
Returns
The video type.