[Live-devel] Supporting Axis camera like RTSP URLs
Ross Finlayson
finlayson at live555.com
Mon Aug 18 02:23:33 PDT 2014
> 1. Is it possible to have the live555 RTSP server supporting typical Axis camera like URLs,
> "rtsp://<server address>:<port>/media.sdp?id=<streamId>&vcodec=<codec name>&audio=<1/0>&...".
> Here query can be infinity long name value pair. If possible what kind of changes I need to do
We don't support this kind of URL by default, because such URLs are not defined in the RTSP standard. However, you could support this by subclassing "RTSPServer" and reimplementing the virtual member function "lookupServerMediaSession()".
> keeping LGPL licensing terms and conditions in mind?
If you subclass the existing classes, but make no change to the existing code (.hh or .cpp files), then - according to the LGPL - you can distribute your product without having to distribute your subclass code. Note, however, other implications of the LGPL, including the fact that you must, upon request, upgrade your product(s) to use the latest version of the "LIVE555 Streaming Media" code. See http://www.live555.com/liveMedia/faq.html#copyright-and-license
>
> 2. Is it possible to have a callback like functionality? My application wants a callback from Live555 as and when new RTSP request comes.
You can do this by subclassing "RTSPServer::RTSPClientConnection", and then reimplementing the virtual member function "handleCmd_DESCRIBE". (Ditto for any other RTSP request that you want to have a 'callback' on.)
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140818/6fce4e99/attachment-0001.html>
More information about the live-devel
mailing list