martink635 / twitchls

Watch Twitch streams via HLS.
87 stars 13 forks source link

[Feature Request] Start stream with sound enabled, and with quality on source #35

Closed Zotikus1001 closed 1 year ago

Zotikus1001 commented 3 years ago

Maybe add an option to do this.

I dislike how we have to un-mute the stream every time, and also change the quality settings.

martink635 commented 3 years ago

Not sure if I can do this, as it automatically sets it (for me its not unmuted and it goes to the highest quality after a couple of seconds). May I ask which OS and browser are you using?

martink635 commented 3 years ago

Oh and do you have the same issue on https://next.twitchls.com/ ?

Zotikus1001 commented 3 years ago

Oh and do you have the same issue on https://next.twitchls.com/ ?

Hi, yes same issue on next, as I've been using it for the dark chat. I'm using Firefox on Windows 10 v20H2

martink635 commented 3 years ago

It's highly likely that I can't do much regarding this, I will investigate a bit more

Zotikus1001 commented 3 years ago

It's highly likely that I can't do much regarding this, I will investigate a bit more

So, I just found out it was Firefox blocking the audio auto play. So sorry for being dumb. :P But I'd still love a way to get it to auto set source quality. Hope there's an easier way, I did find a way, but it would require to edit the js script that twitch uses for video embedding.

martink635 commented 3 years ago

Oh great 👍

Feel free to paste what you found here :)

The thing is I am not using the Twitch SDK, just using iframes

Zotikus1001 commented 3 years ago

ye, thats why I said that, cus I believe from what I read that its impossible to change quality with iframe :(

Zotikus1001 commented 3 years ago

ye, thats why I said that, cus I believe from what I read that its impossible to change quality with iframe :(

So I found a script for Tempermonkey that does this. Added in your website on the "User Includes" in the settings of the script, and its working flawlessly. :)

Maybe you could implement it on your website somehow? Idk.

Heres the script: https://github.com/nomomo/Twitch-Auto-Max-Quality