Changeset 5654
- Timestamp:
- Sep 20, 2017 4:34:27 AM (7 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c
r5636 r5654 689 689 rtcp_addr = (const pj_sockaddr*) rem_rtcp; 690 690 if (rtcp_addr && pj_sockaddr_has_addr(rtcp_addr)) { 691 pj_status_t status;692 693 691 status = pj_sockaddr_synthesize(sock_addr.addr.sa_family, 694 692 &remote_rtcp, rem_rtcp); … … 730 728 { 731 729 unsigned sobuf_size = PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE; 732 pj_status_t status;730 733 731 status = pj_sock_setsockopt_sobuf(udp->rtp_sock, pj_SO_RCVBUF(), 734 732 PJ_TRUE, &sobuf_size); … … 750 748 { 751 749 unsigned sobuf_size = PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE; 752 pj_status_t status; 750 753 751 status = pj_sock_setsockopt_sobuf(udp->rtp_sock, pj_SO_SNDBUF(), 754 752 PJ_TRUE, &sobuf_size); -
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r5636 r5654 2296 2296 */ 2297 2297 pj_sockaddr synth_addr; 2298 pj_status_t status;2299 2298 2300 2299 status = pj_sockaddr_synthesize(pj_AF_INET6(), &synth_addr, … … 2631 2630 */ 2632 2631 for (i = 0; i < ice->rcand_cnt; ++i) { 2633 pj_status_t status;2634 2632 pj_sockaddr synth_addr; 2635 2633 -
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c
r5649 r5654 2591 2591 static pj_status_t cmd_ip_change_handler(pj_cli_cmd_val *cval) 2592 2592 { 2593 pj_status_t status = PJ_SUCCESS;2594 2593 pjsua_ip_change_param param; 2595 2594 PJ_UNUSED_ARG(cval); -
pjproject/trunk/pjsip/src/pjsua2/media.cpp
r5645 r5654 1592 1592 param.info.clock_rate = info.clockRate; 1593 1593 param.info.channel_cnt = info.channelCnt; 1594 param.info.avg_bps = info.avgBps;1595 param.info.max_bps= info.maxBps;1594 param.info.avg_bps = (pj_uint32_t)info.avgBps; 1595 param.info.max_bps= (pj_uint32_t)info.maxBps; 1596 1596 param.info.max_rx_frame_size = info.maxRxFrameSize; 1597 param.info.frm_ptime = info.frameLen;1598 param.info.pcm_bits_per_sample = info.pcmBitsPerSample;1599 param.info.pt = info.pt;1597 param.info.frm_ptime = (pj_uint16_t)info.frameLen; 1598 param.info.pcm_bits_per_sample = (pj_uint8_t)info.pcmBitsPerSample; 1599 param.info.pt = (pj_uint8_t)info.pt; 1600 1600 param.info.fmt_id = info.fmtId; 1601 1601 1602 1602 /* setting part. */ 1603 param.setting.frm_per_pkt = setting.frmPerPkt;1603 param.setting.frm_per_pkt = (pj_uint8_t)setting.frmPerPkt; 1604 1604 param.setting.vad = setting.vad; 1605 1605 param.setting.cng = setting.cng;
Note: See TracChangeset
for help on using the changeset viewer.