Enable audio streaming

This commit is contained in:
Brain 2022-06-20 21:33:40 +02:00
parent 5a8689827c
commit ba688a9668
Signed by: Brain
GPG Key ID: 9CF47083EE57670D
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="video-wrapper">
<div class="player-container" [ngClass]="{ hide: !isUrlOnline && usingVjs }" *ngIf="isStable">
<div *ngIf="usingVjs">
<video #vjs class="video-js" controls preload="none"></video>
<audio #vjs class="video-js" controls preload="none" liveui="true"></audio>
</div>
<div *ngIf="!usingVjs" class="iframe-player">
<iframe

View File

@ -25,6 +25,8 @@ import { ConfigService } from 'app/core/ui-services/config.service';
enum MimeType {
mp4 = 'video/mp4',
mp3 = 'audio/mpeg',
ogg = 'audio/ogg',
mpd = 'application/dash+xml',
m3u8 = 'application/x-mpegURL'
}