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

Error playing audio!

Open Brentusus opened this issue 9 years ago • 35 comments

I am new to Signal. When I first installed it and tried it I could send audio clips no problem. Now I can record and send and the other person can hear but I cant hear my own nor can I hear someone else.

All I do is -hold the microphone icon -record message -release microphone icon -it automatically sends -press play button icon > Error playing audio!

A friend with the same phone has the same problem (Moto G4 Plus)

https://gist.github.com/anonymous/082b991885d2d13cee4f003d73cd32a1

Screenshot http://imgur.com/a/985jS

Brentusus avatar Feb 21 '17 03:02 Brentusus

Welcome @Brentusus, the best way to help get issues resolved is to follow the issue template that you see when creating a new issue. It is difficult to diagnose what's going on for you without a debug log, for instance. Thanks!

moxie0 avatar Feb 21 '17 03:02 moxie0

@moxie0 I have updated my post with a debug log. I believe that covers most things from the template

Brentusus avatar Feb 21 '17 03:02 Brentusus

02-21 14:40:59.775 12201 12201 W AudioView: playbutton onClick
02-21 14:40:59.828 12201 11935 I MediaHTTPConnection: proxyName: 0.0.0.0 0
02-21 14:40:59.834 12201 16067 I AttachmentServer: Header: connection : Keep-Alive
02-21 14:40:59.834 12201 16067 I AttachmentServer: Header: host : 127.0.0.1:37892
02-21 14:40:59.834 12201 16067 I AttachmentServer: Header: accept-encoding : gzip
02-21 14:40:59.834 12201 16067 I AttachmentServer: Header: user-agent : stagefright/1.2 (Linux;Android 7.0)
02-21 14:40:59.839 12201 16067 I AttachmentServer: headers: HTTP/1.1 200 OK
02-21 14:40:59.839 12201 16067 I AttachmentServer: Content-Type: audio/aac
02-21 14:40:59.839 12201 16067 I AttachmentServer: Accept-Ranges: bytes
02-21 14:40:59.839 12201 16067 I AttachmentServer: Content-Length: 35036
02-21 14:40:59.839 12201 16067 I AttachmentServer: Connection: Keep-Alive
02-21 14:40:59.839 12201 16067 I AttachmentServer: 
02-21 14:40:59.985 12201 11934 E MediaPlayer: error (1, -2147483648)

-2147483648 is defined here as "low-level system error."

For some reason it seems your device doesn't like the codec or container, but it isn't telling us much about why it doesn't. Is this stock or an aftermarket ROM?

moxie0 avatar Feb 21 '17 04:02 moxie0

Stock.

I cant remember the dates exactly but it was possibly after the Android 7.0 update. Which was very recent on the moto g4

Brentusus avatar Feb 21 '17 04:02 Brentusus

This probably happened to me too, but I can't reproduce it anymore. What I can add is that, in my case, if the recording was longer than 5 seconds it worked, while for less than 5 seconds it gave me that error. I could always reproduce this until I restarted Signal, then the problem was gone. (Stock Nexus 6, Android 7.1.1.)

paride avatar Feb 21 '17 09:02 paride

Well, the "low level error" is certainly due to the line I guess, isn't it?

02-21 14:42:24.761 12201 12201 W MediaPlayer: Couldn't open http://127.0.0.1:41172/e5aafc45be8ce7fb363c67f8aec7c84d: java.io.FileNotFoundException: No content provider: http://127.0.0.1:41172/e5aafc45be8ce7fb363c67f8aec7c84d

Bilb avatar Feb 21 '17 13:02 Bilb

I have the same problem, i can not play audio messages sent to me.

I am using lineageos as of 2017-02-21

My debug trail:

02-21 18:28:19.524 6170 6170 W AudioView: playbutton onClick 02-21 18:28:19.531 6170 6170 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 02-21 18:28:19.531 6170 6170 E MediaPlayer-JNI: JNIMediaPlayerFactory: bIsQCMediaPlayerPresent 0 02-21 18:28:19.534 6170 6170 W MediaPlayer: Couldn't open http://127.0.0.1:37316/1e0f820894891b2b185d3d83f6e6446d: java.io.FileNotFoundException: No content provider: http://127.0.0.1:37316/1e0f820894891b2b185d3d83f6e6446d 02-21 18:28:19.555 6170 18788 I AttachmentServer: Header: connection : Keep-Alive 02-21 18:28:19.555 6170 18788 I AttachmentServer: Header: host : 127.0.0.1:37316 02-21 18:28:19.555 6170 18788 I AttachmentServer: Header: accept-encoding : gzip 02-21 18:28:19.555 6170 18788 I AttachmentServer: Header: user-agent : stagefright/1.2 (Linux;Android 7.1.1) 02-21 18:28:19.563 6170 18788 I AttachmentServer: headers: HTTP/1.1 200 OK 02-21 18:28:19.563 6170 18788 I AttachmentServer: Content-Type: audio/aac 02-21 18:28:19.563 6170 18788 I AttachmentServer: Accept-Ranges: bytes 02-21 18:28:19.563 6170 18788 I AttachmentServer: Content-Length: 8734 02-21 18:28:19.563 6170 18788 I AttachmentServer: Connection: Keep-Alive 02-21 18:28:19.563 6170 18788 I AttachmentServer: 02-21 18:28:19.576 21152 18791 I NuCachedSource2: caching reached eos. 02-21 18:28:19.581 3184 4837 E IMemory : cannot map BpMemoryHeap (binder=0xb6017dc0), size=65536, fd=32 (Out of memory) 02-21 18:28:19.582 21152 18790 E GenericSource: Failed to init from data source! 02-21 18:28:19.583 21152 18789 D NuPlayerDriver: notifyListener_l(0xb5e2b620), (100, 1, -2147483648), loop setting(0, 0) 02-21 18:28:19.583 6170 6182 E MediaPlayer: error (1, -2147483648) 02-21 18:28:19.584 6170 6170 E MediaPlayer: Error (1,-2147483648) 02-21 18:28:19.584 6170 6170 W AudioSlidePlayer: MediaPlayer Error: 1 , -2147483648

ghost avatar Feb 21 '17 17:02 ghost

@Bilb no that's unrelated, mediaplayer tries looking up a file before parsing as url. you can see it connects on the next line.

moxie0 avatar Feb 21 '17 18:02 moxie0

@paride Tried those things and no change

Brentusus avatar Feb 21 '17 21:02 Brentusus

I have the same problem since my Moto G4 updated to Android 7.x.

My Debug trail: https://gist.github.com/anonymous/80b60932613695b5771c3dee54a804e7

borgelkranz avatar Mar 06 '17 10:03 borgelkranz

I get the "Error playing audio" message when attempting to playback an audio file I've sent to a Signal contact. The original file is m4a, created by my phone's stock "Voice recorder" app. The audio file can be played back as expected outside of Signal. https://gist.github.com/cd34a1d5b639c8e392261232269dabff

t3io avatar Mar 06 '17 21:03 t3io

Experiencing the same thing. I can confirm that this also happens for me on Moto G4 since updating to Android 7.0. That makes me the fourth person in here to have this issue with a Moto G4 with stock Nougat.

https://gist.github.com/anonymous/288c9db6f3010de380c1bb880deec7b9

Edit: Tried with a 2 second message and a 13 second message.

Dyras avatar Mar 12 '17 23:03 Dyras

Same here. Moto G4 Plus, recently switched to Android 7.0 (stock and not rooted). The recording length doesn't seem to matter. The bug didn't occur right before updating.

Just in case it's helpful, here's another debug log: https://gist.github.com/1b87d42b54250e6ab533cb98ac5156b1

PiCob avatar Mar 14 '17 06:03 PiCob

Same for me, Moto G 4 Plus, recently upgraded to Nougat (Stock no root). My girlfriend's Moto G 4 Plus as well (after Nougat). But I can still listen to any voice messages sent or received using the chrome extension - no matter the recipient.

serianon avatar Mar 18 '17 16:03 serianon

Is there a way or app to test AAC playback with the codec Signal uses? I'd like to check what exactly is causing playback to fail... Since it worked right before the OS update, it's unlikely a H/W decoding issue, but I couldn't find anything regarding AAC playback issues in other apps.

PiCob avatar Mar 20 '17 21:03 PiCob

Confirming this behavior on a Moto G4 and a Moto G4 Plus with Android 7.0. Messages are recorded fine, since they can be saved and then played with an external application. Also, old messages that could be played by Signal before the Nougat update now can't.

deslomator avatar Apr 20 '17 05:04 deslomator

Looks like there are enough logs, but providing one from Signal 4.6.0 where this is occurring for a received Signal voice message also on Moto G4, Android 7.0 https://gist.github.com/0e20d52c21d7ad9f952d2ae72df7ec4b

riyapenn avatar May 22 '17 16:05 riyapenn

lol same here XT1644 and error trying to play aac file

a220 avatar Jun 01 '17 22:06 a220

Not sure if it helps anything but I've realised I can play audio messages if they are sent from the desktop version of signal. I still can't listen to them if they are sent via a phone

On 2 Jun. 2017 8:49 am, "a220" [email protected] wrote:

lol same here XT1644 and error trying to play aac file

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/WhisperSystems/Signal-Android/issues/6263#issuecomment-305641848, or mute the thread https://github.com/notifications/unsubscribe-auth/AYt2g9aXK6RJqenm3pux8fTbu2kmNVouks5r_z_hgaJpZM4MG02s .

Brentusus avatar Jun 23 '17 04:06 Brentusus

Could you provide debug logs for playing an audio message sent from another phone and right after that playing one sent from desktop so we could check what's the difference?

PiCob avatar Jun 23 '17 04:06 PiCob