add logs to track RtpEndpoint enablement

This commit is contained in:
Simon Morlat 2016-01-15 09:21:31 +01:00
parent fc9dc6093b
commit a326159be9
2 changed files with 3 additions and 0 deletions

View file

@ -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;
}

View file

@ -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) {