Changeset 5654 for pjproject/trunk/pjsip/src/pjsua2/media.cpp
- Timestamp:
- Sep 20, 2017 4:34:27 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.