mirror of
https://github.com/p-stream/p-stream.git
synced 2026-03-11 17:55:33 +00:00
fix hls independently
This commit is contained in:
parent
d8368e6d40
commit
1ae1629547
1 changed files with 0 additions and 7 deletions
|
|
@ -141,13 +141,6 @@ export function makeChromecastDisplayInterface(
|
|||
request.currentTime = startAt;
|
||||
if (caption?.url) request.activeTrackIds = [1];
|
||||
|
||||
if (source.type === "hls") {
|
||||
const staticMedia = chrome.cast.media as any;
|
||||
(mediaInfo as any).hlsSegmentFormat = staticMedia.HlsSegmentFormat.FMP4;
|
||||
(mediaInfo as any).hlsVideoSegmentFormat =
|
||||
staticMedia.HlsVideoSegmentFormat.FMP4;
|
||||
}
|
||||
|
||||
const session = ops.instance.getCurrentSession();
|
||||
session
|
||||
?.loadMedia(request)
|
||||
|
|
|
|||
Loading…
Reference in a new issue