Liblinphone
5.4.0
|
Object describing policy regarding video streams establishments. More...
#include <video_activation_policy.hh>
Public Member Functions | |
LINPHONECXX_PUBLIC | VideoActivationPolicy (void *ptr, bool takeRef=true) |
LINPHONECXX_PUBLIC _LinphoneVideoActivationPolicy * | cPtr () |
LINPHONECXX_PUBLIC bool | getAutomaticallyAccept () const |
Gets the value for the automatically accept video policy. More... | |
LINPHONECXX_PUBLIC void | setAutomaticallyAccept (bool enable) |
Sets the value for the automatically accept video policy. More... | |
LINPHONECXX_PUBLIC linphone::MediaDirection | getAutomaticallyAcceptDirection () const |
Gets the value for the automatically accept video direction. More... | |
LINPHONECXX_PUBLIC void | setAutomaticallyAcceptDirection (linphone::MediaDirection direction) |
Sets the value for the automatically accept direction. More... | |
LINPHONECXX_PUBLIC bool | getAutomaticallyInitiate () const |
Gets the value for the automatically initiate video policy. More... | |
LINPHONECXX_PUBLIC void | setAutomaticallyInitiate (bool enable) |
Sets the value for the automatically initiate video policy. More... | |
LINPHONECXX_PUBLIC std::shared_ptr< linphone::VideoActivationPolicy > | clone () const |
Instantiates a new VideoActivationPolicy object with same values as the source. More... | |
Object describing policy regarding video streams establishments.
Use setAutomaticallyAccept() and setAutomaticallyInitiate() to tell the Core to automatically accept or initiate video during calls. Even if disabled, you'll still be able to add it later while the call is running.
LINPHONECXX_PUBLIC std::shared_ptr<linphone::VideoActivationPolicy> linphone::VideoActivationPolicy::clone | ( | ) | const |
Instantiates a new VideoActivationPolicy object with same values as the source.
LINPHONECXX_PUBLIC bool linphone::VideoActivationPolicy::getAutomaticallyAccept | ( | ) | const |
Gets the value for the automatically accept video policy.
LINPHONECXX_PUBLIC linphone::MediaDirection linphone::VideoActivationPolicy::getAutomaticallyAcceptDirection | ( | ) | const |
Gets the value for the automatically accept video direction.
LINPHONECXX_PUBLIC bool linphone::VideoActivationPolicy::getAutomaticallyInitiate | ( | ) | const |
Gets the value for the automatically initiate video policy.
LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyAccept | ( | bool | enable | ) |
Sets the value for the automatically accept video policy.
enable | whether or not to enable automatically accept video requests |
LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyAcceptDirection | ( | linphone::MediaDirection | direction | ) |
Sets the value for the automatically accept direction.
direction | the MediaDirection desired for video stream when automatically accepted. |
LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyInitiate | ( | bool | enable | ) |
Sets the value for the automatically initiate video policy.
enable | whether or not to enable automatically initiate video calls |