souphttpsrc: user-agent and other properties are not inherited by child souphttpsrc
If I use this command, gstreamer uses default user-agent: "GStreamer souphttpsrc 1.17.0.1 libsoup/2.62.3"
GST_DEBUG=souphttpsrc:7,souputils:7 gst-launch-1.0 souphttpsrc location="https://tsstv-lh.akamaihd.net/i/p-2780_u-_l-_a-_c-DE_e-314050_i-3774540420210921155533_k-_q-_t-hdvideo/fcbayern01_1@68888/master.m3u8?hdnea=exp=1632240033~acl=*~hmac=9c844812157d54ad4921e0484556c4b57d34ec586cd1c866d81f34d7df8881&set-segment-duration=quality" ! decodebin ! autovideosink
If I set specific user-agent, only first souphttpsrc uses this user-agent. Child souphttpsrc still use default user-agent
GST_DEBUG=souphttpsrc:7,souputils:7 gst-launch-1.0 souphttpsrc user-agent="abc" location="https://tsstv-lh.akamaihd.net/i/p-2780_u-_l-_a-_c-DE_e-314050_i-3774540420210921155533_k-_q-_t-hdvideo/fcbayern01_1@68888/master.m3u8?hdnea=exp=1632240033~acl=*~hmac=9c844812157d54ad4921e0484556c4b57d34ec586cd1c866d81f34d7df8881&set-segment-duration=quality" ! decodebin ! autovideosink
See attached files. In the gst-souphttpsrc_err.txt you can see in line 20 user-agent 'abc' and in line 66 default user-agent is used. As the server checks the user-agent (both connection have to be made with the same user-agent), the second connection fails.