Liblinphone
5.3.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 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... | |
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 bool linphone::VideoActivationPolicy::getAutomaticallyAccept | ( | ) | const |
Gets the value for the automatically accept video policy.
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::setAutomaticallyInitiate | ( | bool | enable | ) |
Sets the value for the automatically initiate video policy.
enable | whether or not to enable automatically initiate video calls |