<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>245851</bug_id>
          
          <creation_ts>2022-09-29 15:36:32 -0700</creation_ts>
          <short_desc>[GStreamer][MSE] High resolution video playback broken on Odysee.com due to unimplemented changeType operation</short_desc>
          <delta_ts>2022-10-10 07:56:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Media</component>
          <version>Other</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Caden Mitchell">caden</reporter>
          <assigned_to name="Xabier Rodríguez Calvar">calvaris</assigned_to>
          <cc>aboya</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>calvaris</cc>
    
    <cc>mcatanzaro</cc>
    
    <cc>philn</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1902208</commentid>
    <comment_count>0</comment_count>
    <who name="Caden Mitchell">caden</who>
    <bug_when>2022-09-29 15:36:32 -0700</bug_when>
    <thetext>System:
Operating System: Fedora 36 (with Gnome on Wayland)
CPU: AMD Ryzen 7 3700X
GPU: AMD Radeon RX 5700 XT
Gnome Web version: 42.2
WebKitGTK version: 2.38.0

I&apos;ve noticed a major issue when trying to stream video content from a site known as Odysee.com. This site is a competitor to YouTube, and is a good example of playback issues. In Chrome and Firefox, a user can select a video quality in the lower right corner. The site typically defaults to 720p, but can be changed to 1080p. Selecting 1080p in Chrome and Firefox will cause the video to load as expected. Selecting this option in WebKitGTK will cause the video to buffer indefinitely, and may even cause the webpage to become completely unresponsive. Now, you may notice there are two &quot;1080p&quot; options on Odysee&apos;s videos. One says &quot;1080p&quot;, the other says &quot;original (1080p)&quot;. Selecting &quot;original&quot; can sometimes work, selecting &quot;1080p&quot; will break the playback. This is a bug I can only replicate on WebKitGTK.

Additionally, some one-off video sites are just absolutely terrible from time to time. It likely depends on the codecs being used, but an example of this is https://videos.trom.tf . I don&apos;t use this site personally or know much about it, but I loaded a video through it once and it just refused to play in 1080p on WebKit, much the same as Odysee, but worked fine in Firefox. It seems the video playback system needs a lot of work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902211</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2022-09-29 15:40:27 -0700</bug_when>
    <thetext>Please try with:

export GST_DEBUG=&quot;3,webkit*:6&quot; GST_DEBUG_FILE=&quot;$HOME/gst.log&quot; GST_DEBUG_NO_COLOR=1 WEBKIT_FORCE_SANDBOX=0

Try to reproduce the bug immediately after starting the browser, doing as little as possible so that the log is as short as possible. Then attach the gst.log.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902214</commentid>
    <comment_count>2</comment_count>
    <who name="Caden Mitchell">caden</who>
    <bug_when>2022-09-29 15:46:01 -0700</bug_when>
    <thetext>My apologies, this command did not output any file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902215</commentid>
    <comment_count>3</comment_count>
      <attachid>462719</attachid>
    <who name="Caden Mitchell">caden</who>
    <bug_when>2022-09-29 15:56:05 -0700</bug_when>
    <thetext>Created attachment 462719
log from gnome web console

Was able to recover a log from the Gnome Web console feature</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902765</commentid>
    <comment_count>4</comment_count>
    <who name="Philippe Normand">philn</who>
    <bug_when>2022-10-03 01:29:50 -0700</bug_when>
    <thetext>NotSupportedError: The operation is not supported.
changeType

That&apos;s a known missing feature of our MSE backend...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903057</commentid>
    <comment_count>5</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2022-10-04 01:15:07 -0700</bug_when>
    <thetext>(In reply to Philippe Normand from comment #4)
&gt; NotSupportedError: The operation is not supported.
&gt; changeType
&gt; 
&gt; That&apos;s a known missing feature of our MSE backend...

I think there is a way, IIRC, to avoid having changeType exposed in the IDL:

    [EnabledBySetting=SourceBufferChangeTypeEnabled] undefined changeType(DOMString type);

I guess we have to disable this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903059</commentid>
    <comment_count>6</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2022-10-04 01:16:35 -0700</bug_when>
    <thetext>If we disable it in the IDL, it won&apos;t be exposed and apps will be able to check if it&apos;s undefined and act accordingly. If they don&apos;t check it, the app will fail but it would be their fault then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1903746</commentid>
    <comment_count>7</comment_count>
    <who name="Xabier Rodríguez Calvar">calvaris</who>
    <bug_when>2022-10-06 07:36:03 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/5085</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904494</commentid>
    <comment_count>8</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-10 07:55:19 -0700</bug_when>
    <thetext>Committed 255345@main (90f34d7eabdf): &lt;https://commits.webkit.org/255345@main&gt;

Reviewed commits have been landed. Closing PR #5085 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1904495</commentid>
    <comment_count>9</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-10-10 07:56:20 -0700</bug_when>
    <thetext>&lt;rdar://problem/100978642&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>462719</attachid>
            <date>2022-09-29 15:56:05 -0700</date>
            <delta_ts>2022-09-29 15:56:05 -0700</delta_ts>
            <desc>log from gnome web console</desc>
            <filename>Console.txt</filename>
            <type>text/plain</type>
            <size>1609</size>
            <attacher name="Caden Mitchell">caden</attacher>
            
              <data encoding="base64">W0xvZ10gICh1aS0yMDIyMDkyOTE1MzkuZDQyODdmMmRhYy5qcywgbGluZSA5MTYpCkNvbm5lY3Rl
ZCB0byBub3RpZmljYXRpb24gV1MgCgoKW0Vycm9yXSBGYWlsZWQgdG8gbG9hZCByZXNvdXJjZTog
dGhlIHNlcnZlciByZXNwb25kZWQgd2l0aCBhIHN0YXR1cyBvZiA0MDMgKEZvcmJpZGRlbikgKHN0
YXR1cywgbGluZSAwKQpbSW5mb10gQ29udGVudCBibG9ja2VyIHByZXZlbnRlZCBmcmFtZSBkaXNw
bGF5aW5nIGh0dHBzOi8vb2R5c2VlLmNvbS9ASHVnZ2JlZXM6MS9jbGlmZm9yZC10aGUtYmlnLXJl
ZC1kb2ctdGVycmlmaWVzLW1lOjggZnJvbSBsb2FkaW5nIGEgcmVzb3VyY2UgZnJvbSBodHRwczov
L3RnMS5hbml2aWV3LmNvbS9hcGkvYWRzZXJ2ZXIvc3B0P0FWX1RBR0lEPTYyNTJiYjZmMjg5NTEz
MzNlYzEwYTdhNiZBVl9QVUJMSVNIRVJJRD02MDFkOWE3ZjJlNjg4YTc5ZTE3YzEyNjUgKHVpLTIw
MjIwOTI5MTUzOS5kNDI4N2YyZGFjLmpzLCBsaW5lIDkxNikKW0Vycm9yXSBWSURFT0pTOiDigJMg
IkVSUk9SOiIKTm90U3VwcG9ydGVkRXJyb3I6IFRoZSBvcGVyYXRpb24gaXMgbm90IHN1cHBvcnRl
ZC4KY2hhbmdlVHlwZQooYW5vbnltb3VzIGZ1bmN0aW9uKSDigJQgdmlkZW8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