I'm working on a webrtc client that works on the terminal. I need to connect with my Janus server and send audio-only. I give a look in a pion/webrtc and I'm having trouble with grabbing audio with GO on the terminal. How do I do that? Thanks!
I'll tell you my problem: I have a server on Raspberry Pi that won't have a GUI(starts on the terminal). In this same raspberry, I have to run a webrtc client. This is why I have to build this CLI client.
I've tried the webrtc-cli, but I'm still struggling with the audio. The webrtc-cli works fine with text-message.
CodePudding user response:
Yes that is possible!
Check out save-to-disk it shows how to have Pion save incoming audio.
We also have janus-gateway a collection of examples of showing Pion being used with Janus.