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 601728 - [rtspsrc] Add username/password properties
[rtspsrc] Add username/password properties
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 601732
 
 
Reported: 2009-11-12 18:40 UTC by Bastien Nocera
Modified: 2009-11-18 16:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[rtspsrc] Add user-id and user-pw properties (4.00 KB, patch)
2009-11-12 19:12 UTC, Bastien Nocera
none Details | Review

Description Bastien Nocera 2009-11-12 18:40:20 UTC
Rather than expecting the user to pass rtsp://user:pass@server/

This would allow me to avoid things like:
   new_mrl = g_strdup_printf ("rtsp://%s:%s@%s",
                               username, password, bvw->priv->mrl + strlen ("rtsp://"));
in Totem.

Given that GstRTSPUrl already does parsing...
Comment 1 Bastien Nocera 2009-11-12 19:12:51 UTC
Created attachment 147597 [details] [review]
[rtspsrc] Add user-id and user-pw properties

So that one doesn't need to modify the URL to have access
to authenticated RTSP streams.
Comment 2 Bastien Nocera 2009-11-12 19:16:20 UTC
Code mostly copied from souphttpsrc. Let me know if you also want gtk-doc annotation added.
Comment 3 Wim Taymans 2009-11-18 16:28:45 UTC
commit efc611e42021de4ddfb603288b8eb3e8a3d5e66b
Author: Bastien Nocera <hadess@hadess.net>
Date:   Thu Nov 12 19:11:18 2009 +0000

    Add user-id and user-pw properties
    
    So that one doesn't need to modify the URL to have access
    to authenticated RTSP streams.
    
    fixes #601728