I have GStreamer 1.0 installed,
From console on linux this work fine:
gst-launch-1.0 souphttpsrc location=URL_TO_M3U8 ! hlsdemux ! filesink location=videoO