Generate SDP Packets with video

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I hope to use PJSIP sip stack to the soft phone that I'm implementing. My soft phone can capture, render & RTP both video and audio. So I need to add video processing lines to the SDP packets generated by this SIP stack. 
In order to do that I add some lines to endpoint.c and now video lines are created as below.

v=0
o=- 3436167595 3436167595 IN IP4 172.16.7.109
s=pjmedia
c=IN IP4 172.16.7.109
t=0 0
m=audio 4000 RTP/AVP 103 102 104 117 3 0 8 9 101
a=rtcp:4001 IN IP4 172.16.7.109
a=rtpmap:103 speex/16000
a=rtpmap:102 speex/8000
a=rtpmap:104 speex/32000
a=rtpmap:117 iLBC/8000
a=fmtp:117 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
m=video 4000 RTP/AVP 103 102 104 117 3 0 8 9 34
a=rtcp:4001 IN IP4 172.16.7.109
a=rtpmap:103 speex/16000
a=rtpmap:102 speex/8000
a=rtpmap:104 speex/32000
a=rtpmap:117 iLBC/8000
a=fmtp:117 mode=30
a=rtpmap:3 GSM/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:9 G722/8000
a=sendrecv
a=rtpmapVideo:34 telephone-event/8000
a=fmtp:101 0-15

 But the problem is  this does not generate 200 OK SIP packet. Instead it creates a packet with "488 Not Acceptable Here". Can any one please explain me what is the reason for that. Is this because both video and audio port are same? If so how can I change that? 
I'm in a hopeless situation about using PJSIP SIP stack for handle video. So please be kind enough to help me on that. 

Regards,
Anupama Pathirage  



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20081120/116c7b87/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux