Class VideoContent
Video content values.
Inheritance
System.Object
VideoContent
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public static class VideoContent : object
Properties
Camera
Gets a value indicating camera-based video.
Declaration
public static string Camera { get; }
Property Value
Type | Description |
---|---|
System. |
Screen
Gets a value indicating screen-based video.
Declaration
public static string Screen { get; }
Property Value
Type | Description |
---|---|
System. |
Methods
FromContentAttribute(ContentAttribute)
Converts an SDP content attribute to a video content value.
Declaration
public static string FromContentAttribute(ContentAttribute sdpContentAttribute)
Parameters
Type | Name | Description |
---|---|---|
Content |
sdpContentAttribute | The SDP content attribute. |
Returns
Type | Description |
---|---|
System. |
The video content value. |
FromVideoType(VideoType)
Converts a video type to a video content value.
Declaration
public static string FromVideoType(VideoType videoType)
Parameters
Type | Name | Description |
---|---|---|
Video |
videoType | The video type. |
Returns
Type | Description |
---|---|
System. |
The video content value. |
ToSdpContentAttribute(String)
Converts a video content value to an SDP content attribute.
Declaration
public static ContentAttribute ToSdpContentAttribute(string videoContent)
Parameters
Type | Name | Description |
---|---|---|
System. |
videoContent | The video content value. |
Returns
Type | Description |
---|---|
Content |
The SDP content attribute. |
ToVideoType(String)
Converts a video content value to a video type.
Declaration
public static VideoType ToVideoType(string videoContent)
Parameters
Type | Name | Description |
---|---|---|
System. |
videoContent | The video content value. |
Returns
Type | Description |
---|---|
Video |
The video type. |