save-to-webm is a simple application that shows how to receive audio and video using Pion and then save to WebM container.
jsfiddle.net you should see your Webcam, two text-areas and a 'Start Session' button
In the jsfiddle the top textarea is your browser, copy that and:
Run echo $BROWSER_SDP | save-to-webm
- Paste the SessionDescription into a file.
- Run
save-to-webm < my_file
Copy the text that save-to-webm
just emitted and copy into second text area
Your video and/or audio should be saved to test.webm
, and will continue playing until you stop the application by Ctrl+C.
Congrats, you have used Pion WebRTC! Now start building something cool