Liblinphone  5.5.0
Linphone.VideoSourceDescriptor Class Reference
Inheritance diagram for Linphone.VideoSourceDescriptor:
Linphone.LinphoneObject

Public Member Functions

Linphone.VideoSourceDescriptor Clone ()
 
void SetScreenSharing (Linphone.VideoSourceScreenSharingType type, IntPtr nativeData)
 

Properties

Linphone.Call Call [get, set]
 
string CameraId [get, set]
 
string Image [get, set]
 
IntPtr ScreenSharing [get]
 
Linphone.VideoSourceScreenSharingType ScreenSharingType [get]
 
Linphone.VideoSourceType Type [get]
 

Additional Inherited Members

- Protected Member Functions inherited from Linphone.LinphoneObject
static String linphone_pointer_to_string (IntPtr ptr)
 
static IntPtr linphone_string_to_pointer ([MarshalAs(LinphoneWrapper.ByteStringMarshalling)] String str)
 
IntPtr StringArrayToBctbxList (IEnumerable< string > stringlist)
 
void CleanStringArrayPtrs (IntPtr l)
 

Detailed Description

Object that is used to describe a video source.

Member Function Documentation

Linphone.VideoSourceDescriptor Linphone.VideoSourceDescriptor.Clone ( )
inline

Instantiate a new video source descriptor with values from source.

Returns
The newly created Linphone.VideoSourceDescriptor object.
void Linphone.VideoSourceDescriptor.SetScreenSharing ( Linphone.VideoSourceScreenSharingType  type,
IntPtr  nativeData 
)
inline

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.

Parameters
typeThe Linphone.VideoSourceScreenSharingType type of native_data.
nativeDataThe screen handle that will be used as a video source.

Property Documentation

Linphone.Call Linphone.VideoSourceDescriptor.Call
getset

Gets the call of a Linphone.VideoSourceDescriptor.

Returns
The Linphone.Call of the video source descriptor if it's type is LinphoneVideoSourceCall, null otherwise.
string Linphone.VideoSourceDescriptor.CameraId
getset

Gets the camera id of a Linphone.VideoSourceDescriptor.

Returns
The camera id of the video source descriptor if it's type is LinphoneVideoSourceCamera, null otherwise.
string Linphone.VideoSourceDescriptor.Image
getset

Gets the image path of a Linphone.VideoSourceDescriptor.

Returns
The image path of the video source descriptor if it's type is LinphoneVideoSourceImage, null otherwise.
IntPtr Linphone.VideoSourceDescriptor.ScreenSharing
get

Gets the screen sharing description of a Linphone.VideoSourceDescriptor.

Returns
The native screen sharing description
Linphone.VideoSourceScreenSharingType Linphone.VideoSourceDescriptor.ScreenSharingType
get

Gets the screen sharing type of a Linphone.VideoSourceDescriptor.

Returns
The Linphone.VideoSourceType.ScreenSharing Type corresponding to this video source descriptor.
Linphone.VideoSourceType Linphone.VideoSourceDescriptor.Type
get

Gets the type of a Linphone.VideoSourceDescriptor.

Returns
The Linphone.VideoSourceType corresponding to this video source descriptor.

The documentation for this class was generated from the following file: