Results 1 to 2 of 2

Thread: getting httpSession from IHTTPStreamerCupertinoVODActionNotify3 event

  1. #1
    Join Date
    Jul 2015

    Default getting httpSession from IHTTPStreamerCupertinoVODActionNotify3 event

    I want to reject session based on the number of chunks sent. I used onFillChunkEnd event, and in there I rejected session like this: fileIndex.getHttpStreamerSession().rejectSession();

    where fieInfo is IHTTPStreamerCupertinoIndex.

    This indeed rejects the session, but my player is just stuck. If I used HTTPStreamerSessionCupertino session object inside of onHTTPCupertinoStreamingSessionCreate only thing I had to do is call rejectSession() on it, and player would stop with message about stream not available. My question is what is the difference, and should I fire some event manually in order to let browser know that stream is done.

  2. #2
    Join Date
    May 2013



    I'd suggest alternatively counting requests on a per chunk level by using the following API set:

    public void onHTTPStreamerRequest(IHTTPStreamerSession httpSession, IHTTPStreamerRequestContext reqContext)
    public void onHTTPCupertinoStreamerRequest(HTTPStreamerSessionCupertino httpSession, HTTPStreamerCupertinoRequestContext reqContext)
    public void onHTTPSanJoseStreamerRequest(HTTPStreamerSessionSanJose httpSession, HTTPStreamerSanJoseRequestContext reqContext)
    public void onHTTPSmoothStreamingStreamerRequest(HTTPStreamerSessionSmoothStreamer httpSession, HTTPStreamerSmoothStreamingRequestContext reqContext)
    public void onHTTPMPEGDashStreamerRequest(HTTPStreamerSessionMPEGDash httpSession, HTTPStreamerMPEGDashRequestContext reqContext)
    With the previous method, I think its more relating to the chunks created by the packetizer vs being delivered to the client.


Similar Threads

  1. httpSession.getCookieStr() = always "null"
    By pidboretskyy in forum General Forum
    Replies: 0
    Last Post: 04-24-2013, 12:36 AM
  2. HTTPSession alias issue
    By Exelle in forum General Forum
    Replies: 3
    Last Post: 01-21-2013, 10:02 AM
  3. Switching an httpSession between streams
    By robw21 in forum General Forum
    Replies: 0
    Last Post: 06-19-2012, 09:41 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