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 Linphone.VideoSourceDescriptor.
Declaration
public Call Call { get; set; }
Property Value
| Type | Description |
|---|---|
| Call | The Linphone.Call of the video source descriptor if it's type is LinphoneVideoSourceCall, null otherwise. @maybenil |
CameraId
Gets the camera id of a Linphone.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. @maybenil |
Image
Gets the image path of a Linphone.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. @maybenil |
ScreenSharing
Gets the screen sharing description of a Linphone.VideoSourceDescriptor.
Declaration
public IntPtr ScreenSharing { get; }
Property Value
| Type | Description |
|---|---|
| System.IntPtr | The native screen sharing description @maybenil |
ScreenSharingType
Gets the screen sharing type of a Linphone.VideoSourceDescriptor.
Declaration
public VideoSourceScreenSharingType ScreenSharingType { get; }
Property Value
| Type | Description |
|---|---|
| VideoSourceScreenSharingType | The Linphone.VideoSourceType.ScreenSharing Type corresponding to this video source descriptor. |
Type
Gets the type of a Linphone.VideoSourceDescriptor.
Declaration
public VideoSourceType Type { get; }
Property Value
| Type | Description |
|---|---|
| VideoSourceType | The Linphone.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 Linphone.VideoSourceDescriptor object. @notnil |
SetScreenSharing(VideoSourceScreenSharingType, IntPtr)
Sets the source of a Linphone.VideoSourceDescriptor as screen sharing.
native_data depends on the type and the current platform: native_data depends on the type and the current platform: -Linux : uintptr_t The index of the screen ordered by XineramaQueryScreens. -Mac : CGDirectDisplayID The display identification that can be retrieved from SCShareableContent. -Windows : uintptr_t The index of the screen ordered by IDXGIAdapter->EnumOutputs. -Linux : Window The Window object that can be retrieved from XQueryPointer. -Mac : CGWindowID The window identification that can be retrieved from NSEvent. -Windows : HWND The window handle that can be retrieved from WindowFromPoint. -not yet supported.
Declaration
public void SetScreenSharing(VideoSourceScreenSharingType type, IntPtr nativeData)
Parameters
| Type | Name | Description |
|---|---|---|
| VideoSourceScreenSharingType | type | The Linphone.VideoSourceScreenSharingType type of native_data. @notnil |
| System.IntPtr | nativeData | The screen handle that will be used as a video source. @maybenil |