mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-23 00:07:29 +08:00
ec951025fb
* Update examples to import adapters explicitly * Remove default adapters to be imported implicitly
Instructions
Download rtp-send example
go get github.com/pion/mediadevices/examples/rtp-send
Listen RTP
Install GStreamer and run:
gst-launch-1.0 udpsrc port=5000 ! rtpvp8depay ! vp8dec ! videoconvert ! autovideosink
Run rtp-send
Run rtp-send localhost:5000
A video should start playing in your GStreamer window. It's not WebRTC, but pure RTP.
Congrats, you have used pion-MediaDevices! Now start building something cool