I tested these packages using ~d.filoni/telegram-app/audio_receiving_and_sending telegram-app branch (stable enough), it doesn't work without opusdec support. The recorder settings are declared in the following code (telegram/app/qml/components/AudioRecordingBar.qml):
The AudioEncoderSettings component is provided by AsemanAudioEncoderSettings C++ class (parent class: QAudioEncoderSettings). The recorder component is provided by AsemanAudioRecorder class which internally uses QAudioRecorder. Aseman class files can be found in telegram/app/asemantools/ directory.
I tested these packages using ~d.filoni/ telegram- app/audio_ receiving_ and_sending telegram-app branch (stable enough), it doesn't work without opusdec support. The recorder settings are declared in the following code (telegram/ app/qml/ components/ AudioRecordingB ar.qml) :
AudioEncode rSettings { tings
channelCount: 1
id: audioEncoderSet
codec: "audio/x-opus"
sampleRate: 16000
}
The AudioEncoderSet tings component is provided by AsemanAudioEnco derSettings C++ class (parent class: QAudioEncoderSe ttings) . The recorder component is provided by AsemanAudioRecorder class which internally uses QAudioRecorder. Aseman class files can be found in telegram/ app/asemantools / directory.