FS-9487 #resolve [Add CBR param to video file recording params]

This commit is contained in:
Anthony Minessale committed 2016-09-07 16:49:04 -05:00
1 parent 1e867a85f8
commit d3ee9adfd1
3 files changed
+24 -10

No files matched your search

+4
View File
@@ -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);