#include <video_activation_policy.hh>
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.
◆ clone()
◆ getAutomaticallyAccept()
| LINPHONECXX_PUBLIC bool linphone::VideoActivationPolicy::getAutomaticallyAccept |
( |
| ) |
const |
Gets the value for the automatically accept video policy.
- Returns
- whether or not to automatically accept video requests is enabled
◆ getAutomaticallyAcceptDirection()
Gets the value for the automatically accept video direction.
- Returns
- the MediaDirection that will be set for video stream if automatically accepted.
◆ getAutomaticallyInitiate()
| LINPHONECXX_PUBLIC bool linphone::VideoActivationPolicy::getAutomaticallyInitiate |
( |
| ) |
const |
Gets the value for the automatically initiate video policy.
- Returns
- whether or not to automatically initiate video calls is enabled
◆ setAutomaticallyAccept()
| LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyAccept |
( |
bool |
enable | ) |
|
Sets the value for the automatically accept video policy.
- Parameters
-
| enable | whether or not to enable automatically accept video requests |
◆ setAutomaticallyAcceptDirection()
| LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyAcceptDirection |
( |
linphone::MediaDirection |
direction | ) |
|
Sets the value for the automatically accept direction.
- Parameters
-
| direction | the MediaDirection desired for video stream when automatically accepted. |
◆ setAutomaticallyInitiate()
| LINPHONECXX_PUBLIC void linphone::VideoActivationPolicy::setAutomaticallyInitiate |
( |
bool |
enable | ) |
|
Sets the value for the automatically initiate video policy.
- Parameters
-
| enable | whether or not to enable automatically initiate video calls |
The documentation for this class was generated from the following file:
- video_activation_policy.hh