Hi,
Please refer to steps in Jetson Nano FAQ and see if you can run this successfully:
Q: Is there any example of running RTSP streaming?
If yes, please try
$ ./test-launch "nvarguscamerasrc ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96"
May also try h265 encoding like:
$ ./test-launch "nvarguscamerasrc ! nvvidconv ! nvv4l2h265enc ! h265parse ! rtph265pay name=pay0 pt=96"