pion / example-webrtc-applications

Examples of WebRTC applications that are large, or use 3rd party libraries
https://pion.ly/
MIT License
1.03k stars 244 forks source link

Add sample pipeline for screen sharing using gstreamer. #121

Open fitraditya opened 2 years ago

fitraditya commented 2 years ago

Description

Add sample pipeline for screen sharing using gstreamer-send.

echo $BROWSER_SDP | gstreamer-send -video-src "ximagesrc startx=1280 show-pointer=true use-damage=0 ! video/x-raw, framerate=30/1 ! videoscale method=0 ! video/x-raw, width=1280, height=720 ! videoconvert ! queue"