Bug 239925 - [GStreamer] Telegram can't play media
Summary: [GStreamer] Telegram can't play media
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Other
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: https://web.telegram.org/z/
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-30 03:03 PDT by nc-duenkekl3
Modified: 2022-05-23 05:03 PDT (History)
4 users (show)

See Also:


Attachments
Compressed errorlog (30.45 KB, application/zstd)
2022-05-07 01:09 PDT, nc-duenkekl3
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description nc-duenkekl3 2022-04-30 03:03:39 PDT
I don't see terminal warnings.

Just GIF's, audio recordings and videos are loading forever.

Service https://web.telegram.org/z/
Comment 1 Philippe Normand 2022-05-06 04:59:54 PDT
Can you provide a log please? Set these env vars before calling the app:

export GST_DEBUG="3,webkit*:6"
export GST_DEBUG_FILE=gst.log

Then attach gst.log here, compressed if possible.
Comment 2 nc-duenkekl3 2022-05-07 01:09:28 PDT
Created attachment 458993 [details]
Compressed errorlog

I added the compressed log
Comment 3 Philippe Normand 2022-05-07 02:02:33 PDT
ERROR      webkitmediaplayer MediaPlayerPrivateGStreamer.cpp:1714:handleMessage: Error 1: R1: FetchEvent.respondWith received an error: TypeError: null is not an object (evaluating 'r[1]') (url=https://web.telegram.org/z/progressive/msg163285086-347002:5984307847687570200?fileSize=133251&mimeType=video/mp4)

That looks like an error in the HTTP client code...
Comment 4 nc-duenkekl3 2022-05-07 02:51:55 PDT
Do you mean the GTKWeb Client or the Telegram Web Z code?

It works in firefox and chrome without any problem and the telegram messenger is much faster.
Comment 5 Philippe Normand 2022-05-07 07:01:43 PDT
WebCore's ResourceLoader...
Comment 6 nc-duenkekl3 2022-05-07 08:40:16 PDT
So there is a bug in WebKitGTK?
Is there any open issue I should follow?
Currently I use WebKitGTK 2.36.1
Comment 7 Philippe Normand 2022-05-23 05:03:24 PDT
(In reply to nc-duenkekl3 from comment #6)
> So there is a bug in WebKitGTK?

Likely

> Is there any open issue I should follow?

This one