|
Liblinphone 5.3.0
|
Object that is used to describe a video source. More...
#include <video_source_descriptor.hh>
Public Member Functions | |
| LINPHONECXX_PUBLIC | VideoSourceDescriptor (void *ptr, bool takeRef=true) |
| LINPHONECXX_PUBLIC _LinphoneVideoSourceDescriptor * | cPtr () |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Call > | getCall () const |
| Gets the call of a VideoSourceDescriptor. | |
| LINPHONECXX_PUBLIC void | setCall (const std::shared_ptr< linphone::Call > &call) |
| Sets the source of a VideoSourceDescriptor with a call. | |
| LINPHONECXX_PUBLIC std::string | getCameraId () const |
| Gets the camera id of a VideoSourceDescriptor. | |
| LINPHONECXX_PUBLIC void | setCameraId (const std::string &cameraId) |
| Sets the source of a VideoSourceDescriptor with a camera id. | |
| LINPHONECXX_PUBLIC std::string | getImage () const |
| Gets the image path of a VideoSourceDescriptor. | |
| LINPHONECXX_PUBLIC void | setImage (const std::string &imagePath) |
| Sets the source of a VideoSourceDescriptor with an image path. | |
| LINPHONECXX_PUBLIC linphone::VideoSourceType | getType () const |
| Gets the type of a VideoSourceDescriptor. | |
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::VideoSourceDescriptor > | clone () const |
| Instantiate a new video source descriptor with values from source. | |
Object that is used to describe a video source.
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::VideoSourceDescriptor > linphone::VideoSourceDescriptor::clone | ( | ) | const |
Instantiate a new video source descriptor with values from source.
| LINPHONECXX_PUBLIC std::shared_ptr< linphone::Call > linphone::VideoSourceDescriptor::getCall | ( | ) | const |
Gets the call of a VideoSourceDescriptor.
| LINPHONECXX_PUBLIC std::string linphone::VideoSourceDescriptor::getCameraId | ( | ) | const |
Gets the camera id of a VideoSourceDescriptor.
| LINPHONECXX_PUBLIC std::string linphone::VideoSourceDescriptor::getImage | ( | ) | const |
Gets the image path of a VideoSourceDescriptor.
| LINPHONECXX_PUBLIC linphone::VideoSourceType linphone::VideoSourceDescriptor::getType | ( | ) | const |
Gets the type of a VideoSourceDescriptor.
| LINPHONECXX_PUBLIC void linphone::VideoSourceDescriptor::setCall | ( | const std::shared_ptr< linphone::Call > & | call | ) |
Sets the source of a VideoSourceDescriptor with a call.
Setting a VideoSourceDescriptor with a call will require the lib to have two calls running at the same time. To do so the media resource mode has to be set to LinphoneSharedMediaResources with Core::setMediaResourceMode().
| call | The Call that will be used as a video source. |
| LINPHONECXX_PUBLIC void linphone::VideoSourceDescriptor::setCameraId | ( | const std::string & | cameraId | ) |
Sets the source of a VideoSourceDescriptor with a camera id.
| cameraId | The camera id that will be used as a video source. |
| LINPHONECXX_PUBLIC void linphone::VideoSourceDescriptor::setImage | ( | const std::string & | imagePath | ) |
Sets the source of a VideoSourceDescriptor with an image path.
| imagePath | The image path that will be used as a video source. |