Changeset 5813
- Timestamp:
- Jun 25, 2018 7:56:57 AM (6 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r5803 r5813 1219 1219 pj_status_t status = 0; 1220 1220 pjmedia_frame frame_out; 1221 unsigned ts_len, rtp_ts_len , samples_per_frame;1221 unsigned ts_len, rtp_ts_len; 1222 1222 void *rtphdr; 1223 1223 int rtphdrlen; … … 1278 1278 frame_out.buf = ((char*)channel->out_pkt) + sizeof(pjmedia_rtp_hdr); 1279 1279 frame_out.size = 0; 1280 1281 /* Calculate number of samples per frame */1282 samples_per_frame = stream->enc_samples_per_pkt;1283 1284 1280 1285 1281 /* If we have DTMF digits in the queue, transmit the digits. -
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r5665 r5813 2735 2735 if (i == ice->rcand_cnt) { 2736 2736 char raddr[PJ_INET6_ADDRSTRLEN]; 2737 void *p; 2738 2737 2739 if (ice->rcand_cnt >= PJ_ICE_MAX_CAND) { 2738 2740 LOG4((ice->obj_name, … … 2749 2751 2750 2752 /* Foundation is random, unique from other foundation */ 2751 rcand->foundation.ptr = (char*) pj_pool_alloc(ice->pool, 36);2753 rcand->foundation.ptr = p = (char*) pj_pool_alloc(ice->pool, 36); 2752 2754 rcand->foundation.slen = pj_ansi_snprintf(rcand->foundation.ptr, 36, 2753 "f%p", 2754 rcand->foundation.ptr); 2755 "f%p", p); 2755 2756 2756 2757 LOG4((ice->obj_name, -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r5774 r5813 3536 3536 pjsip_regc_get_info(next_acc->regc, &tmp_regc_info); 3537 3537 if (transport == tmp_regc_info.transport) { 3538 char tmp_buf[PJSUA_MAX_ACC * 4]; 3539 3540 pj_ansi_strncpy(tmp_buf, acc_id, sizeof(acc_id)); 3541 pj_ansi_snprintf(acc_id, sizeof(acc_id), "%s #%d", 3542 tmp_buf, j); 3538 char tmp_buf[4]; 3539 3540 pj_ansi_snprintf(tmp_buf, sizeof(tmp_buf), " #%d", j); 3541 if (pj_ansi_strlen(acc_id) + pj_ansi_strlen(tmp_buf) < 3542 sizeof(acc_id)) 3543 { 3544 pj_ansi_strcat(acc_id, tmp_buf); 3545 } 3546 3543 3547 shut_acc_ids[shut_acc_cnt++] = j; 3544 3548 if (!shutdown_transport) { 3545 3549 shutdown_transport = 3546 next_acc->cfg.ip_change_cfg.shutdown_tp; 3550 next_acc->cfg.ip_change_cfg.shutdown_tp; 3547 3551 } 3548 3552 }
Note: See TracChangeset
for help on using the changeset viewer.