Open veks-streamer opened 1 week ago
I haven't yet had the time to address your question, as the current Raspberry Ninja code needs a bit of work to have this work well for that task
But the internal logic would be near identical to the NDI output workflow, but instead of publishing to NDI, you'd publish to the RTMP server. While I can probably prototype this workflow out quickly, testing and debugging issues usually can take a few days with Gstreamer, and I'm bogged down at the moment with tasks.
Another way of doing this is to capture the stream with Rapberry Ninja, and the output to fdsink or something like that, a pipe out option that currently works, and then pipe it to something like FFmpeg, which can perhaps handle the RTMP encoding.
Something to note is that you'll want to transcode the video and audio that get you from VDO.Ninja, as most RTMP destinations won't handle WebRTC streams that well. It technically will work in some cases, but many sites are expecting a high quality stream, with fixed resolution and constant frame rate, and that just isn't the case with most webRTC streams.
Given that you have to transcode anyways, another option might be to use a headless browser with ffmpeg, and stream that way. Something like this: https://github.com/steveseguin/browser-in-a-box
Anyways, I can get this all working, but it will take me a while unfortunatley.
Hi, I'm trying to find a way to stream from VDO.ninja and ingest the stream into raspberry_ninja and then restream it via RTMP. How to do that? Tnx!