FFplay
Play RTMP stream
Play
ffplay -i "rtmp://127.0.0.1:1935/live/test"
note
When playing, it buffers some data to ensure smooth playback. To disable buffering and reduce playback latency, you can add the -fflags nobuffer parameter.
Play RTSP stream
Play over TCP
ffplay -rtsp_transport tcp -i "rtsp://127.0.0.1:5544/live/test?token=123"
Play over UDP
ffplay -i "rtsp://127.0.0.1:5544/live/test?token=123"