+
Live Ingest
@@ -170,11 +163,11 @@ const httpStreamFlv = ref(null)
const httpFlvSource = ref({
type: 'flv',
isLive: true,
- url: configStore.configGui[configStore.configID].preview_url
+ url: configStore.configGui[configStore.configID].preview_url,
})
const mpegtsOptions = ref({
lazyLoadMaxDuration: 3 * 60,
- liveBufferLatencyChasing: true
+ liveBufferLatencyChasing: true,
})
onMounted(() => {
@@ -248,7 +241,7 @@ async function playoutStatus() {
await $fetch(`/api/control/${channel}/process/`, {
method: 'POST',
headers: { ...contentType, ...authStore.authHeader },
- body: JSON.stringify({ command: 'status' })
+ body: JSON.stringify({ command: 'status' }),
})
.then((response: any) => {
if (response === 'active') {
@@ -272,7 +265,7 @@ async function controlProcess(state: string) {
await $fetch(`/api/control/${channel}/process/`, {
method: 'POST',
headers: { ...contentType, ...authStore.authHeader },
- body: JSON.stringify({ command: state })
+ body: JSON.stringify({ command: state }),
})
setTimeout(() => {
@@ -293,7 +286,7 @@ async function controlPlayout(state: string) {
await $fetch(`/api/control/${channel}/playout/`, {
method: 'POST',
headers: { ...contentType, ...authStore.authHeader },
- body: JSON.stringify({ control: state })
+ body: JSON.stringify({ control: state }),
})
setTimeout(() => {