BelledonneCommunications / linphone-sdk

Mirror for linphone-sdk (https://gitlab.linphone.org/BC/public/linphone-sdk.git)
GNU Affero General Public License v3.0
99 stars 79 forks source link

.NET LinphoneWrapper Core Wrong Enabled state for Audio PayloadType #378

Open pkozak2 opened 5 months ago

pkozak2 commented 5 months ago

I writing app with MAUI and LinphoneSDK. I want to disable some Audio payload types.

When I download default_rc file from my Android device - the Opus codec is disabed ( Enable(false) method ).

default_rc file part: [audio_codec_0] mime=opus rate=48000 channels=2 enabled=0 recv_fmtp=useinbandfec=1

but when I execute Enabled() it is always True.

I tried to assign changed Core.AudioPayloadTypes, and then read it again - nothing changed.

LinphoneSDK: 5.3.0-alpha.173 Android: API 33 MAUI: 8.0 Sample repo: https://github.com/pkozak2/linphone-maui