> To Ross, I assume...  You're so insightful and you always seem to nail it on 
> the head.  Perhaps you can give me some guidance here again.

I already have.  However, I'll try to explain again what I've said in the past. 
 In any case, this will be my last posting on this topic.


> I got my named-pipe (actually I think it was an anonymous pipe) on Windows 
> working with good quality, from my video source software, through Live555, 
> and out to either VLC or custom iPad app.
> 
> But the pipe latency was over one second.  Far too long.

You already know what the problem is.  Your decoder (hardware) has to receive 
frames at a smooth, evenly paced rate, otherwise it won't be able to display 
them properly.  That's what's causing the video quality problems that you're 
seeing.  However, network packets do not, in general, arrive at a smooth, even 
pace.  I.e., network jitter is an unavoidable fact of the Internet.  Even if 
you could overcome it in your own carefully-controlled LAN (with nothing else 
going on), you can't avoid it on other networks, and certainly not on the 
general Internet. To compensate for jitter, buffering (and thus some delay) 
*has to* be added somewhere.  There is no alternative!

The best place to add this buffering is in the receiver - i.e., in your client 
application, so that it can compensate for jitter on the network.  This is what 
VLC does (which is why you say that it plays your stream with no problem), and 
it's what you should do also in your iPad player application.  I.e., add a 
buffer between the "*RTPSource" object and the decoder.  Of course, you can 
tune the size of this buffer to try to keep the (unavoidable) delay low.

If you add buffering to your receiver application, then you won't need to add 
it to your server.  I.e., you then can get rid of your pipe-based server (and 
its associated delay).

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

_______________________________________________
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to