Hi, I've been puzzling over how to do this in Kurento for months now but am stuck. Is it possible to use Kurento to ingest one YouTube live stream and one WebRTC stream simultaneously, extract only the video from the YouTube live stream, combine it with only the audio from the WebRTC stream, mux them together, and restream them to a new YouTube live stream?
In other words, how to replace the sound of a live YouTube stream with audio incoming from a WebRTC client connected to Kurento, and restream it to YouTube? All streams are under our control, so there are no copyright issues. Just technical ones. I'd be grateful for some good tips and examples of how to code this in Kurento. I think it would be an interesting application of Kurento's live mixed media processing.
+----------------------------+
+-----------+ |------------+ +----+ +-----|
| webrtc +----------->-| extract | | | | ||
| client | || audio +->+ M | | R || +-----------+
+-----------+ |------------+ | U +>+ T |------->+ youtube |
|------------+ | X | | M || | live #2 |
+-----------+ || extract +->+ | | P || +-----------+
| youtube +----------->-| video | | | | ||
| live #1 | HLS/ |------------+ +----+ +-----|
+-----------+ DASH +----------------------------+
Kurento