Class VideoSourceDescriptor
Object that is used to describe a video source.
Inherited Members
Namespace: Linphone
Assembly: cs.temp.dll.dll
Syntax
public class VideoSourceDescriptor : LinphoneObject
Properties
Call
Gets the call of a VideoSourceDescriptor.
Declaration
public Call Call { get; set; }
Property Value
Type | Description |
---|---|
Call | The Call of the video source descriptor if it's type is LinphoneVideoSourceCall, null otherwise. |
CameraId
Gets the camera id of a VideoSourceDescriptor.
Declaration
public string CameraId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The camera id of the video source descriptor if it's type is LinphoneVideoSourceCamera, null otherwise. |
Image
Gets the image path of a VideoSourceDescriptor.
Declaration
public string Image { get; set; }
Property Value
Type | Description |
---|---|
System.String | The image path of the video source descriptor if it's type is LinphoneVideoSourceImage, null otherwise. |
ScreenSharing
Gets the screen sharing description of a VideoSourceDescriptor.
Declaration
public IntPtr ScreenSharing { get; }
Property Value
Type | Description |
---|---|
System.IntPtr | The native screen sharing description |
ScreenSharingType
Gets the screen sharing type of a VideoSourceDescriptor.
Declaration
public VideoSourceScreenSharingType ScreenSharingType { get; }
Property Value
Type | Description |
---|---|
VideoSourceScreenSharingType | The ScreenSharing Type corresponding to this video source descriptor. |
Type
Gets the type of a VideoSourceDescriptor.
Declaration
public VideoSourceType Type { get; }
Property Value
Type | Description |
---|---|
VideoSourceType | The VideoSourceType corresponding to this video source descriptor. |
Methods
Clone()
Instantiate a new video source descriptor with values from source.
Declaration
public VideoSourceDescriptor Clone()
Returns
Type | Description |
---|---|
VideoSourceDescriptor | The newly created VideoSourceDescriptor object. |
SetScreenSharing(VideoSourceScreenSharingType, IntPtr)
Sets the source of a VideoSourceDescriptor as screen sharing.
native_data depends of the type and the current platform:
Declaration
public void SetScreenSharing(VideoSourceScreenSharingType type, IntPtr nativeData)
Parameters
Type | Name | Description |
---|---|---|
VideoSourceScreenSharingType | type | The VideoSourceScreenSharingType type of native_data. |
System.IntPtr | nativeData | The screen handle that will be used as a video source. |