Results 1 to 2 of 2

Thread: Disconnecting HLS sessions takes very long

  1. #1
    Join Date
    May 2014
    Posts
    1

    Default Disconnecting HLS sessions takes very long

    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):

            session.shutdown();				
            session.rejectSession();		
            session.setAcceptSession(false);
    stream still plays, and in Wowza log I can see strange stuff like:

    INFO server comment - ServerHandler.exceptionCaught[[any]:1935:192.168.1.10]: java.io.IOException: An existing connection was forcibly closed by the remote host
    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.

    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.
    Last edited by mkoslacz; 05-28-2014 at 03:06 AM.

  2. #2
    Join Date
    Jul 2012
    Posts
    299

    Default

    Mateusz,

    It sounds like you have this figured out. Thank you for taking the time to post.

    -Tim

Similar Threads

  1. stream takes too long to play
    By sgtring in forum General Forum
    Replies: 1
    Last Post: 06-25-2013, 07:06 AM
  2. Streams takes long to connect
    By robertookla in forum General Forum
    Replies: 1
    Last Post: 04-26-2012, 03:07 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •