mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 13:28:31 +00:00
fifo tweak
This commit is contained in:
1 parent
26358d6796
commit
c8e8f26552
1 file changed
+1
-1
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user