Bug 168011 - [GStreamer] Add support for HLS streams on YouTube
Summary: [GStreamer] Add support for HLS streams on YouTube
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-08 11:54 PST by what103
Modified: 2017-07-03 07:05 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description what103 2017-02-08 11:54:39 PST
hello. i use wayland and weston without xwayland and x11 depends.
i use epiphany browser which use webkit. i very good look hd youtube, but if i want look live stream yotube, i see your browser no support html5.

html5test.com show 384 from 555

and section Streaming show

Media Source extensions No ✘
DRM support No ✘

Adaptive bit rate
Dynamic Adaptive Streaming / MPEG-DASH No ✘
HTTP Live Streaming / HLS No ✘

Codecs
Video codecs No ✘
Audio codecs No ✘

and 

section video show

video element Yes ✔
Subtitles Yes ✔
Audio track selection Yes ✔
Video track selection Yes ✔
Poster images Yes ✔
Codec detection Yes ✔

Video codecs
MPEG-4 ASP support Yes ✔
H.264 support Yes ✔
H.265 support Yes ✔
Ogg Theora support Yes ✔
WebM with VP8 support Yes ✔
WebM with VP9 support Yes ✔

i send mesage in gnome bugzilla in section epiphany, but there say me what me need go to you.
you can add support streaming hls?
Comment 1 Michael Catanzaro 2017-02-08 18:33:51 PST
We already do have some level of support for HLS. For example, bug #167003 and bug #167946 are both crashes in our HLS code.

I hope the multimedia folks can investigate why HLS does not work on YouTube and why html5test.com reports that we do not support HLS.
Comment 2 what103 2017-02-09 00:03:24 PST
>why html5test.com reports that we do not support HLS.
because not support.

example SPACE & UNIVERSE (Official)

https://www.youtube.com/watch?v=SF7FUU7CThs

not work.

but okay, thanks for reply.
Comment 3 what103 2017-02-09 00:07:00 PST
maybe is show what not so.

{"ns":"yt","el":"detailpage","cpn":"IwRqASB4D327CRNO","docid":"SF7FUU7CThs","ver":2,"referrer":"https://www.youtube.com/results?search_query=youtube+live+nasa","cmt":"0","plid":"AAVIFFNmx62iQe-U","ei":"yyCcWIfYCNae1gKvy6aAAw","fmt":null,"fs":"0","rt":"316.707","of":"6wKxal1djpxpHdd-qLQjgg","adformat":null,"content_v":null,"euri":"","lact":3,"live":"live","cl":"146978537","mos":0,"osid":null,"state":"80","vm":"CAEQAQ","volume":100,"c":"WEB","cver":"1.20170206","cplayer":"UNIPLAYER","cbr":"Chrome","cbrver":"56.0.2891.4","cos":"X11","delay":5,"hl":"ru_RU","cr":"NL","fexp":"9422596,9428398,9431012,9433221,9434046,9434289,9434676,9434905,9439580,9441513,9446054,9446364,9449034,9449243,9450059,9451345,9451873,9456640,9457141,9457494,9460440,9460727,9461984","vct":"0.000","vd":"NaN","vpl":"","vbu":"","vpa":true,"vsk":false,"ven":false,"vpr":1,"vrs":0,"vns":0,"vec":null,"vvol":1,"debug_error":{"errorCode":"html5.unsupportedlive","errorDetail":"nosupported.1;f18.0;f43.0","message":"\u042d\u0442\u043e\u0442 \u0444\u043e\u0440\u043c\u0430\u0442 \u0432\u0438\u0434\u0435\u043e \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f","messageKey":"YTP_HTML5_NO_AVAILABLE_FORMATS_FALLBACK"},"preroll":"1","ismb":144210000,"debug_videoId":"SF7FUU7CThs","0sz":false,"op":"","yof":false,"dis":"","cgr":true,"debug_playbackQuality":"unknown","debug_date":"Thu Feb 09 2017 12:02:16 GMT+0400 (+04)"}
Comment 4 Charlie Turner 2017-07-03 03:46:51 PDT
Most of the YT live issues were fixed by https://bugs.webkit.org/show_bug.cgi?id=144040 AFAICT. YT live does work in my X11 trunk build (I don't have a Wayland build to test with at the moment, but I don't think it's the issue here).

As of today, running MiniBrowser with --enable-mediasource, I find Media Source extensions are supported, and so is HLS. The test for HLS is just checking mime types like canPlayType('application/vnd.apple.mpegURL') != '' || canPlayType('audio/mpegurl') != ''), which doesn't really tell you how well HLS is supported, and in our case, it's not perfect: https://bugs.webkit.org/show_bug.cgi?id=172240

We also have advertised support for all the video codecs and support for the MP4/{H.264|AAC} streaming codecs.
Comment 5 Michael Catanzaro 2017-07-03 07:05:48 PDT
(Note that media source is disabled at compile time for users, so it's not really useful to test that configuration unless you're working on developing it.)