mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-21 10:44:16 +00:00
FS-9487 #resolve [Add CBR param to video file recording params]
This commit is contained in:
1 parent
1e867a85f8
commit
d3ee9adfd1
3 files changed
+24
-10
No files matched your search
@@ -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