[Live-devel] Recursion

Stas Desyatnlkov stas at mer.co.il
Thu Jul 20 09:18:23 PDT 2006


Hi All,

In my sink class I have the following code:
G729RtpSink::afterGettingFrame1(void* clientData, unsigned frameSize, 
				    unsigned truncBytes, timeval& pts,
unsigned duration_ms)
{
	char stuff[1024];
...
...
	continuePlaying();
}

I get stack overflow error if I allocate things on stack in
afterGettingFrame1.
It usually happens when a lot of data arrives on my sink/source port.
Does anyone experienced this behavior ? Any ideas how to solve it ?

Regards,
Stas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20060720/de47dfd2/attachment-0001.html 


More information about the live-devel mailing list