rtsp server, several fixes