After upgrading to the new version of Wowza, I'm ecountering some problems with disconnecting HLS client sessions from my module code. After calling methods described in api (in any configuration):
stream still plays, and in Wowza log I can see strange stuff like:
and then stream is reconnected. Finally, stream stops, but it takes up to 2 minutes to disconnect, and obviously, I would like that to happen immediately.
INFO server comment - ServerHandler.exceptionCaught[[any]:1935:192.168.1.10]: java.io.IOException: An existing connection was forcibly closed by the remote host
Do you know what can cause that behaviour?
EDIT: I have managed to fix that. Due to fact, that HLS can open multiply http sessions, it's necessary to do an authorization for each session. After disconnecting one of sessions because of expired authorization, player was reconnecting, and that next session wasn't checked for authorization, so stream was still playing.