FS-5278 --resolve
This commit is contained in:
parent
1e251568cc
commit
19a9649a58
|
@ -248,7 +248,7 @@ class FSTrace : public ostream {
|
|||
const char *fmt = "%s";
|
||||
char *func = NULL;
|
||||
|
||||
int bufSize = pptr() - pbase();
|
||||
int64_t bufSize = pptr() - pbase();
|
||||
|
||||
if (c != EOF) {
|
||||
*pptr() = (char)c;
|
||||
|
@ -1947,7 +1947,7 @@ PBoolean FSH323_ExternalRTPChannel::Start()
|
|||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG,"======>FSH323_ExternalRTPChannel::Start() [%p]\n",this);
|
||||
|
||||
const char *err = NULL;
|
||||
switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID] = {0};
|
||||
switch_rtp_flag_t flags[SWITCH_RTP_FLAG_INVALID] = {(switch_rtp_flag_t)0};
|
||||
char * timer_name = NULL;
|
||||
const char *var;
|
||||
|
||||
|
@ -2145,16 +2145,16 @@ PBoolean FSH323_ExternalRTPChannel::Start()
|
|||
}
|
||||
|
||||
if ((!m_conn->m_startRTP)) {
|
||||
flags[SWITCH_RTP_FLAG_DATAWAIT]++;
|
||||
flags[SWITCH_RTP_FLAG_RAW_WRITE]++;
|
||||
flags[SWITCH_RTP_FLAG_DATAWAIT] = (switch_rtp_flag_t)1;
|
||||
flags[SWITCH_RTP_FLAG_RAW_WRITE] = (switch_rtp_flag_t)1;
|
||||
|
||||
if (mod_h323_globals.use_rtp_timer) {
|
||||
flags[SWITCH_RTP_FLAG_USE_TIMER]++;
|
||||
flags[SWITCH_RTP_FLAG_USE_TIMER] = (switch_rtp_flag_t)1;
|
||||
timer_name = mod_h323_globals.rtp_timer_name;
|
||||
} else {
|
||||
if ((var = switch_channel_get_variable(m_fsChannel, "timer_name"))) {
|
||||
timer_name = (char *) var;
|
||||
flags[SWITCH_RTP_FLAG_USE_TIMER]++;
|
||||
flags[SWITCH_RTP_FLAG_USE_TIMER] = (switch_rtp_flag_t)1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue