Bug 16316 - Since firefox 38, can't get sound when streaming from radiostation. Get errorcod 3
Summary: Since firefox 38, can't get sound when streaming from radiostation. Get error...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: All Packagers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-07 07:36 CEST by Jan Pihlgren
Modified: 2018-10-07 16:38 CEST (History)
3 users (show)

See Also:
Source RPM: firefox 38.1.0 1mga5
CVE:
Status comment:


Attachments

Description Jan Pihlgren 2015-07-07 07:36:22 CEST
Description of problem:
When trying to connect to sr.se for streaming I get errorcode 3
I get the same problem with firefox in CenOS 7 x86_64.
When using Chrome it run OK
Version-Release number of selected component (if applicable):


How reproducible:
Just start firefox
goto sr.se 
choose P4
Start connection

Steps to Reproduce:
1.
2.
3.

Workaround:
uninstall firefox 38.1.0 1mga5
install firefox-31.7.0-1.mga4.x86_64.rpm


Reproducible: 

Steps to Reproduce:
Comment 1 Samuel Verschelde 2015-07-07 10:56:24 CEST
If you get the same in CentOS, this is probably an upstream firefox bug, isn't it?

Summary: Can't get sound when streaming from radiostation. Get errorcod 3 => Since firefox 38, can't get sound when streaming from radiostation. Get errorcod 3

Comment 2 Jan Pihlgren 2015-07-07 11:46:24 CEST
Maybe, but I think even Mageia 5 is responsile because it works with Chrome
Comment 3 Samuel Verschelde 2015-07-07 12:15:23 CEST
How would be Mageia responsible if it works in Chrome? Firefox and Chrome are two totally different and unrelated pieces of software (and we don't provide Chrome, only chromium).

Does it work with Firefox from mozilla's website?
Comment 4 Jan Pihlgren 2015-07-07 12:54:27 CEST
I have installed   google-chrome-beta 44.0.2403.61 from MCC. That's what I called chrome.
I have now downloaded Mozilla Firefox 39.0 and i works.
So?
Comment 5 Rémi Verschelde 2015-07-07 12:58:02 CEST
(In reply to Jan Pihlgren from comment #4)
> I have installed   google-chrome-beta 44.0.2403.61 from MCC. That's what I
> called chrome.
That's from the MCC indeed, but only if you added the official Google repos, which are not provided by Mageia.

> I have now downloaded Mozilla Firefox 39.0 and i works.
Good to know. Could you try with Firefox 38.1.0 from Mozilla?
Comment 6 Jan Pihlgren 2015-07-07 13:30:25 CEST
Sorry.
I couldn't download older version (38.1) of firefox. I tried but couldn't grt one or find one from Mozillas site.
Comment 7 Rémi Verschelde 2015-07-07 13:59:13 CEST
Yes I admit it's not easy to find. You can fetch it from here: https://www.mozilla.org/en-US/firefox/organizations/all/
Comment 8 Jan Pihlgren 2015-07-07 17:02:00 CEST
Thanks for link.
That one works OK
Comment 9 Samuel Verschelde 2015-07-07 17:25:55 CEST
Interesting results, so it works in mozilla's binary but not in ours. Now we can consider it a bug in our packaging I suppose :)

Assigning to maintainer.

Assignee: bugsquad => thierry.vignaud

Comment 10 Renato Dali 2015-07-08 08:20:56 CEST
Hi, all,

It solved for me, too, so I thought about writing one of my short comments to enrichen this bug... :-)

This is M5 on a less old than usual machine: a Core 2 Duo ~3.0GHz, 2GB RAM, onboard video and sound (HDA Intel). Pretty much standard, has always worked to this day. It's from the December'09 IIRC but nonetheless very fast.

KDE+Xfce+LXDE were installed.

Firefox wouldn't play any sound in HTML5 videos. Flash is not installed and I chose the HTML5 player in that famous Youtube player preference page.

Midori was installed and complained something about packagekit-gstreamer-something wanting gst-* (yeah, forgot to take notes and the message never came back again). To make a long story short, I tried to install phonon-gstreamer, against Luc (Menut) advice in a Mageia wiki (praising phonon-vlc) and it was to no avail.

Tested in W3schools video demo -- no sound, too (just checked with Mozilla's FF and it has sound).

The funny thing is that Last.fm did play song snippets alright. Also, W3schools has an html5 audio test which worked OK.

Summing up, Midori, Qupzilla and Konqueror all had no sound in html5 videos.

Chromium worked on a few (I suppose it could be related to a different audio codec, but it's really just a wild guess), but didn't even play the images without sound in most videos. It just went "an error occurred... try later".

So I decided to look over here and try to find a bug and voilà! Tried the Verscheldes' suggestion and, to my surprise, it really worked!

Tell me if you want some hardware detail, but let me say that outside of html5 videos everything worked in sound in the original installation, from initial KDE TA-DA-like intro to tests in sound configuration. So, it was not a driver problem.

I'm changing this bug's priority to major, if you don't mind, because I believe Chromium still in not up to par regarding site compatibility as Firefox. If FF stops working we'd be in very big trouble.

Two main uses I have call for it IMHO: old machines where perhaps just Konqueror would work besides FF and smartcard login, which until now has only been possible for me in FF (perhaps IE in Wine could do it, but I'd like to find another way before resorting to it).

Thanks, everyone, Mageia is an amazing OS!

CC: (none) => mkare
Severity: normal => major

Comment 11 Samuel Verschelde 2015-07-08 10:21:08 CEST
(In reply to Renato Dali from comment #10)
> Tested in W3schools video demo -- no sound, too (just checked with Mozilla's
> FF and it has sound).

This is not the same bug. There's another bug report for sound issues in HTML5, that was already present with Firefox 31 in Mageia 5.
Comment 12 Renato Dali 2015-07-08 17:25:42 CEST
Well, I was filing a bug with the "No sound in html5 videos in Firefox" and the automatic search didn't return the one you mention.

Ok, did a search with _less_ terms and got bug 15043, which must be the one... I'll post my comment there.

Thanks for the heads up.

(Restoring bug severity to normal, the other is already major).

Severity: major => normal

Comment 13 Jan Pihlgren 2015-08-12 06:19:59 CEST
After update  to 38.2.0 the problem still exist.
Problem with flash-plugin is solved with th update.
Comment 14 Renato Dali 2015-08-12 19:43:25 CEST
Hi, this article seemed to help:

http://www.ghacks.net/2014/07/25/enable-mse-h2-64-support-youtube-firefox-right-now/

Sorry if it's not the case (I tested with some tainted packages installed).
Comment 15 Jan Pihlgren 2015-08-13 05:59:58 CEST
Sorry Renato
It doesn't solved my problem. The problem still exist.
I still get error ERRORCODE: 3
Comment 16 Renato Dali 2015-08-14 03:21:03 CEST
> I still get error ERRORCODE: 3

Too bad. I hope we get to figure this out, eventually.
Comment 17 Jan Pihlgren 2015-09-24 05:14:10 CEST
After geting 38.3.0 update I still get ERRORCOD: 3
Comment 18 Samuel Verschelde 2015-09-24 09:10:00 CEST
What if you install gstreamer1.0-faad and gstreamer1.0-plugins-bad?
Comment 19 Jan Pihlgren 2015-09-24 09:28:32 CEST
gstreamer1.0-faad not available in Mageia repository.
Still Error ERRORCODE: 3
Comment 20 Rémi Verschelde 2015-09-24 09:37:06 CEST
(In reply to Jan Pihlgren from comment #19)
> gstreamer1.0-faad not available in Mageia repository.
> Still Error ERRORCODE: 3

It is available in Tainted Release: http://mageia.madb.org/package/show/application/0/name/gstreamer1.0-faad
It would mean this radio stream required patent-encumbered decoders (as to why it works in Chrome, I guess Google maybe implements its own decoder and has a paid agreement with the patent holder).

If you wish to enable the Tainted repos, you can do it from the Mageia Control Center.
Comment 21 Jan Pihlgren 2015-09-24 13:27:40 CEST
I have installed gstreaner1-faad 1.4.3 with the same result:
ERRORCODE: 3
and no sound!
Comment 22 Jan Pihlgren 2015-10-15 15:42:05 CEST
After update ?plugin? today firefox begin streaming.
Sorry doesn't remeber the name of the plugin.
Comment 23 Jan Pihlgren 2015-10-16 05:25:27 CEST
Correction.
Error still exist!
Comment 24 Jan Pihlgren 2015-10-17 05:43:29 CEST
This is what I think is the problem:
I'm trying to listen at the site http://sverigesradio.se/sida/default.aspx?programid=103. 
In an ccident i discover they have a setup page which is not liked from the main page; http://sverigesradio.se/sida/settings
At the page you have the possibility to choose between 3 different way to setup:
Auto - Allways HTML5 - Allways FLASH
The default was Auto.
And at that position my Firefox 38.3.0 will not play audio.
When I choose FLASH Firefox play the sound as I want. 

My own suggestion of the problem is that version 38 of Firefox have problem to
switch to FLASH when I have the default position Auto. This looks like worked in 
Firefox 31.7 and Firefox 39.
Comment 25 Renato Dali 2015-10-18 23:04:50 CEST
Hi, everyone!

I'd like to post some things I did in case someone wants to try them, too.

Part I - On which Mageia 5 is installed
=======================================

1. Booted the 32-bit Classic Installer DVD (not any live version). BTW, changed this bug's platform to all. Feel free to undo that if appropriate.

2. Selected Brazilian Portuguese (because of national keyboard), "Install" and accepted the license.

3. Manual partition, no additional media, suggested Non-free repository accepted.

4. Accepted the default KDE for a estimated 1h45min installation which took some 40 min. (BTW, I seem to recall that installing from USB is faster...)

5. Configured the users and no additional hardware configuration.

6. NO UPDATE SUPPORT CONFIGURED -- just rebooted to M5.

7. On reboot, did some KDE essential configs & checks (e.g. sound) and tested Youtube html5 video (there was no Flash plugin installed).

Part II - On which I try to reproduce the problem
=================================================

8. Went to the address Jan wrote about: http://sverigesradio.se/sida/default.aspx?programid=103

9. Clicked on the first media link under "Lyssna direkt" ("Listen directly", Google translation).

10. Audio player activated in a panel on top of the page.

11. Messages displayed:

(I) Startar ljed... (Starts audio...)

(II) Ãteransluter... (Reconnecting...)

(... above messages are repeated some 3 to 4 times ...)

(III) Ljudet kunde inte spelas (FELKOD: 3)
      The sound could not be played (Error/Errorcode: 3)

(IV) Det tog för lång tid att hämta ljudet, prova igen
     It took too long to retrieve the sound, try again

12. Clicking on the main (at left) blue "play" icon does activate the player in the top panel, but does not show any error code. That is a source of confusion.

Part III - On which I blindly attempt things which might solve the problem
==========================================================================

13. After some pondering and considering the suggestions posted above, I decided to look for codecs which might help -- particularly, gstreamer ones, though IIRC KDE uses phonon-vlc.

14. While searching for codecs, I found task-codec-audio, and seeing it was not installed, decided to install it from the DVD (i.e. without adding the normal online Mageia repositories -- tainted etc.)

15. Installed and tried the Swedish player again. Same messages, same error code, no sound.

16. I then decided to reboot the system, went to the site and voilà! It worked! I could now hear a Swedish radio without any error code. Not that I understand a single word in Swedish... specially for Latin-derived languages like Portuguese, Spanish, French Italian etc. it is hard to decode what would "error code" be -- next time, Jan, if possible, post the original words, for they make it easier to identify whether we're seeing the same problem as you.

A curiosity: "tid" means time and I supposed it was related to "tide" which meant originally "time"  and is related to the German word "Zeit". No decent Latin-speaking person would ever suspect this link, for tide now means the rise and fall of the sea level.

Also, it would be interesting to know which of the installed codecs solved the problem... task-codec-audio installs a bunch of them.

Part IV - tl;dr
===============

One has to install task-codec-audio and reboot to hear certain streams. No tainted package needed.

HTH.

Hardware: x86_64 => All

Comment 26 Renato Dali 2015-10-19 04:49:47 CEST
Ahem.

Bad news and good news.

The bad news is that I've written all the above using the default installed Firefox from the DVD, which is version 31.7 -- yeah, the one Jan stated that was already working.

So, I added online media and there were some 200+ updates; Firefox was upgraded to 38.3 and it worked! Yay! Maybe someone fixed things in this last version, who knows? If that's the case then thanks to whoever fixed it.

That's the good news. Oh, the radio seems nice, too.

Thanks for reading.
Comment 27 Renato Dali 2015-10-22 13:14:18 CEST
Just to clarify a minor point: this is not the same solution as pointed out by Jan in comment #24, because I didn't install the flash player plug-in to play the radio.
Comment 28 Renato Dali 2015-10-22 16:23:09 CEST
> My own suggestion of the problem is that version 38 of Firefox have problem to
switch to FLASH when I have the default position Auto. This looks like worked in 
Firefox 31.7 and Firefox 39.

I realized I didn't address this particular problem Jan points out -- I just focused in having FF 38+ play the radio without the use of Flash.

Someone please correct me if I got it wrong:

From all I read, I suppose HTML5 is the trend and Flash is being considered a secondary option (mainly because it's considered heavy in certain environments -- e.g. mobile).

FF is HTML5 compliant, so if the Swedish radio offers HTML5 streaming, this option is preferable to Flash. When would the Flash stream be used? IMHO if two conditions hold:

1. FF is in an OS without HTML5 support (provided by system codecs) and
2. The Flash plug-in is available.

I took care to test the bug from new installation from the default (not live) DVD. I made sure the Flash plugin was not available -- even after the task-codec-audio installation and after the updates, I understand Flash was not installed (I also checked to confirm it).

I can only conclude the following (unless I'm wrong about the above conditions):

1. FF (or the version available in M5) assumes Linux has the codecs to play HTML5 and
2. Somehow M5, by default, does not install some important codec (mp3? it seems only recently it has become possible to distribute it, please confirm in recent news).

All this is just merely a theory, perhaps we should contact (upstream) packagers for more solid information.

Anyway, since the radio plays now, and supposing someone can confirm my solution, could we close this bug?
Comment 29 Philippe Leblanc 2016-01-13 23:53:04 CET
For the record, I'm on Firefox 38.5 and there is still no sound via HTML5 player on Youtube. I installed chromium 47 from the repositories and it played youtube videos with sound out of the box so the problem is definitely with Firefox.

CC: (none) => philippel

Comment 30 Marja Van Waes 2018-04-18 12:10:04 CEST
Hi all,

Thank you for having taken the needed time to report this issue!

Did this bug get fixed? If so, please change its status to RESOLVED - FIXED

If it didn't, then we regret that we weren't able to fix it in Mageia 5. Mageia 5 has officially reached its End of Life on December 31st, 2017 https://blog.mageia.org/en/2017/11/07/mageia-5-eol-postponed/
It only continued to get important security updates since then, because we are waiting for a big Plasma5 update in Mageia 6, that'll fix many of the Mageia 5 => 6 upgrade issues.

If you haven't seen that this bug got fixed, then please check whether this bug still exists in Mageia 6. If it does, then please change the Version (near the top, at the left) to "6". If you know it exists in Cauldron, then change Version to Cauldron. If you see it in both Cauldron and Mageia 6, then please set Version to Cauldron and add MGA6TOO on the Whiteboard.

Thanks,
Marja

(In case this report needs to stay open for a supported release: Reassigning to all packagers collectively, since there is currently no registered maintainer for this package.)

Assignee: thierry.vignaud => pkg-bugs
CC: (none) => marja11

Comment 31 katnatek 2018-05-12 01:58:32 CEST
WorksForMe firefox-52.7.3-2.mga6
Comment 32 Marja Van Waes 2018-10-07 16:38:59 CEST
(In reply to katnatek from comment #31)
> WorksForMe firefox-52.7.3-2.mga6

Thanks, so no need to keep this report open for Mga6.

Closing as OLD, since Mga5 is no longer maintained.

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.