Re: [Live-devel] DeviceSource and RTSP server

2011-06-26 Thread Ross Finlayson
2011/6/26 Ross Finlayson : Actually, you have this backwards. Because you are streaming from a live input source, you want only one instance of your "DeviceSource" class to be created at a time, even if more than one client is connecting concurrently. All right, I've moved the initializatio

Re: [Live-devel] DeviceSource and RTSP server

2011-06-26 Thread Piotr Piwko
2011/6/26 Ross Finlayson : > Actually, you have this backwards.  Because you are streaming from a live > input source, you want only one instance of your "DeviceSource" class to be > created at a time, even if more than one client is connecting concurrently. All right, I've moved the initializatio

Re: [Live-devel] DeviceSource and RTSP server

2011-06-26 Thread Ross Finlayson
If there is only one client connected everything is going good, but when the another client will connect, the first instance of DeviceSource doesn't get any data (deliverFrame() and doGetNextFrame() will not be executed) and only current instance is executed. How can I force executing of all Devic

[Live-devel] DeviceSource and RTSP server

2011-06-26 Thread Piotr Piwko
Hello, I have written the my own DeviceSource class which receives data from real-time video input. My goal is to stream data via RTSP server, so in order to achieve this, I created *MediaSubsession implementation which is used as it is presented in testOnDemandRTSPServer demo. *MediaSubsession::c