Remove all users from RTSP server and allow unrestricted access to stream

ashubhatt ashubhatt.ec at gmail.com
Tue May 21 09:54:29 UTC 2019


Ok, So if I remove the authentication manager from the server using
gst_rtsp_server_set_auth(server, NULL), it works like a charm. However, if I
keep the authentication manager attached with server, it always asks for
username and password.

Also I have tried using the default token:
    token = gst_rtsp_token_new(GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE,
G_TYPE_STRING, "anonymous", NULL);
    gst_rtsp_auth_set_default_token(auth, token);

But whenever I try to set default token, I cannot connect with rtsp stream
anymore! Seems like a bug to me.

Any help is appreciated.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list