regstuff / HeadlessOBSNinjaToRTMP

Run OBS Ninja in Chrome in a Headless Server and push to RTMP outputs
4 stars 0 forks source link

performance? #1

Open nicopace opened 2 years ago

nicopace commented 2 years ago

Thanks @regstuff for this, I wanted to ask you if you tried it on a VPS service of some sort and if you had some feeling in relation to performance. It would be useful as Proof of Concept StreamYard replacement. Thanks!

regstuff commented 2 years ago

@nicopace Hi, I did in fact try it. Got the audio working. Had to hack around with ALSA and pulseaudio quite a bit.

Video was a bit of challenge. Tried using V4L2 and puppeteer for a headless chrome instance. Works kind of ok, but not very robust. Wouldn't recommend it.

Finally dropped all this and went for OvenMediaEngine, which converts between RTMP and WebRTC and vice versa. Works quite well. This would be what you're looking for is my guess.

nicopace commented 2 years ago

Thanks for your response @regstuff ! Any suggested OvenMediaEngine configuration to work with obs.ninja/vdo.ninja ? Will check it out, I am sure this will be useful for many.

regstuff commented 2 years ago

@nicopace OvenMediaEngine won't work with obs.ninja You'd replace obs.ninja with OvenMediaEngine to handle the conference call aspects (which uses WebRTC).

nicopace commented 2 years ago

Oh... I see... It would be a big loss as vdo.ninja is having a lot of development around the topic of livestreaming... Maybe I dive into this more... Shouldn't be too complex as they are both similar... Probably signaling and coordination should be implemented... The director role in cod.ninja would be the one that would control the room...

Anyway... Food for thought, thanks for the feedback!