Vanilagy / webm-muxer

WebM multiplexer in pure TypeScript with support for WebCodecs API, video & audio.
https://vanilagy.github.io/webm-muxer/demo
MIT License
197 stars 12 forks source link

Need help with YouTube Live Ingest using HLS #18

Closed bezaleel22 closed 1 year ago

bezaleel22 commented 1 year ago

Hi there,

I'm currently working on a project that involves live streaming to YouTube using the HLS protocol. I came across your webm-muxer library and was impressed with its performance and simplicity.

However, I'm having trouble figuring out how to use it with YouTube's Live Ingest feature. I was wondering if you could provide some guidance or examples on how to do this.

Any help would be greatly appreciated!

Thank you.

Best regards.

Vanilagy commented 1 year ago

Ahh, I sadly don't know much about this area. Given YouTube's docs, it seems like you'll need to send the data using DASH (which supports VP9), a protocol that runs over HTTP. Not quite sure what goes into that format, but I recall this PR mentioning live-streaming + DASH. Also no idea if you can also send WebM stuff over HLS.

Not sure if this library alone is enough for live-streaming, seems like in that PR they also used ffmpeg. I personally don't think requiring ffmpeg for anything client-side is a good idea, 'cause it's big and bulky. But yeah, I'm afraid I can't help you very much here, but continue reading into the topic and I'm sure you'll get somewhere!