refactor(settings): update default stream format to M3u8StreamFormat

This commit is contained in:
4gray committed 2025-04-09 20:35:36 +02:00
1 parent fb11892943
commit 9f40dea806
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ import { STORE_KEY } from '../shared/enums/store-keys.enum';
const DEFAULT_SETTINGS: Settings = {
player: VideoPlayer.VideoJs,
streamFormat: StreamFormat.TsStreamFormat,
streamFormat: StreamFormat.M3u8StreamFormat,
language: Language.ENGLISH,
showCaptions: false,
theme: Theme.LightTheme,
+1 -1
View File
@@ -57,7 +57,7 @@ export class MockRouter {
const DEFAULT_SETTINGS = {
player: VideoPlayer.VideoJs,
streamFormat: StreamFormat.TsStreamFormat,
streamFormat: StreamFormat.M3u8StreamFormat,
language: Language.ENGLISH,
showCaptions: false,
theme: Theme.LightTheme,
+2 -2
View File
@@ -71,7 +71,7 @@ import { Theme } from './theme.enum';
ReactiveFormsModule,
TranslateModule,
MatDialogModule,
]
],
})
export class SettingsComponent implements OnInit {
@Input() isDialog = false;
@@ -134,7 +134,7 @@ export class SettingsComponent implements OnInit {
settingsForm = this.formBuilder.group({
player: [VideoPlayer.VideoJs],
...(this.isTauri ? { epgUrl: new FormArray([]) } : {}),
streamFormat: StreamFormat.TsStreamFormat,
streamFormat: StreamFormat.M3u8StreamFormat,
language: Language.ENGLISH,
showCaptions: false,
theme: Theme.LightTheme,