Re: [Live-devel] How to know if server died

2009-03-20 Thread Ross Finlayson
What is the best way to check from a RTSP/RTP client using live libraries that the server has dropped the connection, or if one or more of the RTP streams have died? If a server *voluntarily* closes a connection, it will send a RTCP "BYE" packet, which the client can handle (note, for example,

Re: [Live-devel] H.264 streaming -- Not receiving all packets

2009-03-20 Thread Ross Finlayson
The way I understand it and read the code the currentNALUnitEndsAccessUnit() method returning true marks the end of a frame not a a NAL unit. (remember NAL unit does not always equal frame). Yes, "currentNALUnitEndsAccessUnit()" should return True iff (if and only if) the most recently-delive

[Live-devel] Trap in exit()

2009-03-20 Thread Don McNeill
Hi, I've been working with a playback session with QuickTime and implementing the calls associated with playback; per recommendation: void PlaybackSubsession::seekStreamSource(FramedSource* inputSource, double seekNPT); void PlaybackSubsession::setSourceStreamScale(FramedSource* inputSour

Re: [Live-devel] H.264 streaming -- Not receiving all packets

2009-03-20 Thread Matt Schuckmann
I'm sorry, I just want to clarify this, I agree with Pat, I don't think holding on to the truncated bytes and passing them in the next time will work, at least with the current code in H264FUAFragmenter. The way I understand it and read the code the currentNALUnitEndsAccessUnit() method retur

Re: [Live-devel] H.264 streaming -- Not receiving all packets

2009-03-20 Thread Georges Côté
Thank you all for your help. It looks like the problem is on my side. One engineer, before he left, started implementing Forward Error Correction and it looks like the new code is causing the loss of packets. A modified ReorderingPacketBuffer::storePacket was rejecting the incoming packets whe

[Live-devel] How to know if server died

2009-03-20 Thread Mukherjee, Debargha
Hi, What is the best way to check from a RTSP/RTP client using live libraries that the server has dropped the connection, or if one or more of the RTP streams have died? Thanks, Debargha. ** Debargha Mukherjee, Ph.D. Senior Research Scientist

Re: [Live-devel] H.264 streaming -- Not receiving all packets

2009-03-20 Thread Patrick White
I just fixed this issue in our code last night -- the I-frame from the H.264 encoder was getting truncated because it was too big to fit into the stock OutPacketBuffer buffer (only ~6 bytes). The short answer is that the entire outgoing packet must fit into a buffer -- there's no way for

[Live-devel] Using DigestAuthentication

2009-03-20 Thread Miklos Szeles
Hi, Can anybody explain me how can I use DigestAuthentication? How can I get the required realm an nonce parameters? Many thanks, Miki ___ live-devel mailing list live-devel@lists.live555.com http://lists.live555.com/mailman/listinfo/live-devel

Re: [Live-devel] H.264 streaming -- Not receiving all packets

2009-03-20 Thread Georges Côté
Thank you Matt and Ross. My code is already calling increaseReceiveBufferTo(200) for the video and 10 for the audio. I added a call to increaseSendBufferTo(2000) on the server side but it didn't make a difference. My preliminary investigation tells me that I'm receiving all the pa

Re: [Live-devel] Tutorial for use Classes of livemedia library

2009-03-20 Thread Ross Finlayson
Hello, Im finding library, which i want use for programming frame grabber from FireWire and IP cameras. Im look on LiveMedia and finding any tutorial, which describe realtions and usage of Classes on LiveMedia library? Where i find this tutorial? http://www.live555.com/liveMedia/ http://www.li

Re: [Live-devel] Tutorial for use Classes of livemedia library

2009-03-20 Thread Karel Volejnik
Hi, look at test programs: the best tutorial is souce code itself. :-) Původní zpráva Od: Jaroslav Hurdes Předmět: [Live-devel] Tutorial for use Classes of livemedia library Datum: 20.3.2009 10:28:06 Hello, Im finding library, w

[Live-devel] Tutorial for use Classes of livemedia library

2009-03-20 Thread Jaroslav Hurdes
Hello, Im finding library, which i want use for programming frame grabber from FireWire and IP cameras. Im look on LiveMedia and finding any tutorial, which describe realtions and usage of Classes on LiveMedia library? Where i find this tutorial? Thank you. Jaroslav Hurdes PS: Excuse me for b