Live streaming cam usb

Hi, I would like to transmit on my Lan network the video signal of my usb webcam to record use this string:
gst-launch-1.0 -v v4l2src device=/dev/video0 ! videoscale ! ‘video/x-raw,width=1280, height=720, framerate=25/1, format=YUY2’ ! nvvidconv ! omxh264enc control-rate=2 bitrate=6000000 ! queue ! mux. alsasrc ! audio/x-raw,width=16,depth=16,rate=32000,channel=1 ! queue ! audioconvert ! audioresample ! voaacenc ! aacparse ! qtmux name=mux ! filesink location=/mnt/buffer/A_Cam/103_02_03.mp4 sync=false -e

but to transmit via gstreamer server how should I write …?

You can use test-launch to run a RTSP server. Please refer to

A sample command for your reference:

$ ./test-launch 'videotestsrc ! nvvidconv ! nvv4l2h264enc ! h264parse ! queue ! rtph264pay name=pay0 pt=96 audiotestsrc ! voaacenc ! queue ! rtpmp4apay pt=97 name=pay1'

using the 4k camlink device how can I transmit the video using Gstreamer and using it as an application to receive VLC, always remaining in my private Lan?

Looks like your source is v4l2src and alsasrc. The reference pipeline uses videotestsrc and audiotestsrc, you can replace them with your sources.