[Asterisk-video] rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received

lizhong zhu zhulizhongum at yahoo.com.cn
Tue Dec 23 20:21:54 CST 2008



--- On Wed, 12/24/08, lizhong zhu <zhulizhongum at yahoo.com.cn> wrote:
From: lizhong zhu <zhulizhongum at yahoo.com.cn>
Subject: 
To: asterisk-video at lists.digium.com
Date: Wednesday, December 24, 2008, 10:20 AM

hello, all of users:
I am trying to test the app_transcoder 								from:
http://sip.fontventa.com/content/view/30/57/
i have installed all necessary packages and the package is loaded into asterisk. 
i have tested the video calls using xlite. they worked. but when i try to from xlite to IP camera, it shows some errors, after then the system hangup. my IP camera supports MPEG4. according to the explantion from offical website:
------------------------------------------------------------------------------------------
Currently only MPEG4-ES to H263 is supported, H263 to H263 would be really soon.

The video encoding and decoding process is performed by libavcodec, so
if you're interested in including any other codec the library actually
supports, just contact me.
-----------------------------------------------------------------------------------------
here, my xlite uses H263, the IP camera uses MPEG4; does it works?
---------sip.conf-----------------------
[2000]
username=2000
type=friend
secret=123456
qualify=yes
host=dynamic
dtmfmode=rfc2833
context=from-internal
videosupport=yes
disable=all
allow=ulaw
allow=alaw
allow=h263
allow=h263p
nat=no
canreinvite=yes
----------extensions.conf----------------------
[from-internal]
exten => 200,1,Dial(SIP/200)
exten => 200,2,Hangup
exten => 202,1,Dial(zap/4)
exten => 202,2,Hangup
exten => 201,1,Answer
exten => 201,2,transcode(,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50)
exten => 201,3,HangUp
[camera]
exten => s,1,Answer
exten => s,2,rtsp(http://192.168.2.200/live.sdp)
;exten =>
 s,2,rtsp(http://192.168.2.200/image/video.asf)

exten => s,3,HangUp
-------------error---------------------------------------------
 Executing [201 at from-internal:1] Answer("SIP/2000-086fb5b0", "") in new stack
    -- Executing [201 at from-internal:2] transcode("SIP/2000-086fb5b0", "|s at camera|h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50") in new stack
    -- Executing [s at camera:1] Answer("Local/s at camera-a091,2", "") in new stack
    -- Executing [s at camera:2] rtsp("Local/s at camera-a091,2", "http://192.168.2.200/image/video.asf") in new stack
[Dec 24 10:02:54] WARNING[2800]: app_transcoder.c:966 app_transcode: >Transcoding [,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50]
[Dec 24 10:02:54] WARNING[2800]: app_transcoder.c:966 app_transcode: >Transcoding [,s at camera,h263 at qcif/fps=10/kb=52/qmin=4/qmax=12/gs=50]
[Dec 24 10:02:54] DEBUG[2800]: app_transcoder.c:497
 VideoTranscoderCreate: -Transcoder [f=0,fps=10,kb=53248,qmin=4,qmax=12,gs=50]
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
[Dec 24 10:02:55] NOTICE[2800]: rtp.c:1288 ast_rtp_read: Unknown RTP codec 126 received from '192.168.2.111'
Segmentation fault (core dumped)
[root at bogon ~]#
----------------------------------------------------------
one more thing confused is this:
exten => s,2,rtsp(http://192.168.2.200/live.sdp)
in my
 understanding is that, rtsp will send images to that IP, but what is live.sdp?
is there any doc for the implemntation. 
any one has an idea for that, please give me a hint!
thanks!



      


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-video/attachments/20081224/75d70d79/attachment.htm 


More information about the asterisk-video mailing list