Re: [Live-devel] SingleStep getting stuck in Select

2009-11-17 Thread Dario
Disregard this. I fixed the probem. - Original Message - From: Dario To: live-de...@ns.live555.com Sent: Tuesday, November 17, 2009 12:41 PM Subject: [Live-devel] SingleStep getting stuck in Select I have multiple threads each with it's own UsageEnvironmen

[Live-devel] SingleStep getting stuck in Select

2009-11-17 Thread Dario
I have multiple threads each with it's own UsageEnvironment and TaskScheduler. Depending on user input I start and stop each event loop. But when I stop the execution od event loop using the watch variable and try to start it again by reseting the variable to 0 and rerunning the event loop, the l

[Live-devel] Appropriate way to shutdown task scheduler and usage environment.

2009-11-16 Thread Dario
I wrote a video client that at one point needs to shut down all incoming mpeg4 streams and delete usage environent and task scheduler. After that it needs to allocate new set of RTSPClient and start streaming all over again. The only way I managed to get task scheduler to work after the first

[Live-devel] Memory leak on closing client and sessions

2009-10-23 Thread Dario
Hi. I created simple video stream (mpeg4) and I'm using FileSink as default sink. Everything is fine until I try to end all sessions and streaming. Everything ends and every subsession and session is closed but there still apears to be memory leak somwhere. I'm opening the stream like this: 1.

Re: [Live-devel] Closing the media does not free allocated memory?

2009-07-24 Thread Dario
So, I can't free memory allocated by RTSPClient::createNew?I have a wrapper class around RTSPClient which I use in mannner ofCRTSPClient *client = new CRTSPClient(...).And I should not use "delete client;" but internally close open Media and then just reuse "*client" without deleting it?I'm just

[Live-devel] Closing the media does not free allocated memory?

2009-07-22 Thread Dario
Hello. When task scheduler is created via "BasicTaskScheduler::createNew()" and usage environment is created via BasicUsageEnvironment::createNew(scheduler). Allocated memory shows 1892Kb. After I create Medium via: Medium *ourClient = RTSPClient::createNew(usageEnvironment , 0, "app1",0); Memo

[Live-devel] Live chrashes when opening/closing series of RTSPClients

2009-02-27 Thread Dario
Hi. I have a lilst of RTSP Addresses from where we are streaming MPEG4 via FileSink. I traverse each address and create RTSP client from where we stream content for about 2-5 seconds. The creation and deletion of each client is done by functions in plaCommon.cpp wrapped inside a class. At some

[Live-devel] Unable to stream more then 31 streams.

2008-10-02 Thread Dario
Hi. I'm using one process per stream to stream from RTSP server. After creating 31 processes, On 32nd the debug says: recvfrom() error: Groupsock read failed: It dosn't matter if there is 4 processes handling 8 streams or 32 processes alltogether, the limit is 31. Any idea on how to fix this?

[Live-devel] Creating multiple RTSP receiver clients in one process.

2008-09-24 Thread Dario
How many concurrent streams can live555 handle? At one time I would need to handle 64 concurrent streams. What is the best way to create multiple RTSPclients that will all receive MPEG4 stream in the same time? ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.) Vitezićeva 1a, 1 Zagreb, Hrvatska (Vi

Re: [Live-devel] RTSP Response was truncated

2008-09-10 Thread Dario
I understand. But can you tell me is the provided code in the first post right way to end session? And what is the function of AfterPlayingFunc()? ELMA Kurtalj d.o.o. (ELMA Kurtalj ltd.) Vitezićeva 1a, 1 Zagreb, Hrvatska (Viteziceva 1a, 1 Zagreb, Croatia) Tel: 01/303, Faks: 01/303559

[Live-devel] RTSP Response was truncated

2008-09-08 Thread Dario
Hi. I sometimes receive folowing errors when closing session. RTSP response was truncated RTSP response was truncated We received a response not ending with Failed to read response: We received a response not ending with Failed to read response: ERROR Closing session Note that we are using cus

Re: [Live-devel] TaskScheduler::DoEventLoop() question.

2007-08-14 Thread Dario maljur
>If you really want to, you can write your own subclass of "TaskScheduler" and reimplement "doEventLoop()", or write your own subclass of >"BasicTaskScheduler0" and reimplement "SingleStep". I.e., if you wish, you can implement your own event loop (provided that it implements >the interface def

[Live-devel] TaskScheduler::DoEventLoop() question.

2007-08-14 Thread Dario maljur
Hi. I'm using MFC to display streamed media. And I have to implement step by step execution, But DoEventLoop() just takes control. Is there something in live555 I can use instead DoEventLoop Witch executes events step by step, or do I have to modify existing TaskScheduler code to add that myself

[Live-devel] Streaming MPEG4 from live network camera

2007-07-30 Thread Dario maljur
Hi all. Can someone give me instructions on how this is done. I red in FAQ that i can change test*streamer.cpp to do this, by changing test*streamer.cpp file. But this is pretty confusing, couse it says that I can use the name of that file instead of test*??? I don't understand that. Basically