[Live-devel] rtsp url case sensitivity
Ross Finlayson
finlayson at live555.com
Wed Jun 10 12:25:08 PDT 2015
> On Jun 10, 2015, at 8:48 AM, Stas Tsymbalov <tsymbalov at trueconf.ru> wrote:
>
>> I am asking whether it is possible to configure my Live555 RTSP server
>> to ignore the case of stream names in URL's as a workaround for the VLC
>> problem because we don't have a requirement for stream name case
>> sensitivity.
>
> You can do this without changing HashTable class:
> 1. When creating ServerMediaSession to add to RTSPServer convert streamName to lower case.
> 2. Subclass RTSPServer and write your own implementation of lookupServerMediaSession() which would convert supplied (by client) streamName to lower case check if it exists with RTSPServer::lookupServerMediaSession().
Yes, that will work. Good idea. (And probably worth doing if you happen to already be subclassing “RTSPServer”.)
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/20150610/1dd5323f/attachment.html>
More information about the live-devel
mailing list