fix for issue #339
parent
12d04b9bee
commit
569545fbfd
|
|
@ -682,7 +682,7 @@ module.exports = (s,config,lang) => {
|
|||
const videoFps = !isNaN(parseFloat(e.details.stream_fps)) && e.details.stream_fps !== '0' ? parseFloat(e.details.stream_fps) : null
|
||||
const inputMap = buildInputMap(e,e.details.input_map_choices.detector_sip_buffer)
|
||||
const { videoWidth, videoHeight } = validateDimensions(e.details.event_record_scale_x,e.details.event_record_scale_y)
|
||||
const hlsTime = !isNaN(parseInt(e.details.detector_buffer_hls_list_time)) ? `${parseInt(e.details.detector_buffer_hls_list_time)}` : '2'
|
||||
const hlsTime = !isNaN(parseInt(e.details.detector_buffer_hls_time)) ? `${parseInt(e.details.detector_buffer_hls_time)}` : '2'
|
||||
const hlsListSize = !isNaN(parseInt(e.details.detector_buffer_hls_list_size)) ? `${parseInt(e.details.detector_buffer_hls_list_size)}` : '4'
|
||||
if(inputMap)outputFlags.push(inputMap)
|
||||
if(e.details.cust_sip_record)outputFlags.push(e.details.cust_sip_record)
|
||||
|
|
|
|||
Loading…
Reference in New Issue