Re: [Live-devel] Stop specific streams.

2011-12-09 Thread Jeff Shanab
} The locking is because I have many instances and many threads From: live-devel-boun...@ns.live555.com [mailto:live-devel-boun...@ns.live555.com] On Behalf Of Ross Finlayson Sent: Friday, December 09, 2011 10:41 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Stop s

Re: [Live-devel] Stop specific streams.

2011-12-09 Thread Ross Finlayson
> So I am trying to create a event trigger, but I am unsure on how to proceed. > The taskScheduler->createEventTrigger() function expects a taskFunc object > and I am not sure what this is. It's quite simple. It's this: typedef void TaskFunc(void* clientData); I.e., it's a void functio

Re: [Live-devel] Stop specific streams.

2011-12-09 Thread Marlon Reid
lf Of Ross Finlayson Sent: 08 December 2011 05:43 PM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Stop specific streams. 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 w

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] Stop specific streams.

2011-12-08 Thread Marlon Reid
t: 08 December 2011 10:46 AM To: LIVE555 Streaming Media - development & use Subject: Re: [Live-devel] Stop specific streams. 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.

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