mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-01-25 02:07:54 +00:00
FS-7501 add vbsize to mod video buffer size
This commit is contained in:
committed by
Michael Jerris
parent
80b86163d6
commit
046cd34cd9
@@ -1843,7 +1843,16 @@ static void check_jb(switch_core_session_t *session, const char *input, int32_t
|
||||
}
|
||||
|
||||
if (v_engine->rtp_session) {
|
||||
if (!strncasecmp(input, "vdebug:", 7)) {
|
||||
if (!strncasecmp(input, "vbsize:", 7)) {
|
||||
int frames = 0;
|
||||
s = input + 7;
|
||||
|
||||
frames = atoi(s);
|
||||
if (frames > 0) {
|
||||
switch_rtp_set_video_buffer_size(v_engine->rtp_session, frames);
|
||||
}
|
||||
return;
|
||||
} else if (!strncasecmp(input, "vdebug:", 7)) {
|
||||
s = input + 7;
|
||||
|
||||
if (s && !strcmp(s, "off")) {
|
||||
|
||||
Reference in New Issue
Block a user