mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 16:15:04 +00:00
fifo tweak
This commit is contained in:
parent
26358d6796
commit
c8e8f26552
@ -1115,7 +1115,7 @@ static void *SWITCH_THREAD_FUNC ringall_thread_run(switch_thread_t *thread, void
|
|||||||
char nstr[256] = "";
|
char nstr[256] = "";
|
||||||
|
|
||||||
if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
|
if (strcasecmp(codec, "PCMU") && strcasecmp(codec, "PCMA")) {
|
||||||
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU,PCMA", codec, ptime, rate);
|
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh,PCMU@%di,PCMA@%di", codec, ptime, rate, ptime, ptime);
|
||||||
} else {
|
} else {
|
||||||
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh", codec, ptime, rate);
|
switch_snprintf(nstr, sizeof(nstr), "%s@%si@%sh", codec, ptime, rate);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user