I have written an RTSP server using Gstreamer, which may or may not have credentials set to connect to it. I have also written a RTSP client using Qt QMediaPlayer along with Qt