Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ads now autoplay before streams #20

Open
jeffjack00 opened this issue Mar 21, 2019 · 6 comments
Open

Ads now autoplay before streams #20

jeffjack00 opened this issue Mar 21, 2019 · 6 comments

Comments

@jeffjack00
Copy link

Ads now play before a stream when previously (in all past versions of Pocket Plays) ads were bypassed. Restoring this feature would be greatly appreciated.

@SebastianRask
Copy link
Owner

Twitch changed how ads are shown. Can't do much to bypass them.

If you download previous versions of Pocket Plays, which were previously ad free, you'll now see ads.

@jeffjack00
Copy link
Author

alright. thank you for your quick reply.

@alexzorin
Copy link

Can't do much to bypass them.

The stream segments for the ads are clearly marked in the m3u8, so you can "pretend" to stream the preroll ads and just refresh the playlist until you start getting real stream segments.

Not as good as true circumvention, but at least you can save your eyes and ears until the stream is available.

Streamlink currently has a PR open on its Twitch plugin that does this - worked great for me when I tried it.

It seems like it's still possible to entirely skip the non-prerolls as well.

I'm going to try the same strategy in my Pocket Plays fork when I get some time ...

@SebastianRask
Copy link
Owner

The stream segments for the ads are clearly marked in the m3u8, so you can "pretend" to stream the preroll ads and just refresh the playlist until you start getting real stream segments.

@alexzorin
Have you gotten this to work? I am working on a complete rewrite of Pocket Plays and wondering how to best implement this.

@SebastianRask SebastianRask reopened this Jul 8, 2019
@SebastianRask SebastianRask pinned this issue Jul 8, 2019
@alexzorin
Copy link

alexzorin commented Jul 8, 2019

Have you gotten this to work?

Kinda. I replaced the video player in Pocket Plays with ExoPlayer, and then applied a lot of hacks to ExoPlayer to track SCTE35 segments and mute the audio while they play. Extending ExoPlayer to do what I wanted was really painful and I just left it at muted ad audio (and frustratingly, I stopped getting ads while I was working on it).

https://github.com/streamlink/streamlink/pull/2372/files was the PR I worked off to get things going

@SebastianRask
Copy link
Owner

Thanks! I'll see if I can get something working

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants