After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 765312 - player: Handle authentication
player: Handle authentication
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
unspecified
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-04-20 10:58 UTC by Sebastian Dröge (slomo)
Modified: 2018-11-03 13:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2016-04-20 10:58:14 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.
Comment 1 Guillaume Desmottes 2016-07-25 12:15:22 UTC
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?
Comment 2 Sebastian Dröge (slomo) 2016-07-25 12:30:48 UTC
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 :)
Comment 3 GStreamer system administrator 2018-11-03 13:49:19 UTC
-- 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.