mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 22:26:16 -08:00
* fix(xtream): try advertised TS after initial web HLS HTTP failure * refactor(playback): extract fullscreen channel panel state * test(xtream): keep synthetic media within the mock project
26 lines
729 B
TypeScript
26 lines
729 B
TypeScript
import { ChannelDrm } from './channel-drm.interface';
|
|
import { PlaybackPositionData } from './playback-position.interface';
|
|
|
|
export interface PlayerContentInfo extends Omit<
|
|
PlaybackPositionData,
|
|
'positionSeconds' | 'durationSeconds' | 'updatedAt'
|
|
> {
|
|
playlistId: string;
|
|
}
|
|
|
|
export interface ResolvedPortalPlayback {
|
|
streamUrl: string;
|
|
/** Source-owner supplied, advertised TS alternative for Xtream live Auto only. */
|
|
liveAutoTsUrl?: string;
|
|
title: string;
|
|
thumbnail?: string | null;
|
|
isLive?: boolean;
|
|
startTime?: number;
|
|
contentInfo?: PlayerContentInfo;
|
|
headers?: Record<string, string>;
|
|
userAgent?: string;
|
|
referer?: string;
|
|
origin?: string;
|
|
drm?: ChannelDrm;
|
|
}
|