mirror of
https://github.com/davedoesdev/streamana.git
synced 2025-09-26 17:51:12 +08:00
Rename files
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Streamana example</title>
|
||||
<title>Streamana</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
|
||||
<link href="./example.css" rel="stylesheet">
|
||||
<script type="module" src="./example.js"></script>
|
||||
<link href="./streamana.css" rel="stylesheet">
|
||||
<script type="module" src="./streamana.js"></script>
|
||||
</head>
|
||||
<body class="d-flex flex-column vh-100">
|
||||
<nav id="nav" class="navbar navbar-light bg-light flex-grow-0">
|
@@ -4,7 +4,7 @@ import {
|
||||
video_encoder_codec,
|
||||
videoBitsPerSecond
|
||||
} from './hls.js';
|
||||
import shader from './example-shader.js';
|
||||
import shader from './shader.js';
|
||||
import {
|
||||
supported_video_configs,
|
||||
max_video_config,
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
const target_frame_rate = 30;
|
||||
|
||||
const ingestion_url_el = document.getElementById('ingestion-url');
|
||||
ingestion_url_el.value = localStorage.getItem('streamana-example-ingestion-url');
|
||||
ingestion_url_el.value = localStorage.getItem('streamana-ingestion-url');
|
||||
|
||||
const go_live_el = document.getElementById('go-live');
|
||||
go_live_el.disabled = false;
|
||||
@@ -154,7 +154,7 @@ async function start() {
|
||||
go_live_el.checked = false;
|
||||
return;
|
||||
}
|
||||
localStorage.setItem('streamana-example-ingestion-url', ingestion_url);
|
||||
localStorage.setItem('streamana-ingestion-url', ingestion_url);
|
||||
|
||||
if (!video_config) {
|
||||
console.error('No video config');
|
Reference in New Issue
Block a user