fix(web-ui): remove duplicate _normRecorder return block (JSX parse error)
This commit is contained in:
parent
952c0e89af
commit
0e4a5d546b
1 changed files with 0 additions and 16 deletions
|
|
@ -648,22 +648,6 @@ function _normRecorder(r) {
|
|||
audio: false,
|
||||
};
|
||||
}
|
||||
return {
|
||||
...r,
|
||||
source: r.source_type || '·',
|
||||
url: cfg.url || cfg.address || cfg.srt_url || cfg.rtmp_url || r.source_type || '·',
|
||||
codec: r.recording_codec || '·',
|
||||
res: r.recording_resolution || '·',
|
||||
framerate: r.recording_framerate || 'native',
|
||||
node: r.node_id ? r.node_id.slice(0, 8) : 'primary',
|
||||
capturePort,
|
||||
previewUrl: r.preview_url || null,
|
||||
elapsed: '·',
|
||||
bitrate: '·',
|
||||
health: 100,
|
||||
audio: false,
|
||||
};
|
||||
}
|
||||
|
||||
function Recorders({ navigate, onNew }) {
|
||||
const [recorders, setRecorders] = React.useState(window.ZAMPP_DATA?.RECORDERS || []);
|
||||
|
|
|
|||
Loading…
Reference in a new issue