]> sjero.net Git - linphone/blobdiff - coreapi/linphonecore.h
add low bandwidth call param
[linphone] / coreapi / linphonecore.h
index 5196d93dc17fa31631468c6ed10326e729fa5ae0..0209a37745f230ebf5eb17bc192dc902f5081df9 100644 (file)
@@ -204,7 +204,14 @@ bool_t linphone_call_params_early_media_sending_enabled(const LinphoneCallParams
 bool_t linphone_call_params_local_conference_mode(const LinphoneCallParams *cp);
 void linphone_call_params_set_audio_bandwidth_limit(LinphoneCallParams *cp, int bw);
 void linphone_call_params_destroy(LinphoneCallParams *cp);
-
+/**
+ * @ingroup call_control
+ * Use to know if this call has been configured in low bandwidth mode.
+ * This mode can be automatically discovered thanks to a stun server when activate_edge_workarounds=1 in section [net] of configuration file
+ * <br> When enabled, this param may transform a call request with video in audio only mode.
+ * @return TRUE if low bandwidth has been configured/detected
+ */
+bool_t linphone_call_params_low_bandwidth_enabled(const LinphoneCallParams *cp);
 /**
  * Enum describing failure reasons.
  * @ingroup initializing