mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 17:51:03 +00:00
FS-6984 set some default video rate
This commit is contained in:
parent
b0fecc1844
commit
82b7f01692
@ -1852,6 +1852,10 @@ SWITCH_DECLARE(uint32_t) switch_default_rate(const char *name, uint32_t number)
|
|||||||
|
|
||||||
if (!strcasecmp(name, "opus")) {
|
if (!strcasecmp(name, "opus")) {
|
||||||
return 48000;
|
return 48000;
|
||||||
|
} else if (!strncasecmp(name, "h26", 3)) { // h26x
|
||||||
|
return 90000;
|
||||||
|
} else if (!strncasecmp(name, "vp", 2)) { // vp8, vp9
|
||||||
|
return 90000;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 8000;
|
return 8000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user