Wowza Community

Query string placement in stream URLs

What is the proper placement for querystrings for the different stream types? I saw an article a few days ago that gave examples of the various stream URLs and one of them had the querystring directly after the streamname but before the postfix, but now I can’t find the article… Does the querystring go in different places for different stream types? If so, where is the documentation on that?

Thanks,

Sean

Sean,

For HTTP clients, at the end like this:

http://[wowza-address]:1935/vod/sample.mp4/playlist.m3u8?richard&myPassword

You can process the above in onHTTPSessionCreate

https://www.wowza.com/docs/how-to-control-access-to-http-streams-cupertinostreaming-sanjosestreaming-smoothstreaming-mpegdashstreaming

For RTSP clients add querystring to the end also, then process in onRTPSessionCreate

https://www.wowza.com/docs/how-to-control-access-to-rtsp-rtp-streams

RTMP clients are another case. If you want to process in onConnect you have to add after the application name: rtmp://[wowza-address]:1935/vod?richard&myPassword

But if you want to process in play override you have to add to the stream name.

Richard