News for hackers. Stuff that matters.
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Saturday November 04, 2023 @06:25PM (#38145812)
Because you could just seek over them?
Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Saturday November 04, 2023 @06:36PM (#38145924)
Yes, but the server knows exactly what frames it has sent you and when. If you don't want to watch the ad frames there's nothing the server can do, but it can make sure to not send you the frame that comes after the ad, until the 10 seconds of the ad has passed since it sent you the last frame before the ad.
Re:NewPipe – The lightweight YouTube experience for Android by tux3 on Saturday November 04, 2023 @07:08PM (#38146166)
That works for pre-roll ads, forcing the client to silence them and wait at best (I believe the Twitch streaming service does this)

For mid-stream ads, that doesn't work. You could pre-fetch the ad and surrounding video early, so that you can watch buffered content while the server thinks an ad is playing.

Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Saturday November 04, 2023 @07:51PM (#38146488)
The server would need to not allow buffering further than the next ad.
Re:NewPipe – The lightweight YouTube experience for Android by ethbr1 on Saturday November 04, 2023 @08:56PM (#38146884)
Multistream client, continually skipping around, and stitching together buffers?
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Sunday November 05, 2023 @06:42AM (#38150272)
Ok, but now you see, it would be a bit more involved than just splicing together static byte streams that even a dumb CDN can accomplish.
Re:NewPipe – The lightweight YouTube experience for Android by meindnoch on Sunday November 05, 2023 @06:39AM (#38150255)
So basically you would disallow pre-buffering more than an ad's worth of video? I'm not sure about that...
Re:NewPipe – The lightweight YouTube experience for Android by alkonaut on Sunday November 05, 2023 @06:44PM (#38157000)
Yes. Or at least not past the next ad. No problem buffering up to the following ad.