How install gstreamer and rtsp server on Jetson tx2

The default version is

nvidia@nvidia-desktop:~$ gst-inspect-1.0 --version
gst-inspect-1.0 version 1.14.5
GStreamer 1.14.5

You may not need to manually install 1.14.2. For installing rtsp server, please run

sudo apt-get install libgstrtspserver-1.0

You can refer to
Jetson Nano FAQ
Q: Is there any example of running RTSP streaming?