[Bug 765314] player: Add way to override HTTP (+RTSP, etc) user agent

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 22 13:50:48 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=765314

--- Comment #7 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Guillaume Desmottes from comment #6)
>  
> Something like this then?
> 
> void gst_player_config_set_user_agent (GstStructure *config, const gchar
> *user_name);
> const gchar * gst_player_config_get_user_agent (GstStructure *config);
> 
> void gst_player_set_config (GstPlayer *player, GstStructure *config);
> [...]

That's exactly what I was thinking of, yes. Just also add a get_config().
Basically mirror the buffer pool configuration API ;)

Setting the config should only be allowed when the player is stopped.

-- 
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