[Live-devel] Problem about Application of live555 in embeded system
尧平
yaopingtiankong at 163.com
Mon Nov 1 00:44:39 PDT 2010
Good afternoon,every experts!
Sorry to disturb you. I am a master of Central South University(changsha,hu nan province,china).Recently I am work on research of live555 in embeded system.
I come across a big and strange problem when running the test example "testMPEG4VideoStreamer.cpp" in Embeded system.
But it works well in linux system which runs on PC.
the following shows the details:
Environment:
server
MediaServer:live555
platform:davinci dm6446,with super terminal together to debug.
Embeded system:montavista linux
client
VLC (using vlc to receive video stream ,windows xp)
test project
The test example in file " testProgs": testMPEG4VideoStreamer.cpp
Problem description
server: running testMPEG4VideoStream in super terminal.
client: running vlc in cmd like this,
vlc -vv --extraintf=logger rtsp://192.168.1.120/testStream
test result: vlc in cmd shows that the buffer fills very slow, it takes nearly 5 minutes to grow up from 0% to 100%. And then show a picture, then fills from 0% again...this really bother me a lot. But it works very well when I run this test example in linux system(not embeded linux).
VLC cann't play it.
some debugger already done ,this may help you to analyse convinently:
1、if I run the test testMPEG4VideoStream in linux( not embeded linux),it works well.VLC's buffer fills very fast,and plays smoothly.
2、several days ago,I meet this problem which has been solved :“ Groupsock failed, setsockopt…… no such device”
some one told me that maybe my kernal didn't support multicast. so I got a way to do like following:
solution:
Firstly,recompile the kernal of montavista linux,add the supportIP:MULTICAST,then download.
when I run ifconfigin super terminal, the coming-out messages contain this:UP BROADCAST RUNNING MULTICAST MTU:1500 METRIC 1
this means the system have supported multicast. right?
Secondly add route like this:
route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0
route add default gw "192.168.40.1 " dev eth0
(up here ,the error“ Groupsock failed, setsockopt…… no such device”disappeared)
That's all.
Waiting for your answer.
Thanks!
Ping Yao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20101101/c77bc99b/attachment.html>
More information about the live-devel
mailing list