In the console this error shows up each time the "mic" icon is pressed: [opus @ 0x82146e600] The encoder 'opus' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it. Average Intensity Stereo band: 0,0 Dual Stereo used: nan% Sound playback, on the other hand, works out of the box, no configuration needed. PS: I'm so happy to have the native version available! This is just a minor hiccup.
Created attachment 190353 [details] patch to enable opus I have a patch to enable opus (lower the strictness). However, at my side, with this patch telegram crashes in the opus encoder when recording audio. I'm investigating the problem. You may try the patch.
Okay, recording works if OPUS option is selected in port ffmpeg. In this case, libopus is used for opus encoding/decoding. On the other hand, internal implementation of ffmpeg is used by default, which seems to be buggy or incompatible with telegram-desktop. By default, OPUS is not enabled. As a result, internal opus encoder is used, which does not work with telegram-desktop. When OPUS is enabled, the above patch is not needed, because libopus's encoder is not considered experimental. So there are 2 options: 1. fix internal encoder of opus in ffmpeg to work with telegram-desktop 2. enable OPUS in ffmpeg I suggest the 2nd option. Before the opus encoder is fixed, the above patch is not useful.
Okay, it seems like that very recently OPUS is enabled by default in PR 225511. The recording should now work with default options. Please have a try.
Henry, Lapo, Is this still an issue? Should the patch be committed, or it isn't needed? Yuri
(In reply to Yuri Victorovich from comment #4) I think that it should be resolved now, but I'm still waiting for reporter's reply.
I just tried it again, and it seems to be working correctly. It's sending a "mute" audio, but I guess that's my mic line's configuration to blame. (unfortunately, I don't have time to check in deeper right now)