Files
mediadevices/examples/simple
Atsushi Watanabe 00bcadc238 Add codec property
Add codec property, which stores general encoding parameters,
to MediaTrackConstraints.
2020-02-10 18:45:34 -08:00
..
2020-02-10 18:45:34 -08:00
2019-12-04 21:58:39 -08:00

Instructions

Download gstreamer-send

go get github.com/pion/mediadevices/examples/simple

Open example page

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

Run simple with your browsers SessionDescription as stdin

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

Linux

Run echo $BROWSER_SDP | simple

Input simple's SessionDescription into your browser

Copy the text that simple just emitted and copy into second text area

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

A video should start playing in your browser above the input boxes, and will continue playing until you close the application.

Congrats, you have used pion-WebRTC! Now start building something cool