mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-29 17:29:20 +00:00
Enable openh264 plugin for "Call recording" test
This commit is contained in:
parent
d6945537fb
commit
f4dc674dc2
3 changed files with 17 additions and 0 deletions
|
|
@ -6685,3 +6685,9 @@ bool_t linphone_core_sdp_200_ack_enabled(const LinphoneCore *lc) {
|
|||
void linphone_core_set_file_transfer_server(LinphoneCore *core, const char * server_url) {
|
||||
core->file_transfer_server=ms_strdup(server_url);
|
||||
}
|
||||
|
||||
void linphone_core_init_openh264(void) {
|
||||
#ifdef HAVE_OPENH264
|
||||
libmsopenh264_init();
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2782,6 +2782,8 @@ LINPHONE_PUBLIC void linphone_core_set_file_transfer_server(LinphoneCore *core,
|
|||
**/
|
||||
LINPHONE_PUBLIC const char ** linphone_core_get_supported_file_formats(LinphoneCore *core);
|
||||
|
||||
LINPHONE_PUBLIC void linphone_core_init_openh264(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -2663,7 +2663,16 @@ static void savpf_to_savpf_call(void) {
|
|||
profile_call(TRUE, TRUE, TRUE, TRUE, "RTP/SAVPF");
|
||||
}
|
||||
|
||||
#ifdef ANDROID
|
||||
#ifdef HAVE_OPENH264
|
||||
extern void libmsopenh264_init(void);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static void call_recording() {
|
||||
#ifdef ANDROID
|
||||
linphone_core_init_openh264();
|
||||
#endif
|
||||
LinphoneCoreManager *marie = linphone_core_manager_new("marie_h264_rc");
|
||||
LinphoneCoreManager *pauline = linphone_core_manager_new("pauline_h264_rc");
|
||||
LinphoneCallParams *marieParams = linphone_core_create_default_call_parameters(marie->lc);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue