Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-25 Thread Vadim
Hi Ross, I've successfully implemented the flow described. Thanks for your help. I have and additional, let's say "architecture oriented" question. I have a video source (remote IP camera). I need to implement the next functionality: 1. The remotely installed camera should be co

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-17 Thread Ross Finlayson
Basically, you are combining RTSP client code (e.g., from "playCommon.cpp") with multicast streaming (server) code (e.g., from "testMPEG4VideoStreamer), in a single event loop. The "RTPSource" objects are created with the RTSP client code (they are present after "initiate()" is called on each

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-17 Thread Vadim
My main problem is understanding of code flow. Just want to make your explanations more clear. Am I on the right way? > - Use the client code to open the RTSP streamUsage for RTSPClient here?RTSPClient.createNew(...) (connect to camera's sdp url) RTSPClient.describeURL(...)... M

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-16 Thread Ross Finlayson
Ok, I start to catch your idea. What do you mean by using "RTPSink" objects directly from the corresponding "RTPSource"? - Use the client code to open the RTSP stream - Create each RTPSink - For each RTPSink that you just created, call sink->startPlaying(rtpSource, ...); - Call "doEvent

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-16 Thread Vadim
Ok, I start to catch your idea. What do you mean by using "RTPSink" objects directly from the corresponding "RTPSource"? Using openRTSP sample I went into troubles to get RTPSink from RTSPClient, Media..., ... flow. This is the only point that stops me to check your previous proposal. Thanks,

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-16 Thread Ross Finlayson
A correction to my earlier message. Because your server will be streaming the relayed stream via multicast rather than via unicast, you don't need to write any "ServerMediaSession" subclasses - instead, just continue to use a "PassiveServerMediaSubsession". I think all you need to do is play

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-16 Thread Ross Finlayson
The application is a multithreaded process. Please read the FAQ entry on threads. You should be able to do what you want using a single-threaded process, using a single event loop. Are there any other ways exist to do it using LM infrastructure? Yes, but not without writing more code (se

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-16 Thread Vadim
Thanks for your response. Piping is not an option, because audio stream will be relayed two. The solution you proposed already checked, and seems like a "hacked" way to do it. The application is a multithreaded process. Are there any other ways exist to do it using LM infrastructu

Re: [Live-devel] Live stream from network camera to streaming server object

2008-05-15 Thread Ross Finlayson
I want to develop small application that performs a kind of "advanced relay". I have network camera with hardware MPEG4ES encoder. Running openRTSP to it works perfect. The final idea is to perform a kind of stream relay from the remote network camera device to a local network. After such "r

[Live-devel] Live stream from network camera to streaming server object

2008-05-15 Thread Vadim
Hi, I want to develop small application that performs a kind of "advanced relay". I have network camera with hardware MPEG4ES encoder. Running openRTSP to it works perfect. The final idea is to perform a kind of stream relay from the remote network camera device to a local network. After s