mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-09-26 17:51:12 +08:00
Don't go live without a video config
This commit is contained in:
@@ -150,11 +150,18 @@ let hls;
|
||||
async function start() {
|
||||
const ingestion_url = ingestion_url_el.value.trim();
|
||||
if (!ingestion_url) {
|
||||
console.error('No ingestion URL');
|
||||
go_live_el.checked = false;
|
||||
return;
|
||||
}
|
||||
localStorage.setItem('streamana-example-ingestion-url', ingestion_url);
|
||||
|
||||
if (!video_config) {
|
||||
console.error('No video config');
|
||||
go_live_el.checked = false;
|
||||
return;
|
||||
}
|
||||
|
||||
const ffmpeg_lib_url = ffmpeg_lib_url_el.value.trim() ||
|
||||
ffmpeg_lib_url_el.placeholder.trim();
|
||||
|
||||
|
Reference in New Issue
Block a user