GstWebRTC - Video Examples - iMX6

From RidgeRun Developer Connection
Jump to: navigation, search



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





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

H264

Bidirectional Element

Example

In this example we use two rrwebrtcbin elements, each sending a video stream and receiving the other video stream.


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=testingrr name=web videotestsrc is-live=true ! \
imxvpuenc_h264 ! rtph264pay ! capssetter caps="application/x-rtp,profile-level-id=(string)42e01f" ! \
web.video_sink web.video_src ! rtph264depay ! h264parse ! imxvpudec ! queue ! imxg2dvideosink sync=false




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