Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: how to customize, how long before cupertino session is automatically destroyed ?

  1. #1

    Default how to customize, how long before cupertino session is automatically destroyed ?

    Hi,

    I see that the cupertino sessions are automatically destroyed if it's inactive. I mean, when someone plays a video and after sometime pushes "done" he's back to the browser, but session is not destroyed as yet and stays intact for another couple of seconds.

    I using Links on the web page to allow user to seek to a specific part in the video, Also, i have URls that expire. So what happens is, if the guys takes longer to whatever is the current threshold(pretty low for me, i assume it's around 15 seconds). He can't play the video, since the session just got destroyed and new session cant be created because URL expired too.

    So how can I adjust this time to, say around a minute ?

    Thanks,
    RaBelle

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    RaBelle,

    What version of Wowza are you using? The new 3.1 release has significant updates to the way cupertinostreaming sessions are handled and that will help in your case.

    http://www.wowza.com/forums/content....oduction-Build

    Richard

  3. #3

    Default

    Hi Richard,

    i was using 3.0, just updated to 3.1 now where do i find out what i am looking for ?

    is there some new property in 3.1, apart from validSessionTimeout to make this happen ? because adjusting validSessionTimeout doesnt seem to do the trick

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    if the guys takes longer to whatever is the current threshold(pretty low for me, i assume it's around 15 seconds). He can't play the video, since the session just got destroyed and new session cant be created because URL expired too.
    Are you still experiencing the same problem using 3.1? Expired sessions should recover in 3.1. If this is still a problem can you give us more detail about this, how to replicate, what you are expecting?

    Richard

  5. #5

    Default

    is it something that's not supposed to happen ? i mean, the session should expire if it's idle.

    here are the details,

    i am on "Wowza Media Server 3 Developer Edition (Expires: Jun 09, 2012) 3.1.0 build1410"

    the app works like this,
    the web server generates a URL, based on which session id validated in session create, further in keyRequest() some more
    credentials are checked, before key is passed on to the client.

    now, as i said, the web page has some seek points which allow the user to directly move on to a scene. On RTMP the whole thing can be done in web page itself, but on apple devices, the media player is invoked. So if the guy has to browse to a particular scene(hyperlinked in the webpage), he has to quit the player and come back to safari.

    now here the problem lies, since he has just around 15-20 seconds, It affects the user experience. Though it does try to recreate a session, my app rejects it because the URL has, meanwhile expired.
    hence the guy would have to refresh the page, which is not desirable

    what can i do to prolong this idle time, or is it controlled by safari and not customizable ?

  6. #6

    Default

    Quote Originally Posted by rrlanham View Post
    Are you still experiencing the same problem using 3.1? Expired sessions should recover in 3.1.
    btw, the session does recover, but fails due to my app not able to validate it(the timestamp expires).
    my intetnion is just to prolong the time before destroy.

  7. #7

    Default

    Any suggestions ?

  8. #8
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    I don't. This is something about your application that you have to work through.

    Richard

  9. #9

    Default

    So if i get it right, you are saying that there is no way to customize the session timeout time, right?

  10. #10
    Join Date
    Sep 2011
    Posts
    1,931

    Default

    Hi
    This is clearly a problem with your app as we have ruled out a Wowza fault in this issue.

    btw, the session does recover, but fails due to my app not able to validate it(the timestamp expires).
    my intetnion is just to prolong the time before destroy.
    Jason

Page 1 of 2 12 LastLast

Similar Threads

  1. HTTP Cupertino session Reject
    By pirateMan in forum Server-side Modules and Code Samples Discussion
    Replies: 7
    Last Post: 09-09-2014, 05:44 AM
  2. How to access the headers sent by client in cupertino streaming session?
    By sprocket in forum Server-side Modules and Code Samples Discussion
    Replies: 5
    Last Post: 06-08-2013, 05:37 AM
  3. Calculating average Video bit rate for a cupertino streaming session
    By rabelle.donovon in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 04-10-2012, 08:56 PM

Posting Permissions

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