Re: [Live-devel] Detect proxy name before being proccessed

2012-06-26 Thread Jesús Leganés
Worked like a charm :-D At first i thought about do some polling too, but i was worried about blocking the event-machine, but this solve it in a nice way :-) 2012/6/26 Ross Finlayson : > So my question is, how can i be able to detect when the proxy has > finished with it's configuration and added

Re: [Live-devel] Detect proxy name before being proccessed

2012-06-25 Thread Ross Finlayson
> So my question is, how can i be able to detect when the proxy has > finished with it's configuration and added the camera connection > ProxyServerMediaSubsessions? On thinking about this some more, I came up with a better solution - one that doesn't require a separate 'polling' delayed task. F

Re: [Live-devel] Detect proxy name before being proccessed

2012-06-25 Thread Ross Finlayson
> So my question is, how can i be able to detect when the proxy has > finished with it's configuration and added the camera connection > ProxyServerMediaSubsessions? First, please add the following - as a public member function - to "liveMedia/include/ProxyServerMediaSession.hh": Boolean

Re: [Live-devel] Detect proxy name before being proccessed

2012-06-25 Thread Jesús Leganés
Hi Ross. I have been trying what you told me about subclass RTSPServer and redefine lookupServerMediaSession() and it seems to be the way to go, the downside is that it's not fully working: when i try to connect to the server a new auto-generated proxy is created and returned, but the client conne

Re: [Live-devel] Detect proxy name before being proccessed

2012-06-20 Thread Jesús Leganés
> > If I correctly understand your question, what you're asking for is how to > build a proxy server that installs, on demand, new > "ProxyServerMediaSession" objects, based upon the stream name in the URL > that each client requests. > > Exactly: on our scheme, the proxy names will have embeded th

Re: [Live-devel] Detect proxy name before being proccessed

2012-06-19 Thread Ross Finlayson
> Good afternoon. At this moment i'm needing to be able to detect what is the > proxy name a RTSPServer is being asked for, so i could be able to parse the > request path and build a RTSPProxyServerMedia on demand with the requested > data. If I correctly understand your question, what you're a

[Live-devel] Detect proxy name before being proccessed

2012-06-19 Thread Jesús Leganés
Good afternoon. At this moment i'm needing to be able to detect what is the proxy name a RTSPServer is being asked for, so i could be able to parse the request path and build a RTSPProxyServerMedia on demand with the requested data. The fact is that looking at the documentation and the code, the o