From a326159be92ef90bc10b945731680c78f673e05b Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Fri, 15 Jan 2016 09:21:31 +0100 Subject: [PATCH] add logs to track RtpEndpoint enablement --- coreapi/TunnelManager.cc | 1 + coreapi/linphonecall.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/coreapi/TunnelManager.cc b/coreapi/TunnelManager.cc index 128707a12..859394f17 100644 --- a/coreapi/TunnelManager.cc +++ b/coreapi/TunnelManager.cc @@ -89,6 +89,7 @@ RtpTransport *TunnelManager::createRtpTransport(int port){ t->t_close=sCloseRtpTransport; t->t_destroy=sDestroyRtpTransport; t->data=socket; + ms_message("Creating tunnel RTP transport for local virtual port %i", port); return t; } diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index df3624ebe..5429fe377 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -2398,6 +2398,7 @@ void linphone_call_init_audio_stream(LinphoneCall *call){ rtp_session_get_transports(audiostream->ms.sessions.rtp_session,&meta_rtp,&meta_rtcp); if (meta_rtp_transport_get_endpoint(meta_rtp) == NULL) { + ms_message("LinphoneCall[%p]: using custom audio RTP transport endpoint.", call); meta_rtp_transport_set_endpoint(meta_rtp,lc->rtptf->audio_rtp_func(lc->rtptf->audio_rtp_func_data, call->media_ports[call->main_audio_stream_index].rtp_port)); } if (meta_rtp_transport_get_endpoint(meta_rtcp) == NULL) { @@ -2466,6 +2467,7 @@ void linphone_call_init_video_stream(LinphoneCall *call){ rtp_session_get_transports(call->videostream->ms.sessions.rtp_session,&meta_rtp,&meta_rtcp); if (meta_rtp_transport_get_endpoint(meta_rtp) == NULL) { + ms_message("LinphoneCall[%p]: using custom video RTP transport endpoint.", call); meta_rtp_transport_set_endpoint(meta_rtp,lc->rtptf->video_rtp_func(lc->rtptf->video_rtp_func_data, call->media_ports[call->main_video_stream_index].rtp_port)); } if (meta_rtp_transport_get_endpoint(meta_rtcp) == NULL) {