X-Git-Url: http://sjero.net/git/?a=blobdiff_plain;f=coreapi%2Fprivate.h;h=b5312bd60c27634b4f927266c690ef9506a41f91;hb=e1830ee3077b47d1557a1292e8c8b80cd01fc403;hp=ab317c981850205d8eb725bed7c5d2879b8fabb0;hpb=cd5be1531b07261d7ea9d59e4e17d4c91ac6e482;p=linphone diff --git a/coreapi/private.h b/coreapi/private.h index ab317c98..b5312bd6 100644 --- a/coreapi/private.h +++ b/coreapi/private.h @@ -28,15 +28,25 @@ extern "C" { #endif #include "linphonecore.h" +#include "linphonefriend.h" #include "linphone_tunnel.h" #include "linphonecore_utils.h" #include "sal.h" +#include "sipsetup.h" #ifdef HAVE_CONFIG_H #include "config.h" #endif +#include "mediastreamer2/ice.h" #include "mediastreamer2/mediastream.h" #include "mediastreamer2/msconference.h" +#ifdef BUILD_UPNP +#include "upnp.h" +#endif //BUILD_UPNP + +#ifdef MSG_STORAGE_ENABLED +#include "sqlite3.h" +#endif #ifndef LIBLINPHONE_VERSION #define LIBLINPHONE_VERSION LINPHONE_VERSION @@ -68,15 +78,74 @@ struct _LinphoneCallParams{ LinphoneCall *referer; /*in case this call creation is consecutive to an incoming transfer, this points to the original call */ int audio_bw; /* bandwidth limit for audio stream */ LinphoneMediaEncryption media_encryption; + PayloadType *audio_codec; /*audio codec currently in use */ + PayloadType *video_codec; /*video codec currently in use */ + int down_bw; + int up_bw; + int down_ptime; + int up_ptime; + char *record_file; + SalCustomHeader *custom_headers; bool_t has_video; bool_t real_early_media; /*send real media even during early media (for outgoing calls)*/ bool_t in_conference; /*in conference mode */ bool_t pad; - + bool_t low_bandwidth; +}; + +struct _LinphoneCallLog{ + struct _LinphoneCore *lc; + LinphoneCallDir dir; /**< The direction of the call*/ + LinphoneCallStatus status; /**< The status of the call*/ + LinphoneAddress *from; /**