Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Ross Finlayson
> Is it possible that entry->fPrev is null? No, I don't think so, because the delay queue is maintained as a doubly-linked list, and delay queue entries are initialized with their "fNext" and "fPrev" links both pointing to themself. The only place where "fPrev" is set to NULL is at line 159 (q

Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Jeremy Noring
On Fri, Nov 4, 2011 at 7:10 AM, Ross Finlayson wrote: > Looking at the code here > http://www.live555.com/liveMedia/doxygen/html/DelayQueue_8cpp-source.html I > see this: > > 00153 > > void Del

Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Francisco Feijoo
OK, thanks your help. -- Francisco Feijoo Software Engineer J2K Video Limited T: +34 654967246 T: +44 020 8133 9388 E: franci...@j2kvideo.com W: www.j2kvideo.com El 04/11/2011, a las 16:05, Ross Finlayson escribió: >> Is this a wrong way to maintain the connection to the camera? Could this be

Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Ross Finlayson
> Is this a wrong way to maintain the connection to the camera? Could this be > the cause of the crash? No, I don't think so. What you're doing looks OK. Just make sure, though, that you stop the periodic calls to timeout() if/when the session ends. (You can do this using "TaskScheduler::uns

Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Francisco Feijoo
Ross, thanks for the quick answer. We are connecting to one camera which needs a keep-alive command continuously. Apart from the doEventLoop() we call this function periodically (60s): void RtspConnection::timeout() { if ( client && session && this->getParameterSupported ) {

Re: [Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Ross Finlayson
> Looking at the code here > http://www.live555.com/liveMedia/doxygen/html/DelayQueue_8cpp-source.html I > see this: > > 00153 void DelayQueue::removeEntry(DelayQueueEntry* entry) { > 00154 if (entry == NULL || entry->fNext == NULL) return; > 00155 > 00156 entry->fNext->fDeltaTimeRemainin

[Live-devel] Segmentation fault in DelayQueue::removeEntry(DelayQueueEntry*)

2011-11-04 Thread Francisco Feijoo
Hello, We have developed a RTSP client using live555. #0 0x006f253d in DelayQueue::removeEntry(DelayQueueEntry*) () from /usr/lib/libvideosource.so.1 #1 0x006f2c4f in DelayQueue::handleAlarm() () from /usr/lib/libvideosource.so.1 #2 0x006f1f70 in BasicTaskScheduler::SingleStep(unsigned int)

Re: [Live-devel] Combining live h.264 and AAC

2011-11-04 Thread Felix Radensky
Hi Ross, On 11/03/2011 04:43 PM, Ross Finlayson wrote: I'm trying to figure out whether it's possible to produce combined h.264 and AAC stream using live555. Yes, you can do this, using separate RTP streams ('subsessions') within a single media 'session'. I.e., in your RTSP server, after y

[Live-devel] Compiling a test program

2011-11-04 Thread Simon Helwig
Hallo, I'm a student from Germany and yesterday I tried to compile one of your test programs, but it didn't work. So I hope you can help me with these problems, because it's very important. First I will tell you, which steps I made, and in which order, to make the program work. So here we go (I