/ fm / liveswitch / VideoContent
Class: VideoContent
fm.liveswitch.VideoContent
Video content values.
Table of contents
Constructors
Methods
- getTypeString
- fromContentAttribute
- fromVideoType
- getCamera
- getScreen
- toSdpContentAttribute
- toVideoType
Constructors
constructor
+ new VideoContent(): VideoContent
Returns: VideoContent
Methods
getTypeString
▸ getTypeString(): string
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:9
fromContentAttribute
▸ Static
fromContentAttribute(sdpContentAttribute
: ContentAttribute): string
Converts an SDP content attribute to a video content value.
Parameters:
Name | Type | Description |
---|---|---|
sdpContentAttribute |
ContentAttribute | The SDP content attribute. |
Returns: string
The video content value.
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:19
fromVideoType
▸ Static
fromVideoType(videoType
: VideoType): string
Converts a video type to a video content value.
Parameters:
Name | Type | Description |
---|---|---|
videoType |
VideoType | The video type. |
Returns: string
The video content value.
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:42
getCamera
▸ Static
getCamera(): string
Gets a value indicating camera-based video.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:60
getScreen
▸ Static
getScreen(): string
Gets a value indicating screen-based video.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:72
toSdpContentAttribute
▸ Static
toSdpContentAttribute(videoContent
: string): ContentAttribute
Converts a video content value to an SDP content attribute.
Parameters:
Name | Type | Description |
---|---|---|
videoContent |
string | The video content value. |
Returns: ContentAttribute
The SDP content attribute.
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:86
toVideoType
▸ Static
toVideoType(videoContent
: string): VideoType
Converts a video content value to a video type.
Parameters:
Name | Type | Description |
---|---|---|
videoContent |
string | The video content value. |
Returns: VideoType
The video type.
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:106