Wowza Community

about wowzasessionid

i use module

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

lock username and password

http://wowza-ip/live/test.stream/playlist.m3u8?admin,admin

save m3u8 then edit

http://wowza-ip/live/test.stream/playlist.m3u8?wowzasessionid=2874583&admin,admin

but

hacker

http://wowza-ip/live/test.stream/playlist.m3u8?wowzasessionid=2874583

played

i want block wowzasessionid ?

I’m not sure what you mean by “save m3u8 then edit”, but you can look at and reject a session based on sesssionID in onHTTPSessionCreate

String sessionID = httpSession.getSessionId();

Richard

You use onHTTPSessionCreate, as shown in this example

Richard

Richard same i want one session per one ip

How to if want one session per one ip only?

As far as I am aware, there is nothing built in to handle this.

Salvadore

You can use this module as a strating place for a custom module, and keep track of sessions in a hashmap:

How to limit playback by IP address

If you need further help with this implementation you can post to the find a consultant forum

Salvadore

I’m not sure what you mean by “save m3u8 then edit”, but you can look at and reject a session based on sesssionID in onHTTPSessionCreate

String sessionID = httpSession.getSessionId();

Richard

When I called to check seesion ?

example code ?

Richard

You use onHTTPSessionCreate, as shown in this example

Richard

How to if want one session per one ip only?

As far as I am aware, there is nothing built in to handle this.

Salvadore

How?