Show HN: I built a virtual concert venue for artists(timdaub.github.io)
timdaub.github.io
Show HN: I built a virtual concert venue for artists
https://timdaub.github.io/2020/12/27/wasm-stream/
10 comments
Hi!
I like what you're doing here. I'm the author of a tool that utilises an opus encoder and decoder in the browser to emulate something like modern live streaming. I followed similar ideas to yours but ultimately found that the icecast route was a little bit limited. If you're interested, the code is here: https://github.com/gaxge and is in the process of being refactored/ updated. You can play around with the original prototype here: https://low.show/noisecrypt/app. I use the streaming tools mainly for doing stuff with jamming in combination with randomness but they can be repurposed for normal linear real-time streaming.
I'm also based in Germany, and you're welcome to reach out if you want to talk about this kind of stuff further.
I'm also based in Germany, and you're welcome to reach out if you want to talk about this kind of stuff further.
Oh cool! I'll definitely take a look. Thanks!
Damn it, now you guys are all on my website and the ogg-vorbis encoding (a requirement for the stream working in Chrome) crashed and I'm not at home!
Edit: I finally got home and restarted the ogg stream. Will have to find a solution for it to remain up...
Edit: I finally got home and restarted the ogg stream. Will have to find a solution for it to remain up...
[deleted]
Nice! Are all user inputs mixed into the same stream?
Yes they are. Technically though it's not mixed. All arriving audio data is dumped into a single buffer. Mixing would now be a great way to get rid of the stream's choppyness.
now that so many users are playing simultaneously, I'm a bit annoyed that some leave the website open and stream silence.
Wondering how I could get a user a fair slot to perform now...
Anyways, the stream has become a great source of entropy now :D
now that so many users are playing simultaneously, I'm a bit annoyed that some leave the website open and stream silence.
Wondering how I could get a user a fair slot to perform now...
Anyways, the stream has become a great source of entropy now :D
So, is this like a giant party line?
https://en.m.wikipedia.org/wiki/Party_line_(telephony)
https://en.m.wikipedia.org/wiki/Party_line_(telephony)
Oh I see. Server side mixing would probably be a good option to help it scale better. Cool stuff anyway :)
I now hacked together a really bad mixer. Not sure how it will work live. Let's see.
I usually don't do prod testing but hey I'm on holiday :D
I usually don't do prod testing but hey I'm on holiday :D
OP here. If you wanna know more about the code involved in this project, I'm happy to answer your questions!
WASM-STREAM is really just a quick hack for rc3, the remote chaos communication congress happening right now.
But so far, I found it quite entertaining to listen to the audio stream.
Edit: Provisioned an ogg-vorbis stream now too. So now the blog should play the stream in Chrome-based browsers too.