fm.liveswitch.VideoContent Class Referenceabstract

Video content values. More...

Static Public Member Functions

static String fromContentAttribute (fm.liveswitch.sdp.ContentAttribute sdpContentAttribute)
 Converts an SDP content attribute to a video content value. More...
 
static String fromVideoType (fm.liveswitch.VideoType videoType)
 Converts a video type to a video content value. More...
 
static String getCamera ()
 Gets a value indicating camera-based video. More...
 
static String getScreen ()
 Gets a value indicating screen-based video. More...
 
static fm.liveswitch.sdp.ContentAttribute toSdpContentAttribute (String videoContent)
 Converts a video content value to an SDP content attribute. More...
 
static fm.liveswitch.VideoType toVideoType (String videoContent)
 Converts a video content value to a video type. More...
 

Detailed Description

Video content values.

Member Function Documentation

◆ fromContentAttribute()

static String fm.liveswitch.VideoContent.fromContentAttribute ( fm.liveswitch.sdp.ContentAttribute  sdpContentAttribute)
static

Converts an SDP content attribute to a video content value.

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

◆ fromVideoType()

static String fm.liveswitch.VideoContent.fromVideoType ( fm.liveswitch.VideoType  videoType)
static

Converts a video type to a video content value.

Parameters
videoTypeThe video type.
Returns
The video content value.

◆ getCamera()

static String fm.liveswitch.VideoContent.getCamera ( )
static

Gets a value indicating camera-based video.

◆ getScreen()

static String fm.liveswitch.VideoContent.getScreen ( )
static

Gets a value indicating screen-based video.

◆ toSdpContentAttribute()

static fm.liveswitch.sdp.ContentAttribute fm.liveswitch.VideoContent.toSdpContentAttribute ( String  videoContent)
static

Converts a video content value to an SDP content attribute.

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

◆ toVideoType()

static fm.liveswitch.VideoType fm.liveswitch.VideoContent.toVideoType ( String  videoContent)
static

Converts a video content value to a video type.

Parameters
videoContentThe video content value.
Returns
The video type.