Skip to content

Instantly share code, notes, and snippets.

@GiriAakula
Created September 19, 2022 07:50
Show Gist options
  • Save GiriAakula/bf3e919a48e56cda3dc7cc205399cadb to your computer and use it in GitHub Desktop.
Save GiriAakula/bf3e919a48e56cda3dc7cc205399cadb to your computer and use it in GitHub Desktop.
Paused after 2 secs of ad start
Resumed after 1 min
Ad break fucked up
----------------------------------
If the ad break comes in first 10 secs
ad break fucked up
-----------------------------------
On Brand new session
Ad Start time from Api : 92
Actual ad start time in stream: 100
Ad break fucked up
-----------------------------------
Paused after 2 secs of ad start
Resumed after 30 secs
Ad removed as expected
The next ad played fine
The next ad played fine
------------------------------------
Paused 2 secs before ad start
Resumed after 30 secs
player current time jumped from 100 to 32400
Ad break messed up as current time is high. New session not started because the buffer happened at the same time and we prev time got updated.
Tried again
(this time ad break played fine)
-----------------------------------------
Pause for 5 secs curr time doesn't jump
Pause fro 10 secs curr time jumps
----------------------------------------
After buffer, start time from server change to some random number
------------------------------
After buffer, (produced by throttling the network speed) the curr time from player moved from 70 to 33200
--------------------------------------
If the stream starts with ad on new session, ad break is not starting
------------------------------------------
If the stream starts with ad
Ad start time 128
Ad in stream 140
from here all the future ads are fucked up
-----------------------------------------------
This is without any user interaction, continous playback without pause and buffer.
ad start time in api and ad in stream is slowly drifting away apart, drift is small in the range of milliseconds, but on long duration watch the drift is noticeable, above 1500 secs
------------------------------------------------
Pausing for 10 secs doesn't change in curr time in player
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment