/ 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
▸ StaticfromContentAttribute(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
▸ StaticfromVideoType(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
▸ StaticgetCamera(): string
Gets a value indicating camera-based video.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:60
getScreen
▸ StaticgetScreen(): string
Gets a value indicating screen-based video.
Returns: string
Defined in: Generated/TypeScript/fm.liveswitch/VideoContent.ts:72
toSdpContentAttribute
▸ StatictoSdpContentAttribute(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
▸ StatictoVideoType(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