-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot record a voice message #3904
Comments
I can confirm this bug and add a few details from my side: Element Android 1.20.0 (Fdroid) |
on Android 11 / LineageOS (4microg) 18.1, OP3T GPlay beta it works fine for me |
Not working |
Does not work. I don't have GAPPS installed. |
@takiainen, @teldra, @bigCrash could you create a screenshot for more visibility? |
Your screen video is pretty on point. I do not know anything to add with a screenshot. |
Exactly, the video above already shows everything there is to see. Mine behaves just like that. |
The MediaRecorder fails to initialize. Can you send a rageshake just after reproducing the issue please? You can mention this issue number (#3904) in the bug report description. |
The rageshake was sent before this issue, |
… voice message Will help debugging issues like #3904
* develop: (350 commits) Remove redundancy in heading in bug report issue form Fix typo: your->you're Minimize the use of exported="true" in android Manifest - Add comments on Add exported="true" attributes - Disable manifest exporting for: - (service) VectorConnectionService - (receiver) MediaButtonReceiver Add a log to get info when an error occurred when recording / playing voice message Will help debugging issues like #3904 Fix test compilation changelog Create extension `String.isMxcUrl()` Improve code Load existing DM instead of creating a new one Remove unused SendRelationWorker and related API call (3588) Fix compilation issue changelog Message bottom sheet: move "View Reactions" action just below "Add Reaction" Update wording in message bottom sheet (#3869) Troubleshoot notification: Fix button not clickable Improve reusability of code Update changelog Add missing proper configuration for manual publishing of alias limit alias length in candidateAliasFromRoomName() Create MatrixConstants to handle max alias length limitation ...
|
Same problem here, v1.3.9 from GitHub, Android 12 GSI with MicroG, rageshake reports sent. |
@bmarty and other devs Command to grab log: Cannot record a voice message
Crash when tapping on the message field
Please feel free to ask for more info/logs if needed. |
Same issue, android12,Lineage19 GSI, voice calls work fine, all permissions granted, FDROID version |
Same issue on Android 11 (LineageOS no GAPPs). I have two identical phones, and the same thing happens on both. Same issue on FDroid and Aurora Store versions. This is a major feature that's been broken for a long time. Any plans to address? |
Let me chime in. Same issue here on Lineage18.1 (Android 11, no gapps). If more data or logs are needed, let me know. |
I also have the same issue, from F-Droid. I'm running LineageOS 18.1-20220428-NIGHTLY-jfltexx, Android 11 with no gapps. Phone model is Samsung Galaxy S4 (GT-I9505). |
For anyone having this issue: it seems that Element on Android uses some |
I agree it should be made to work with all the mentioned libre configurations, however
it works for me with RROS 8.6.9 (which is based on lineage) + microG 0.2.18.204714. |
Looking at the source code, I disagree with the conclusion that Element uses some kind of Google library to record audio. The entire recording process is based on native Android code with a dedicated native library to encode the file. There is no dependency on Google at all when it comes to audio recording, except for the open source Android parts, of course. The error logs posted earlier ( However, the current configuration seems to rely on codecs and configurations that should work across the board. The backing audio codec library has also changed. If your device still can't record audio now, you should probably provide some logs. As far as I can tell from the source code, this has nothing to do with Google libraries and everything to do with custom ROMs/buggy official ROMs with wonky audio support. However, since the change from ffmpeg to opuscodec a few weeks ago I'd personally expect this issue to be resolved for most users! |
I reported here with my old LG G5. I now have a One+ Nord with a similar setup (Lineage + microg) and this issue never occurred for me. Neither with Android 10 nor with Android 12 (Los 19). So it seems not to be GSF related. |
This issues is NOT related to Lineage or microG. The issue was opened and rageshake was send from a non-rooted non-customized phone with GAPPS. |
No, I updated to the latest FDroid version (1.4.19) and it does not work, I have this problem only with element, any other app works fine, and I do not have any google app installed nor microG or similar things |
OK, I take it back: it it does not seem to require GSF. But then officially Opus encoding is available only from Android 10 and up. So I guess other ROMs may not have it working properly. https://developer.android.com/guide/topics/media/media-formats I have seen other apps that simply use a bundled Opus library, so perhaps it is a better solution? |
My son has a Moto X2 with LineageOS 18.1 (Android 11) is also getting a general error message. Rageshake sent. |
Same problem here. I'd say it stopped working since last update to 1.4.32 [40104320] [F-ce28d7f8] (f-droid). |
It still isn't working, but it's even worse now: the app crashes if the mic icon is used. Please consider including the Opus library in the app, like many other apps do. |
@oktayacikalin , @overtinkering & @lfom , in v1.4.36 we released some code to try to detect if the device has an Opus encoder included and use the fallback one bundled in the app otherwise. Please let us know if that fixes the issues you mentioned. |
You didn't ping me but I had the same issue as stated above. I can confirm that the issue is now fixed for me on Lineage 18.1 and the Element fdroid-release! There are some slight hiccups but that's stuff for another issue. I'll see if I can manage to report today. This specific issue here is solved however. For me at least. Thanks a lot! |
@jmartinesp I am using v1.5.1 and it seems to be working fine! Thanks, Android Element dev team! |
I'm closing this issue as it seems like it's finally solved. Please re-open it if that's not the case. |
Steps to reproduce
I dunno how to reproduce this.
https://user-images.githubusercontent.com/14617699/130969769-e454062e-1672-4c30-bb42-7bc612eeea82.mp4
All permissions are granted and voice/video calls works as expected.
What did you expect?
A recorded voice message.
What happened?
Unable to record a voice message.
Your phone model
No response
Operating system version
No response
Application version and app store
No response
Have you submitted a rageshake?
Yes
The text was updated successfully, but these errors were encountered: