[vlc-devel] Re: vlc does not play streaming (liveMedia).

Ross Finlayson finlayson at live555.com
Thu Apr 20 11:44:57 CEST 2006


> > Those symptoms suggest that perhaps "select()" might not be working
> > properly on your Zaurus.  I suggest checking whether the function
> > "MultiFramedRTPSource::networkReadHandler()" (in
> > "liveMedia/MultiFramedRTPSource.cpp") ever gets called.  If it
> > doesn't - and you're sure that you really do have incoming RTP
> > packets - then check whether the call to "select()" in
> > "BasicUsageEnvironment/BasicTaskScheduler.cpp" ever returns a value >
> > 0.  If it doesn't, then this suggests that "select()" is not working
> > properly, and there is something wrong with your port of the LIVE555
> > Streaming Media code.
>I've checked the first function (networkReadHandler) and is never
>called. But the function select in BasicTaskScheduler.cpp is called and
>returns a value > 0.

That's odd.  Perhaps the >0 value returned by "select()" is for the 
(TCP) RTSP socket, and not for any of the (UDP) RTP sockets?  If so, 
then this would suggest that you are not receiving any RTP packets at 
all (which would explain why 
"MultiFramedRTPSource::networkReadHandler()" is never called).

All I can suggest at this stage is noting the socket number(s) that 
are passed to the calls to "turnOnNetworkReadHandling()" (in 
"RTPInterface.cpp" and "RTSPClient.cpp"), and comparing those to the 
socket numbers that are indicated as being 'readable' following the 
call to "select()".  I suspect you'll find that you're not receiving 
RTP packets, for some reason (perhaps a bug in your OS???).

In any case, there's no point in looking at the VLC code here, 
because the problem appears to be occurring at a much lower level.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list