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 <[email protected]> > 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 > [email protected] > http://lists.live555.com/mailman/listinfo/live-devel >
_______________________________________________ live-devel mailing list [email protected] http://lists.live555.com/mailman/listinfo/live-devel
