Bug 191678 - [GStreamer] Youtube TV stuck after forward/backward seeking
Summary: [GStreamer] Youtube TV stuck after forward/backward seeking
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-15 05:07 PST by Aleksei Lazarev
Modified: 2019-11-21 03:14 PST (History)
4 users (show)

See Also:


Attachments
Youtube TV stuck after forward/backward seeking (862.71 KB, image/png)
2018-11-15 05:07 PST, Aleksei Lazarev
no flags Details
Youtube TV stuck with nerd stats (450.93 KB, image/png)
2018-11-16 04:54 PST, Aleksei Lazarev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksei Lazarev 2018-11-15 05:07:24 PST
Created attachment 354914 [details]
Youtube TV stuck after forward/backward seeking

MiniBrowser WebKitGTK 2.22.3 built as cmake -DPORT=GTK -DENABLE_OPENGL=ON -DENABLE_GLES2=ON -DENABLE_MINIBROWSER=ON -DCMAKE_BUILD_TYPE=Release -DENABLE_WEBGL=ON -DENABLE_ENCRYPTED_MEDIA=ON -DENABLE_MEDIA_SOURCE=ON -GNinja ..
no http_proxy
1. Run MiniBrowser: ./bin/MiniBrowser --enable-mediasource=true http://youtube.com/tv
2. Select any video
3. Make some seeking actions - forwards and backwards with arrow keys (about 5 times)
4. Video stuck with animated progress circle

It's not reproduced with Safari
Comment 1 Alicia Boya García 2018-11-15 06:57:22 PST
First, make sure you are using GStreamer 1.14.4. Older versions will not work correctly. In particular, older versions will definitively get stuck when doing quality changes or some seeks.

Other than that, if you could provide a reproducible sequence of steps (e.g. «seek to 1:20 while it is not buffered, play 5 seconds, then seek to 0:40 which was not buffered before, then it will get stuck at 1:10»), that would be very helpful. Also, please enable "stats for nerds" to check what codecs you are using and include them in the repro.
Comment 2 Aleksei Lazarev 2018-11-16 04:54:16 PST
Created attachment 355042 [details]
Youtube TV stuck with nerd stats
Comment 3 Aleksei Lazarev 2018-11-16 05:01:10 PST
(In reply to Alicia Boya García from comment #1)
> First, make sure you are using GStreamer 1.14.4. Older versions will not
> work correctly. In particular, older versions will definitively get stuck
> when doing quality changes or some seeks.
> 
> Other than that, if you could provide a reproducible sequence of steps (e.g.
> «seek to 1:20 while it is not buffered, play 5 seconds, then seek to 0:40
> which was not buffered before, then it will get stuck at 1:10»), that would
> be very helpful. Also, please enable "stats for nerds" to check what codecs
> you are using and include them in the repro.

Yes, initially I used 1.14.1. Then I tested the issue with both 1.14.4 and 1.15.0 versions of GStreamer.

Unfortunately the issue is not reproduced at the same seek actions, but it always produced on any video playing in Youtube TV.

Also, after the stuck the video started playing by chunks of 3 seconds every 8 minutes. 3 secs of playing and 8 minutes of stuck with a progress circle.
Comment 4 Philippe Normand 2019-11-21 03:14:14 PST
YoutubeTV now redirects to Youtube. If you still manage to reproduce this bug on Youtube, please reopen this bug :)