Hi,
A general usecase is RTSP. We have collected the steps in
Jetson Nano FAQ
Q: Is there any example of running RTSP streaming?
We have less experience in RTMP. Could you go to gstreamer forum to get further suggestion? You may ask with software decoder avdec_h264. Once you get a working pipeline, it should work fine to replace with hardware decoder.