mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
Code cleaning + fix related to #86
This commit is contained in:
parent
cfebd0beca
commit
e7ef370387
17 changed files with 400 additions and 394 deletions
|
@ -1,12 +1,5 @@
|
|||
<script setup>
|
||||
import {
|
||||
ref,
|
||||
watch,
|
||||
onMounted,
|
||||
onUpdated,
|
||||
onBeforeUnmount,
|
||||
onUnmounted,
|
||||
} from 'vue';
|
||||
import { ref, watch, onMounted, onBeforeUnmount, onUnmounted } from 'vue';
|
||||
|
||||
import muxjs from 'mux.js';
|
||||
window.muxjs = muxjs;
|
||||
|
@ -64,7 +57,7 @@ async function Stream() {
|
|||
if (shaka.Player.isBrowserSupported) {
|
||||
const audioPlayer = new shaka.Player(audio.value);
|
||||
|
||||
const codecs = useStore().getItem('codec');
|
||||
const codecs = store.getItem('codec');
|
||||
|
||||
audioPlayer
|
||||
.getNetworkingEngine()
|
||||
|
@ -94,7 +87,7 @@ async function Stream() {
|
|||
});
|
||||
}
|
||||
|
||||
const quality = useStore().getItem('quality');
|
||||
const quality = store.getItem('quality');
|
||||
|
||||
if (url) {
|
||||
window.audioPlayer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue