LISTEN-moe / feedback

Repo to keep track of feedback, suggestions, and issues with the service.
0 stars 1 forks source link

Bring back m3u8 stream file #26

Open Porkepix opened 6 years ago

Porkepix commented 6 years ago

There used to have a .m3u8 standard link file on the homepage. Sadly it disappeared and the link ceased to work. It would be nice to have it back. Especially, sometimes the other way it streams can sometimes be wilful. The m3u8 often was more reliable.

Pitu commented 6 years ago

For the time being you can point your audio player to either https://listen.moe/stream, https://listen.moe/fallback or https://listen.moe/opus

Porkepix commented 6 years ago

So, I tested those, while all of them are working, I would like to for which one what's the supposed differences, and thought at first for example first and third were the same, but it isn't.

Then after understanding this, a couple of questions:

EDIT: For the Audio PTS issue, number after the arrow is 100% of the time the same.

iCrawl commented 6 years ago

/stream plays opus audio wrapped inside a vorbis container /opus plays the raw opus audio /fallback plays mp3 audio

Everything is using those URLs, website switches between /stream and /opus (Firefox) while mobile uses /fallback for a wide support range. I can't really replicate any of the "stuttering" you are experiencing myself. JavaScript doesn't really have to do anything with it, it's a simple <audio></audio> element that does all the heavy lifting. The only thing we do with JavaScript is pausing the audio and reenabling it when you press pause and play.

KPOP urls are: https://listen.moe/kpop/stream, https://listen.moe/kpop/opus and https://listen.moe/kpop/fallback

Maybe, maybe not. At the end of the day even supplying a m3u8 file would be pretty useless. Because all that really is, is like you would open a .txt file now, and put https://listen.moe/kpop/stream in it, save the file and rename it to m3u8. So at the end of the day it's not really needed.

Porkepix commented 6 years ago

Yeah I just said m3u8 because that's what used to be on the website previously. But those URLs are fine too, just that I don't know where those are visible besides this issue.

Can't reproduce the lines in the browser console as of now, gonna take a look if I can get them again.

Any idea for the Audio PTS messages at each track change on the main URL though?

iCrawl commented 6 years ago

This could be an issue in the underlying process of converting and getting the files ready for the stream. We send silence if something takes a bit longer to not interrupt the broadcast of the stream and make users not "restart" their connection to the endpoint.

I'll have a look eventually. Does it impact something? Because if it's just some annoying presentation timestamp displaying issue, I most certainly won't put it high on my list.

Porkepix commented 6 years ago

Maybe this can cause micro-blanks between tracks, but honestly I have no idea. So let's say this is just something pretty annoying. A little bit more annoying though is the time presentation (current time over zero for two of the streams, and a total time over zero for the third)

EDIT for the previous message, URLs used to be on the homepage a long time ago