Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Error playing Audio!

Open duub opened this issue 8 years ago • 90 comments

  • [x] I have searched open and closed issues for duplicates
  • [X] I am submitting a bug report for existing functionality that does not work as intended
  • [X] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [X] This isn't a feature request or a discussion topic

Bug description

Can't hear any audio message received.

Steps to reproduce

  • receive and audio message
  • push play button

Actual result: get "Error playing Audio" Expected result: Hear the audio message

Device info

Device: Moto G4 Plus Android version: 7.0 Signal version: 4.19.3

Link to debug log

https://debuglogs.org/f1b2c0fcde01e98637fbd08ed68629ee486c030800d18ea14fa59fff56917e88

duub avatar Apr 30 '18 13:04 duub

I experience the same issue since several months with my Huawei Mate 9.

https://debuglogs.org/713ea46e5a16704dd0003d1506d8322296e2b8a524e2b8ed2f943ae188092422

mlsxlist avatar May 01 '18 05:05 mlsxlist

~~Was able to reproduce this bug and narrowed down a bit what might be causing the issue. Audio files (MP3) with length of around 25-24 seconds and less, play with no problem. Audio with a length greater than 25 seconds can't be played.~~

~~Found an oddity that 24 - 25 second length audio can be forced to play by repeatedly pressing the play button. After around 3 pressed, the audio will play. Pausing and playing again will raise the error. Have not found that this method allowed 30 second audio to be "forced" to play, as well as I couldn't cause 23 and less length audio to error out.~~

Upon further testing, I've narrowed down that MP3s >600KB in size raises the Error playing audio!. MP3s audio files <300KB and smaller have no problems playing.

Also found that .wav files have no such problems. Even with a .wav file at a 30MB size had no issues.

I've attached a zip with a ~300Kb MP3, ~600Kb MP3, and a 30Mb WAV audio for reproducibility. audio_files.zip

Steps to Reproduce:

  1. Create MP3 audio file larger than 600KB. I used the Voice Recorder app off the Google Play Store to create the file.
  2. Upload audio file to yourself or a contact
  3. Attempt to play file in chat.

Device info

Device: Google Pixel 2 Android version: 8.1.0 Signal version: 4.18.3

Link to debug log

https://debuglogs.org/0cf5b12a54526d4f05d8d401f6564cfb374a1cbd115f7138b1617e54a30d79b2

CompSciMaj13 avatar May 01 '18 18:05 CompSciMaj13

Same here.

Cannot play sent or received, of any length. Trying to download them on disk, they're saved in aac and my Huawei p20 pro can reproduce them with the included audio player.

This is the log: https://debuglogs.org/b6116d58d2e519dab355aaa67bae38defaa4cf88b355f05edeeb3251e9235bfe

I think that the problem is in the line 'no content provider'. It's like that signal cannot found an appropriate audio player.

denisgavioli avatar May 01 '18 19:05 denisgavioli

I forgot to say that with every other messaging app it works. I tried WhatsApp, telegram and threema.

denisgavioli avatar May 01 '18 19:05 denisgavioli

I can play received audio but not sent audio. I think this is an Android issue, since it started happening after an update.

Moto G4

Dyras avatar May 03 '18 16:05 Dyras

We do have the same problem with all our Moto G4 devices an with a brand new Huawei P Smart

There ist an old Issue from 2017 with al lots of users with the same problem. https://github.com/signalapp/Signal-Android/issues/6263

neo13476 avatar May 09 '18 14:05 neo13476

Same problem on new

  • HUAWEI Y6 2018
  • Android 8.0.0
  • Build-Nummer ATU-L21 8.0.0.100(C432)
  • Signal 4.19.3

Wikinaut avatar May 10 '18 13:05 Wikinaut

Same Problem with Honor 7X Android 8.0.0 (updated today, problem since then) Signal 4.19.3 Debug Logs: https://debuglogs.org/10de05aef667bd81fbabfcc7e6a9540cf2aa674e6ba48e063665e44e5b5a5c4e

braegel avatar May 12 '18 20:05 braegel

Same here on Huawei Mate 9 (MHA-L29). Android 8.0.0.366(C432) Signal 4.19.3

https://debuglogs.org/ce6056ef4462f5b5616f43d9cae346bc64f1790a4c8a35097e7af273e8ffd96b

As pointed out by others before, I can also save the aac file and play it without issues in the default media player.

audech avatar May 19 '18 12:05 audech

Is it worth it to try to use ExoPlayer for audio playback instead of the standard MediaPlayer class?

Although the default player is probably using MediaPlayer as well: https://android.googlesource.com/platform/packages/apps/Music.git/+/master/src/com/android/music/utils/Playback.java ... if I'm looking in the correct place

v-po avatar Jun 03 '18 10:06 v-po

The first few voice messages worked for me, but since then I keep running into this error too and also can't hear to my messages and the ones from my chat-partner which worked in the beginning.

This seems to be an old error which many people have since there was also an old ticket. I couldn't see there or here any feedback from the developers. Is there a chance this ever will be fixed or at least tested/debugged? I like this messager at the first glance, but with this severe bug it is unusable for me.

Moto G5 Android 7.0

ghost avatar Jun 09 '18 11:06 ghost

Mitigation:

When the whole message doesn't play, fully restarting[1] the app often allows it to be usable. So there are some messages that at least begin to play correctly. And when I want to replay them, and even others. It doesn't work anymore. It's like the audio player is in a broken state. And restarting the app fixes it. [2]

But some messages fail to play in the middle and this won't work. No way to ear them.

[1] Go into the app info and hit "Force stop"

[2] Confirmed, I can reproduce this in less than one minute of playing some of the audio messages that I have.

More info

  1. In my case, these problematic messages come from only one recipient for now.

  2. The "playing bar" has erratic behavior, it's often jumps back.

  3. It plays well in Signal Desktop

I hope all this can help.

tuxayo avatar Jun 11 '18 19:06 tuxayo

Same here, all our "family phones" won't play any voice messages. Sent audio files do not have any issues. We all have Huawei P10 (Plus) .. That's a real game stopper as this is something very fundamental. This audio issue is around for quite a while now.

sklages avatar Jun 14 '18 05:06 sklages

The same for me on a Moto G4, randomly some audio messages stop playing in the middle, the system saying "error playing audio file". After this all audio messages will result in the same error when played.

If I "force stop" signal from Apps in Settings like tuxayo suggested above and launch it again the problem disappears until next time.

everdha avatar Jun 20 '18 21:06 everdha

"Error playing audio file" on all voice messages here as well:

  • Huawei Mate 10 Pro build BLA-L29 8.0.0.142(C432)

  • Android 8.0.0 last patch may, 5th 2018

  • Kernel 4.4.23+

  • Signal 4.21.6

Debug-Log: https://debuglogs.org/ac3978959e498933c85fd2d8e86d47aa8433b925a6f80b4cae09ed03f37649b6

Help would be great. Otherwise I had to downgrade to a Huawei y6 pro 2017 which is a bit puny but (so far) works fine with Signal. :(

Thanks and good luck!

SoNet-MV avatar Jun 25 '18 09:06 SoNet-MV

Same Issue - can not play any voice message.

Error in German is "Fehler bei der Audiowiedergabe" means "Error playing audio"

Can save recording on device an play externally.

Forcing stop Signal does not change anything.

  • Huawei P20 Pro
  • Android 8.1.0 (Kernel 4.4.103+)
  • Signal 4.22.2

This issue is very anoying, as I use voice messages a lot. Would be great to have a fix!

dateaAT avatar Jun 27 '18 18:06 dateaAT

Exact same phone and everything as the guy above me:

https://debuglogs.org/355c3f38a96805160fb060ef21861d29cd8a608b1b37cf37512d16ccc23778bb

Dyras avatar Jun 29 '18 22:06 Dyras

I have the Huawei P20 Pro and I have the same problem. I believe I had the same problem on my Pixel too.

subhani84 avatar Jul 13 '18 19:07 subhani84

I've been getting this too for the last month or two. There are three workarounds that I employ when I get this:

  • hard restart of my phone (Xiaomi Redmi 4x)
  • Go onto my desktop and listen to messages from the electron app
  • Save the messages onto my phone and listen with an external media player

Device Info

Signal Android version: 4.23.4 Android version: 7.1.2 OS: Resurrection Remix Nougat

Phone logs where the bug occurred: https://debuglogs.org/aa1c3e985ecb7db23881ee5d4554d4ba139bea78a7301ac2ab4a3ed8cf86c579

dualscyther avatar Jul 14 '18 07:07 dualscyther

@subhani84 I have a Pixel XL and voice messages work flawlessly.

Dyras avatar Jul 14 '18 07:07 Dyras