mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-20 20:48:07 +00:00
Fixed linphone_core_find_payload_type to look into text payloads as well
This commit is contained in:
parent
20073c105a
commit
72b2faa887
1 changed files with 5 additions and 0 deletions
|
|
@ -6893,6 +6893,11 @@ LinphonePayloadType* linphone_core_find_payload_type(LinphoneCore* lc, const cha
|
|||
result = find_payload_type_from_list(type, rate, 0, linphone_core_get_video_codecs(lc));
|
||||
if (result) {
|
||||
return result;
|
||||
} else {
|
||||
result = find_payload_type_from_list(type, rate, 0, linphone_core_get_text_codecs(lc));
|
||||
if (result) {
|
||||
return result;
|
||||
}
|
||||
}
|
||||
}
|
||||
/*not found*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue