Class VideoContent
Video content values.
Inheritance
System.Object
VideoContent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public static class VideoContent
Properties
Camera
Gets a value indicating camera-based video.
Declaration
public static string Camera { get; }
Property Value
Type | Description |
---|---|
System.String |
Screen
Gets a value indicating screen-based video.
Declaration
public static string Screen { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
FromContentAttribute(ContentAttribute)
Converts an SDP content attribute to a video content value.
Declaration
public static string FromContentAttribute(ContentAttribute sdpContentAttribute)
Parameters
Type | Name | Description |
---|---|---|
ContentAttribute | sdpContentAttribute | The SDP content attribute. |
Returns
Type | Description |
---|---|
System.String | 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 |
---|---|---|
VideoType | videoType | The video type. |
Returns
Type | Description |
---|---|
System.String | 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.String | videoContent | The video content value. |
Returns
Type | Description |
---|---|
ContentAttribute | 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.String | videoContent | The video content value. |
Returns
Type | Description |
---|---|
VideoType | The video type. |