[Solved] Microphone mute/unmute in calls not working since Android-app version 2.27

Dear Foum,

since the new Mobile App Version: 2.27.0 (Build 6000627) from android, muting or unmuting of microphone in calls is not working anymore. First time of occurence with Mattermost-Server version 9.8.11. An upgrade to versoin 10.5.2 and then 10.7.1 didnt changed behaviour. Calling from desktop-app is working (direct-calls)!

The log on the android device says something like

2025/04/26 16:29:55.855 INFO  TurboLogger: rn-webrtc:pc:DEBUG 0 getStats +2s
2025/04/26 16:29:57.438 WARN  TurboLogger: Handling Javascript error calls: from RTCPeer, error on mute: false
2025/04/26 16:29:57.439 ERROR TurboLogger: calls: from RTCPeer, error on mute: {
  "jsEngine": "hermes"
}

Until version 2.69 no problems happend. Notifactions and Permissions on the phones are allowed. Is this a bug related to JavaScripts handling with Hermes?

Thanks in advance for any help.

Hi Philipp, welcome to the Mattermost community! :waving_hand: Thanks for sharing the detailed logs - it does sound like this could be related to the Hermes JavaScript engine introduced in the newer app versions; I recommend reporting this directly via our Mobile Apps GitHub repository so our team can investigate further.

Hi John, Thank you for the welcomining :slight_smile:

In the meantime, they was a Call-Plugin Update for the server available, from version 1.6.0 to 1.7.1. (iam on Server version 10.7.1). This somehow solved the problem. I assume that some communiction request from the mobile-client to the server was not working properly. here the excerprt from the server-log of the update


    {"timestamp":"2025-05-01 11:52:01.864 Z","level":"info","msg":"Installing extracted plugin","caller":"app/plugin_install.go:429","plugin_id":"com.mattermost.calls","version":"1.7.1"}
    {"timestamp":"2025-05-01 11:52:01.944 Z","level":"info","msg":"Removing existing installation of plugin before local install","caller":"app/plugin_install.go:477","plugin_id":"com.mattermost.calls","existing_version":"1.6.0"}
    {"timestamp":"2025-05-01 11:52:01.962 Z","level":"info","msg":"Error accepting connection: accept tcp4 0.0.0.0:8443: use of closed network connection","caller":"app/plugin_api.go:1107","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104","origin":"ice/v4.(*TCPMuxDefault).start github.com/pion/ice/v4@v4.0.3/tcp_mux.go:103"}
    {"timestamp":"2025-05-01 11:52:01.963 Z","level":"info","msg":"rtc: server was shutdown","caller":"app/plugin_api.go:1107","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104"}
    {"timestamp":"2025-05-01 11:52:01.970 Z","level":"error","msg":"failed to get all active calls: failed to get calls: sql: database is closed","caller":"app/plugin_api.go:1110","plugin_id":"com.mattermost.calls","origin":"main.(*Plugin).OnDeactivate activate.go:245"}
    {"timestamp":"2025-05-01 11:52:02.048 Z","level":"info","msg":"plugin process exited","caller":"plugin/hclog_adapter.go:61","plugin_id":"com.mattermost.calls","wrapped_extras":"pluginplugins/com.mattermost.calls/server/dist/plugin-linux-amd64id37"}
    {"timestamp":"2025-05-01 11:52:03.349 Z","level":"info","msg":"rtc: server is listening on udp 127.0.0.1:8443","caller":"app/plugin_api.go:1107","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104"}
    {"timestamp":"2025-05-01 11:52:03.349 Z","level":"info","msg":"rtc: server is listening on udp 172.18.0.3:8443","caller":"app/plugin_api.go:1107","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104"}
    {"timestamp":"2025-05-01 11:52:03.350 Z","level":"info","msg":"Listening TCP on 0.0.0.0:8443","caller":"app/plugin_api.go:1107","plugin_id":"com.mattermost.calls","origin":"main.(*logger).Info log.go:104","origin":"ice/v4.(*TCPMuxDefault).start github.com/pion/ice/v4@v4.0.3/tcp_mux.go:99"}

Maybe it is of help for someone.

2 Likes

Ah ha! So glad to hear you were able to get that figured out. Thanks for following up with the solution, too!