[Live-devel] openRTSP transmission question
Z.T Huang
henxy21 at gmail.com
Wed Jul 1 02:36:40 PDT 2009
Thanks Ross first :-)
I printed each packet before sending and the problem was gone, so....I think
it's probably because streamer send packets too fast ( server and client are
both on the same machine ) so that reciver could not hold them.
Z.T
2009/6/30 Ross Finlayson <finlayson at live555.com>
> I'm trying to send JPEG file, and wrote my JPEGVideoSource(), I use
>> openRTSP as the client, and my input test file is just a frame, but i got
>> some trouble, sometimes openRTSP could got the stream and saved, but
>> sometime it didn't - the recived file is 0 byte.....and always got "BYE" and
>> "TEARDOWN" msg, i don't know where is something wrong, could anyone give the
>> direction to figure out the point or how and where to put some debug code
>> in openRTSP to see if it take packets
>>
>
> When you don't receive a frame, it's probably because one or more of the
> RTP packets got lost. If any of the (very many) RTP packets that make up a
> JPEG frame get lost, then the whole frame is discarded.
>
> JPEG is a very poor codec for video streaming. You should use a more
> efficient codec (specifically for video) instead.
> --
>
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090701/4c38eae0/attachment.html>
More information about the live-devel
mailing list