GstWebRTC - Video Examples - iMX8

From RidgeRun Developer Connection
Jump to: navigation, search



Previous: Audio Examples - iMX8 Index Next: Audio + Video Examples - iMX8




This page presents some GstRrWebRTC Video Examples on iMX8 platform using OpenWebRTC.

H264

Send-Receive Pipeline

The following pipeline starts the call:

gst-launch-1.0 rrwebrtcbin start-call=true signaler=GstOwrSignaler signaler::server_url=https://webrtc.ridgerun.com:8443 \
signaler::session_id=1234ridgerun name=web videotestsrc is-live=true ! queue ! videoconvert ! \
x264enc ! rtph264pay ! queue ! web.video_sink web.video_src ! \
rtph264depay ! avdec_h264 ! videoconvert ! autovideosink async=true


Send-Receive Pipeline

The following pipeline joins the call:

gst-launch-1.0 rrwebrtcbin start-call=false signaler=GstOwrSignaler signaler::server_url=https://webrtc.ridgerun.com:8443 \
signaler::session_id=1234ridgerun name=web videotestsrc is-live=true ! queue ! videoconvert ! \
x264enc ! rtph264pay ! queue ! web.video_sink web.video_src ! \
rtph264depay ! avdec_h264 ! videoconvert ! autovideosink async=true

VP8

Send-Receive Pipeline

The following pipeline starts the call:

gst-launch-1.0 rrwebrtcbin start-call=true signaler=GstOwrSignaler signaler::server_url=https://webrtc.ridgerun.com:8443 \
signaler::session_id=1234ridgerun name=web videotestsrc is-live=true ! queue ! videoconvert ! \
vp8enc ! rtpvp8pay ! queue ! web.video_sink web.video_src ! rtpvp8depay ! \
vp8dec ! videoconvert ! autovideosink async=true


Send-Receive Pipeline

The following pipeline joins the call:

 gst-launch-1.0 rrwebrtcbin start-call=false signaler=GstOwrSignaler signaler::server_url=https://webrtc.ridgerun.com:8443 \
signaler::session_id=1234ridgerun name=web videotestsrc is-live=true ! queue ! videoconvert ! \
vp8enc ! rtpvp8pay ! queue ! web.video_sink web.video_src ! rtpvp8depay ! \
vp8dec ! videoconvert ! autovideosink async=true


Previous: Audio Examples - iMX8 Index Next: Audio + Video Examples - iMX8