Changeset 5671
- Timestamp:
- Oct 6, 2017 6:54:37 AM (7 years ago)
- Location:
- pjproject/trunk/pjmedia/src/pjmedia
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream.c
r5667 r5671 2349 2349 2350 2350 stream->out_rtcp_pkt = pj_pool_alloc(pool, stream->out_rtcp_pkt_size); 2351 pj_bzero(&att_param, sizeof(att_param)); 2351 2352 att_param.stream = stream; 2352 2353 att_param.media_type = PJMEDIA_TYPE_AUDIO; 2353 2354 att_param.user_data = stream; 2354 2355 pj_sockaddr_cp(&att_param.rem_addr, &info->rem_addr); 2355 pj_sockaddr_cp(&att_param.rem_rtcp, &info->rem_rtcp); 2356 if (pj_sockaddr_has_addr(&info->rem_rtcp.addr)) 2357 pj_sockaddr_cp(&att_param.rem_rtcp, &info->rem_rtcp); 2356 2358 att_param.addr_len = pj_sockaddr_get_len(&info->rem_addr); 2357 2359 att_param.rtp_cb = &on_rx_rtp; -
pjproject/trunk/pjmedia/src/pjmedia/vid_stream.c
r5534 r5671 1666 1666 1667 1667 stream->out_rtcp_pkt = pj_pool_alloc(pool, stream->out_rtcp_pkt_size); 1668 pj_bzero(&att_param, sizeof(att_param)); 1668 1669 att_param.stream = stream; 1669 1670 att_param.media_type = PJMEDIA_TYPE_VIDEO; 1670 1671 att_param.user_data = stream; 1671 1672 pj_sockaddr_cp(&att_param.rem_addr, &info->rem_addr); 1672 pj_sockaddr_cp(&att_param.rem_rtcp, &info->rem_rtcp); 1673 if (pj_sockaddr_has_addr(&info->rem_rtcp.addr)) 1674 pj_sockaddr_cp(&att_param.rem_rtcp, &info->rem_rtcp); 1673 1675 att_param.addr_len = pj_sockaddr_get_len(&info->rem_addr); 1674 1676 att_param.rtp_cb = &on_rx_rtp;
Note: See TracChangeset
for help on using the changeset viewer.