Re: [Live-devel] How to create a custom sink that streams to both the network and a local file

2011-12-08 Thread Ross Finlayson
> I'm currently doing a live camera streaming project that needs a history > function. I've done some search and come to the solution of creating a custom > sink that is the combination of MPEG4ESVideoRTPSink and FileSink, which will > stream to both a local file and the network. A simpler solu

[Live-devel] How to create a custom sink that streams to both the network and a local file

2011-12-08 Thread Hoang Bui Vu
I'm currently doing a live camera streaming project that needs a history function. I've done some search and come to the solution of creating a custom sink that is the combination of MPEG4ESVideoRTPSink and FileSink, which will stream to both a local file and the network. What I've done is creating

Re: [Live-devel] Creating multiple OpenRtspClient [ or destroying current client in a proper way ]

2011-12-08 Thread Ross Finlayson
> I too am having difficulty shutting down in my rtspclients . When I went to > async, I ended up with things happening after the dtor occasionaly or a > memory leak. If things worked OK when you were using the synchronous interface, but fail only now that you are using the asynchronous interfa

Re: [Live-devel] Stop specific streams.

2011-12-08 Thread Ross Finlayson
> The part that I don't understand that if I only have one doEventLoop for any > number of streams, how can I stop that event loop without stopping all of the > streams? Surely if I stop my one and only eventLoop, then none of the > streams will work. Yes, but the way that programmers typicall

Re: [Live-devel] Creating multiple OpenRtspClient [ or destroying current client in a proper way ]

2011-12-08 Thread Jeff Shanab
I too am having difficulty shutting down in my rtspclients . When I went to async, I ended up with things happening after the dtor occasionaly or a memory leak. I realized the OpenRTSP test app avoids this with an exit, which is not an option from me. I need one app that manages multiple concur

Re: [Live-devel] Stop specific streams.

2011-12-08 Thread Marlon Reid
Hi Ross, Thanks for the reply. The part that I don't understand that if I only have one doEventLoop for any number of streams, how can I stop that event loop without stopping all of the streams? Surely if I stop my one and only eventLoop, then none of the streams will work. I have been exper

Re: [Live-devel] Stop specific streams.

2011-12-08 Thread Ross Finlayson
> Let me first let you how I am creating these multiple streams: > > 1. Create an RTSPServer, if none exists. I make use of only 1 RTSP server. > 2. Create a new ServerMediaSession for each stream. This ServerMediaSession > is saved in a map with a unique identifier for the stream. > 3. Create

[Live-devel] Stop specific streams.

2011-12-08 Thread Marlon Reid
Hi Ross, Thanks to all you assistance in the past, I am now able to play multiple streams from the same port. Everything is working as I need it to, but I have another question: How do I stop a specific stream if multiple streams are running? Let me first let you how I am creating these multip