[Live-devel] DeviceSource
Ross Finlayson
finlayson at live.com
Sun Feb 20 19:09:56 PST 2005
>Now my problem:
>I get a delay of perhaps 30 seconds. This means:
>The live captured video arrived 30 seconds later on the client computer in
>my network.
Delays this large are almost always caused by buffering somewhere. In your
case, the buffering is probably occurring between the capture/encoding of
the video, and your call to "popBuffer()".
>Although the network shows a constant traffic (controled with Windows
>Task-Manager)
>I'm using the VLC player on the client computer.
That's good, because VLC's own buffering is (by default) quite low.
>I have no parsing functions in my code to parse the mpeg4 stream.
Actually, the "MPEG4VideoStreamFramer" object parses the MPEG-4 stream
>Is this necessary though I have a live stream?
It depends. If your "popBuffer()" routine returns complete, discrete
MPEG-4 video frames (one at a time), rather than arbitrary pieces of data,
then you can use a "MPEG4VideoStreamDiscreteFramer" rather than a
"MPEG4VideoStreamFramer". This will reduce a small amount of latency
(although not nearly enough to explain the 30s that you are seeing).
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list