[Live-devel] RTSPserver, live source and dynamic opening URL
Nicola Bova - Redsk
niki at redsk.net
Tue Oct 30 18:02:25 PDT 2007
* mar 30 ott (17:01), Ross Finlayson scrive:
> >if the opening url is (for example) rtsp://camera:554/stream0300.mp4
> >I have to configure the compressor to generate a 300kbps stream.
> >if the url is rtsp://camera:554/stream1200.mp4 the stream must be set at
> >1200kbps.
> >
> >Since it is not feasible to add a ServerMediaSession for every possible
> >speed, is there a preferred way to implement a behavior like this?
>
> Yes - you can define your own subclass of "RTSPServer" that redefines
> the "lookupServerMediaSession(streamName)" function to dynamically
> create a new "ServerMediaSession", based on parsing "streamName".
>
> See, for example, how we define and implement "DynamicRTSPServer" in
> the "LIVE555 Media Server" source code (the "mediaServer" directory).
Ok, I've seen, that's what I was looking for. Thank you very much!
ciao
Niki
More information about the live-devel
mailing list