|
From: | Safrana Shereen |
Subject: | [Linphone-developers] Enable Audio Codec (URGENT) |
Date: | Tue, 30 Aug 2022 04:52:09 +0000 |
Hi,
I'm unable to find code for enabling and disabling the audio codec. When I use the following line to enable or disable I got the crash. Please help me to resolve this issue.
linphone_core_enable_payload_type(theLinphoneCore, linphone_core_find_payload_type(theLinphoneCore, "PCMU", 8000, -1), TRUE);
OR
linphone_payload_type_enable(linphone_core_get_payload_type(theLinphoneCore, "PCMU", LINPHONE_FIND_PAYLOAD_IGNORE_RATE, LINPHONE_FIND_PAYLOAD_IGNORE_CHANNELS), TRUE);
Thank you,
IF Safrana
[Prev in Thread] | Current Thread | [Next in Thread] |