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.