On 22/11/2019 08:59, Skale Franz wrote:
The count should be 9 not 0 !
Reference:
08:50:33.465 APP ..SDP Attrribute count: 0
08:50:33.465 APP ..SDP buffer allocated: 294
SDP BUFFER:
v=0
o=- 268531272 32581 IN IP4 xxx.xxx.xxx.xxx
s=-
c=IN IP4 xxx.xxx.xxx.xxx
t=0 0
m=audio 39316 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=direction:both
a=sendrecv
a=rtcp:39317
a=ptime:20
Best regards
*Franz Skale*
Rechenzentrum-Services
Hey there,
you're looking at session level attributes while you actually want to
look at media level attributes.
Try this:
sdp_info->media[ 0 ]->attr_count
Best regards,
Andreas
_______________________________________________
Visit our blog: http://blog.pjsip.org
pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org