Changeset 6106 for pjproject/trunk/pjmedia/src/pjmedia/stream_info.c
- Timestamp:
- Nov 13, 2019 9:11:04 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/stream_info.c
r5820 r6106 24 24 #include <pj/rand.h> 25 25 26 static const pj_str_t ID_AUDIO = { "audio", 5};27 26 static const pj_str_t ID_IN = { "IN", 2 }; 28 27 static const pj_str_t ID_IP4 = { "IP4", 3}; … … 387 386 388 387 /* Media type must be audio */ 389 if (pj _stricmp(&local_m->desc.media, &ID_AUDIO) != 0)388 if (pjmedia_get_type(&local_m->desc.media) != PJMEDIA_TYPE_AUDIO) 390 389 return PJMEDIA_EINVALIMEDIATYPE; 391 390 … … 602 601 603 602 /* Get local RTCP-FB info */ 604 status = pjmedia_rtcp_fb_decode_sdp (pool, endpt, NULL, local, stream_idx,605 &si->loc_rtcp_fb);603 status = pjmedia_rtcp_fb_decode_sdp2(pool, endpt, NULL, local, stream_idx, 604 si->rx_pt, &si->loc_rtcp_fb); 606 605 if (status != PJ_SUCCESS) 607 606 return status; 608 607 609 608 /* Get remote RTCP-FB info */ 610 status = pjmedia_rtcp_fb_decode_sdp (pool, endpt, NULL, remote, stream_idx,611 &si->rem_rtcp_fb);609 status = pjmedia_rtcp_fb_decode_sdp2(pool, endpt, NULL, remote, stream_idx, 610 si->tx_pt, &si->rem_rtcp_fb); 612 611 if (status != PJ_SUCCESS) 613 612 return status;
Note: See TracChangeset
for help on using the changeset viewer.