[Bug 712131] gst-rtsp-server: allow auth with certificate and no basic authentication

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 12 14:33:36 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=712131
  GStreamer | gst-rtsp-server | git

Aleix Conchillo Flaqué <aleix> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID

--- Comment #4 from Aleix Conchillo Flaqué <aleix at oblong.com> 2013-11-12 22:33:10 UTC ---
OK, marking as INVALID. We can certainly do this with the default token. I just
wanted something that required less typing.

Now we need:

  token =
      gst_rtsp_token_new (GST_RTSP_TOKEN_MEDIA_FACTORY_ROLE, G_TYPE_STRING,
      "all", NULL);

  gst_rtsp_auth_set_default_token (auth, token);

  gst_rtsp_permissions_add_role (permissions, "all",
      GST_RTSP_PERM_MEDIA_FACTORY_ACCESS, G_TYPE_BOOLEAN, TRUE,
      GST_RTSP_PERM_MEDIA_FACTORY_CONSTRUCT, G_TYPE_BOOLEAN, TRUE, NULL);

   gst_rtsp_media_factory_set_permissions (factory, permissions);

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list