Commit d1f1b02f authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Fix mediastream tool init

parent 88acc466
......@@ -583,6 +583,7 @@ void setup_media_streams(MediastreamDatas* args) {
ortp_set_log_level_mask(ORTP_MESSAGE|ORTP_WARNING|ORTP_ERROR|ORTP_FATAL);
}
ms_init();
#if TARGET_OS_IPHONE || defined(ANDROID)
#if defined (HAVE_X264) && defined (VIDEO_ENABLED)
......@@ -620,7 +621,6 @@ void setup_media_streams(MediastreamDatas* args) {
args->profile=rtp_profile_clone_full(&av_profile);
args->q=ortp_ev_queue_new();
ms_init();
if (args->mtu) ms_set_mtu(args->mtu);
ms_filter_enable_statistics(TRUE);
ms_filter_reset_statistics();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment