Fix using channel ID instead of process ID

This commit is contained in:
Ingo Oppermann 2022-11-09 21:20:06 +01:00
parent 3610a2af5a
commit 3a5a91c2c9
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -175,10 +175,10 @@ export default function RestreamerUI(props) {
if (metadata === null) {
if (channels.length === 1) {
const progress = await restreamer.current.GetIngestProgress(channels[0].id);
const progress = await restreamer.current.GetIngestProgress(channels[0].channelid);
if (progress.valid === false) {
metadata = M.initMetadata(metadata);
// assume fresh installation
metadata = M.initMetadata(metadata);
await restreamer.current.SetMetadata({
...metadata,
bundle: {