|
From: | Shruti Goyal |
Subject: | Re: [Linphone-developers] Need to Prioritize Audio Codecs |
Date: | Thu, 11 Jun 2015 19:55:15 +0530 |
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
Hi Shruti,Refer below function in Linphone SDK Core.static MSList *match_payloads(const MSList *local, const MSList *remote, bool_t reading_response, bool_t one_matching_codec);
in $LINPHONE_SDK_ROOT/submodules/linphone/coreapi/offeranswer.c
This function is called at initiate_outgoing and initiate_incoming in the same file.
You are able to modify the function by the priority that you want.
Of course you should rebuild the Linphone SDK project after you modified it.
I think this is the most easiest way.
Otherwise, you would be able to use linphone_core_enable_payload_type, but I think this is very bad idea.
This answer is applied to both SDKs of iOS and Android.Good luck. Have a nice day.Regards,AndyOn Thu, Jun 11, 2015 at 5:59 AM, Shruti Goyal <address@hidden> wrote:_______________________________________________Can you please tell me how can i change this default audio codecs priority?by default the priority is G711U -> G711A -> G729.Hi Linphone dev,It is my project requirement to prioritize audio codecs like G729 -> G711U -> G711A.
With Warm Regards,
Shruti Goyal
VVDN Technologies Pvt Ltd
Cell : +91 9872048482 | Skype : shrutigoyal703
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers
[Prev in Thread] | Current Thread | [Next in Thread] |