GNOME Bugzilla – Bug 765312
player: Handle authentication
Last modified: 2018-11-03 13:49:19 UTC
See https://github.com/sdroege/gst-player/issues/94 This probably also should get some API improvements in the lower layers, like an authentication interface.
What's our plan for this? Adding user-id and user-pw options to the new config object is trivial but doesn't solve the "ask user about credentials" part. We could also have this kind of interface implemented by GstPlayer: gboolean (GstAuthenticationCallBack *) (GstObject *self, gchar **user, gchar **password, gpointer user_data); void gst_authentication_register_callback (GstObject * self, GstAuthenticationCallBack cb, gpointer user_data); What do you mean about "API improvements in the lower layers"? Like having messages and events asking/providing credentials?
I think we need some kind of authentication interface for elements as a first step. I thought there was a bug about that but I couldn't find it now. Tricky part about the callbacks is that you ideally want them in an application specific thread. Applications usually want to show some UI :)
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/375.