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…
Reference in New Issue