Skip to content

Instantly share code, notes, and snippets.

@jedrus2000
Created January 21, 2019 22:30
Show Gist options
  • Save jedrus2000/d2db4c555190de01675930d2c6d2f373 to your computer and use it in GitHub Desktop.
Save jedrus2000/d2db4c555190de01675930d2c6d2f373 to your computer and use it in GitHub Desktop.
Gstreamer: How pass extra-headers in gst-launch command line ? Example.
gst-launch-1.0 -v souphttpsrc extra-headers=\"extra-headers\,\ HeaderFieldOne\=\(string\)Android\/2.3.15\,\ HeaderFieldTwo\=\(string\)Test\" location=http://static.polskieradio.pl/159a55d7-a4b5-4adc-aaff-a33a814c7320.mp3\?source\=MAIN_PLAYER_PR_V2 ! mpegaudioparse ! mpg123audiodec ! audioconvert ! audioresample ! autoaudiosink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment