iStreamer check fix and hide Automatic Connection options for Streamer type
parent
989c4984a4
commit
fe89c9f5ab
|
@ -1765,7 +1765,7 @@ s.coSpawnClose = function(e){
|
|||
}
|
||||
s.ffmpeg = function(e){
|
||||
e.coProcessor = false
|
||||
e.isStreamer = (e.type === ('dashcam'||'socket'))
|
||||
e.isStreamer = (e.type === 'dashcam'|| e.type === 'socket')
|
||||
if(e.details.accelerator === '1' && e.details.hwaccel_vcodec !== 'auto' && e.isStreamer === false){
|
||||
e.coProcessor = true
|
||||
}
|
||||
|
|
|
@ -90,20 +90,22 @@
|
|||
</select></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label><div><span><%-lang['Automatic']%></span></div>
|
||||
<div><select class="form-control" detail="auto_host_enable" selector="h_auto_host">
|
||||
<option value="0"><%-lang.No%></option>
|
||||
<option value="1" selected><%-lang.Yes%></option>
|
||||
</select></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group h_auto_host_input h_auto_host_1">
|
||||
<div class="form-group">
|
||||
<label><div><span><%-lang['Full URL Path']%></span></div>
|
||||
<div><input class="form-control" detail="auto_host" placeholder="Example : rtsp://123.123.123.123/stream/1"></div>
|
||||
<div class="h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg h_t_local">
|
||||
<div class="form-group h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg">
|
||||
<label><div><span><%-lang['Automatic']%></span></div>
|
||||
<div><select class="form-control" detail="auto_host_enable" selector="h_auto_host">
|
||||
<option value="0"><%-lang.No%></option>
|
||||
<option value="1" selected><%-lang.Yes%></option>
|
||||
</select></div>
|
||||
</label>
|
||||
</div>
|
||||
<div class="form-group h_auto_host_input h_auto_host_1">
|
||||
<div class="form-group">
|
||||
<label><div><span><%-lang['Full URL Path']%></span></div>
|
||||
<div><input class="form-control" detail="auto_host" placeholder="Example : rtsp://123.123.123.123/stream/1"></div>
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="h_auto_host_input h_auto_host_0 auto_host_fill" style="display:none">
|
||||
<div class="form-group h_t_input h_t_h264 h_t_hls h_t_mp4 h_t_jpeg h_t_mjpeg">
|
||||
|
|
Loading…
Reference in New Issue