Merge pull request #1781 in FS/freeswitch from ~DRAGOS_OANCEA/freeswitch-dragos:FS-11919-log to master
* commit '6cfceb6e62b4461cedd712b7486c29bf6cd12fe6': FS-11919: change back loglevel to DEBUG1
This commit is contained in:
commit
538021a6b9
|
@ -2169,7 +2169,7 @@ static int check_rtcp_and_ice(switch_rtp_t *rtp_session)
|
||||||
rtcp_bytes += sizeof(struct switch_rtcp_report_block);
|
rtcp_bytes += sizeof(struct switch_rtcp_report_block);
|
||||||
rtcp_generate_report_block(rtp_session, rtcp_report_block, nack_dup);
|
rtcp_generate_report_block(rtp_session, rtcp_report_block, nack_dup);
|
||||||
rtp_session->rtcp_send_msg.header.count = 1; /* reception report block count */
|
rtp_session->rtcp_send_msg.header.count = 1; /* reception report block count */
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_NOTICE, "Sending RTCP RR (ssrc=%u)\n", rtp_session->ssrc);
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG1, "Sending RTCP RR (ssrc=%u)\n", rtp_session->ssrc);
|
||||||
} else {
|
} else {
|
||||||
struct switch_rtcp_sender_info *rtcp_sender_info;
|
struct switch_rtcp_sender_info *rtcp_sender_info;
|
||||||
rtp_session->rtcp_send_msg.header.type = _RTCP_PT_SR; /* Sender report */
|
rtp_session->rtcp_send_msg.header.type = _RTCP_PT_SR; /* Sender report */
|
||||||
|
@ -2188,7 +2188,7 @@ static int check_rtcp_and_ice(switch_rtp_t *rtp_session)
|
||||||
rtp_session->rtcp_send_msg.header.count = 1; /* reception report block count */
|
rtp_session->rtcp_send_msg.header.count = 1; /* reception report block count */
|
||||||
stats->sent_pkt_count = 0;
|
stats->sent_pkt_count = 0;
|
||||||
}
|
}
|
||||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_NOTICE, "Sending RTCP SR (ssrc=%u)\n", rtp_session->ssrc);
|
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(rtp_session->session), SWITCH_LOG_DEBUG1, "Sending RTCP SR (ssrc=%u)\n", rtp_session->ssrc);
|
||||||
}
|
}
|
||||||
|
|
||||||
rtp_session->rtcp_send_msg.header.length = htons((uint16_t)(rtcp_bytes / 4) - 1);
|
rtp_session->rtcp_send_msg.header.length = htons((uint16_t)(rtcp_bytes / 4) - 1);
|
||||||
|
|
Loading…
Reference in New Issue