Hi
below is my gstreamer code to stream the video from camera connected to Jetson nano to other device in UDP protocol.
gst-launch-1.0 -v v4l2src device=/dev/video0 \
! "video/x-raw, format=(string)UYVY, width=(int)2592, height=(int)1944,framerate=24/1" \
! nvvidconv \
! "video/x-raw(memory:NVMM),format=(string)I420" \
! nvv4l2h264enc preset-level=1 MeasureEncoderLatency=1 maxperf-enable=true insert-vui=true insert-sps-pps=1 bitrate=10000000 control-rate=1 vbv-size=734000 \
! h264parse \
! rtph264pay \
! udpsink clients=192.168.18.18:38298 sync=false
I have downloaded the file of WebRTC_R32.5.1_aarch64.tbz2 to Jetson nano.
I have noticed that this command
./peerconnection_server
can open a WebRTC server.
My questions are:
- How to modify my gstreamer script as above to stream the video from camera to PC with WebRTC protocol?
- How to receive and display the video in PC, gstreamer script or web browser?
Thanks
CX