save-to-webm

command
v3.0.0-...-dbc7dd3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 29, 2022 License: MIT Imports: 12 Imported by: 0

README

save-to-webm

save-to-webm is a simple application that shows how to receive audio and video using Pion and then save to WebM container.

Instructions

Open save-to-webm example page

jsfiddle.net you should see your Webcam, two text-areas and a 'Start Session' button

Run save-to-webm with your browsers SessionDescription as stdin

In the jsfiddle the top textarea is your browser, copy that and:

Linux/macOS

Run echo $BROWSER_SDP | save-to-webm

Windows
  1. Paste the SessionDescription into a file.
  2. Run save-to-webm < my_file
Input save-to-webm's SessionDescription into your browser

Copy the text that save-to-webm just emitted and copy into second text area

Hit 'Start Session' in jsfiddle, enjoy your media!

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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL