Webrtc setup for zedmini and jetson

I am setting up a webrtc hosting stereo video streaming from zedmini on jetson. I already have the signaling server. Also I had sender.html and receiver.html working previous.

Now I want to use gstreamer for the sender because of easy utilizing nvenc to accelerate video encoding. Until now I haven’t been able to make it. Does anyone have experience on this, any example code available?

My main blocker is not able to setup the pipeline correctly. based on my preliminary knowledge of zed-gstreamer, I should use the following commands,

  1. zedsrc to capture camera
  2. videoconvert1: convert raw streaming to BGRA
  3. videoconvert2: convert BGRA to I420 for the comnpetibility of nvenc
  4. wrbrtcbin to send the streaming out
  5. fakesink to setup a buffer and cleanup regularly
  6. I want the stereo video, with left/right both 720P and 60fps

I wonder if there is a simple string to setup the pipeline?

Thanks!