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

This commit is contained in:
Anthony Minessale
2016-09-07 16:48:55 -05:00
parent 1e867a85f8
commit d3ee9adfd1
3 changed files with 24 additions and 10 deletions
+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);