mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
FS-9487 #resolve [Add CBR param to video file recording params]
This commit is contained in:
@@ -142,6 +142,10 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file,
|
||||
}
|
||||
}
|
||||
|
||||
if ((val = switch_event_get_header(fh->params, "cbr"))) {
|
||||
tmp = switch_true(val);
|
||||
fh->mm.cbr = tmp;
|
||||
}
|
||||
|
||||
if ((val = switch_event_get_header(fh->params, "vb"))) {
|
||||
tmp = atoi(val);
|
||||
|
||||
Reference in New Issue
Block a user