webcompat / web-bugs

A place to report bugs on websites.
https://webcompat.com
Mozilla Public License 2.0
746 stars 66 forks source link

www.rrr.org.au - Audio stream doesn't play #39689

Closed webcompat-bot closed 5 years ago

webcompat-bot commented 5 years ago

URL: https://www.rrr.org.au/explore/programs/beat-orgy/episodes/8959-beat-orgy-7-september-2019

Browser / Version: Firefox Mobile 68.0 Operating System: Android 7.1.2 Tested Another Browser: No

Problem type: Video or audio doesn't play Description: Audio stream does not play. Steps to Reproduce: Upgraded Klar from F-Droid on 8 Sept. Worked fine before upgrade.

Browser Configuration
  • None

From webcompat.com with ❤️

softvision-oana-arbuzov commented 5 years ago

Thanks for the report, I was able to reproduce the issue. Audio stream remains in loading state. image

Note: Not reproducible on Firefox Nightly.

Tested with: Browser / Version: Firefox Focus 9.0 (Build #332401210 🦎 65.0.20190125143011) Operating System: Samsung Galaxy S7 Edge (Android 8.0.0) - Resolution 1440 x 2560 pixels (~534 ppi pixel density)

Moving to Needsdiagnosis for further investigation.

karlcow commented 5 years ago

While this is working on RDM. This is failing on the device itself on Firefox Fenix 71.0a1

        {
          key: 'onError',
          value: function () {
            i.default.emit(u.FLASH, {
              type: 'alert',
              message: 'There was an error playing ‘' + this.getTitle() + '’.'
            }),
            i.default.emit(c.playerEvents.SET, {
              status: 'stopped',
              target: {
              }
            })
          }
        },
karlcow commented 5 years ago
<button aria-label="Play" class="audio-summary__button" data-view-toggle-class="{&quot;event&quot;:&quot;click&quot;,&quot;targetSelector&quot;:&quot;.audio-summary__play-button&quot;,&quot;triggerToggleClassName&quot;:&quot;action--play-active&quot;}"
ga-on="click,auxclick,contextmenu" ga-event-category="audio" ga-event-action="play" ga-event-label="Beat Orgy – 7 September 2019">
  <div class="audio-summary__play-button action action--large action--play undefined">
    <span class="play-button">
      <svg width="13" height="15" viewBox="0 0 13 15" xmlns="http://www.w3.org/2000/svg">
        <title>Play</title>
        <path d="M12.357 7.562L.5 14.152c-.277.152-.5.018-.5-.295V.714C0 .402.223.268.5.42l11.857 6.589c.277.152.277.402 0 .553z" fill="#4A4A4A" fill-rule="evenodd"></path>
      </svg>
    </span>
    <span class="pause-button">
      <svg width="14" height="15" viewBox="0 0 14 15" xmlns="http://www.w3.org/2000/svg">
        <title>Pause</title>
        <path d="M13.714 1v12.571a.575.575 0 0 1-.571.572H8.57A.575.575 0 0 1 8 13.57V1c0-.313.259-.571.571-.571h4.572c.312 0 .571.258.571.571zm-8 0v12.571a.575.575 0 0 1-.571.572H.57A.575.575 0 0 1 0 13.57V1C0 .687.259.429.571.429h4.572c.312 0 .571.258.571.571z"
        fill="#FFF" fill-rule="evenodd"></path>
      </svg>
    </span>
  </div>
</button>

I have a hunch this is a racing issue.

Let's move to needscontact.

wisniewskit commented 5 years ago

Not working in Fenix nightly for me, but working in Fennec. The console shows:

Invalid URI. Load of media resource  failed.

This is the request: https://playback.rrr.org.au/od-p1v1/_definst_/mp4:201909/201909071800_7560_128.mp4/playlist.m3u8

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=124304,CODECS="mp4a.40.2"
chunklist_w1949474131.m3u8

This leads to a file like:

#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10.0,
media_w1263697829_0.aac
#EXTINF:10.0,
media_w1263697829_1.aac
#EXTINF:10.0,

And if I try to play the .acc files directly in Fenix, it works fine. So it seems likely that there is something screwing up in the scripts, and trying to download a link that's either stalling, or not the file it should be playing (given the "load of media failed" message above).

Sure enough, Fennec has a <source> element in the document, while Fenix does not:

<source src="https://ondemand.rrr.org.au/getclip?bw=h&amp;l=0&amp;m=r&amp;p=1&amp;s=20190907180000">

And if I make a very reduced test-case, it works in Fennec, but not Fenix:

<audio controls="true">
  <source src="https://ondemand.rrr.org.au/getclip?bw=h&l=0&m=r&p=1&s=20190907180000"/>
</audio>

So this must be a Fenix/GeckoView error. I've filed bz1591251 to figure this out.

lock[bot] commented 5 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue at https://webcompat.com/issues/new if you are experiencing a similar problem.