Showing results for 
Search instead for 
Do you mean 
If you don't find an answer, please click here to post your question.

HeartBeat - Concurrent Streams increases by one when changing to a different video

0 Kudos
Started ‎08-04-2015 by
Modified ‎08-04-2015 by

HeartBeat - Concurrent Streams increases by one when changing to a different video

by Ooyalan on ‎08-04-2015 01:08 PM (801 Views)

Symptoms

Concurrent Streams increases by one when changing to a different video.

Diagnosis

Solution

Pass on the previous auth_token to the new video request.

Explanation:
Each time the client authorizes it gets a new auth_token back, the client should persist this token every time and pass it to the next authorization and heartbeats
If a valid auth_token is passed in on authorization the active concurrent streams count will not increase.


Therefore, we want to pass in the previous auth_token (exception is the first authorization where the client does not have the auth_token). This will allow a client to quickly surf videos and not increase the active concurrent streams. If no auth token or an invalid auth_token is passed in on authorization.

 

The active concurrent streams count will be increased. If the max concurrent stream limit has been reached and we try to increment the active concurrent streams count authorization will fail.