chore: more stuff

This commit is contained in:
Adrian Castro
2024-02-22 18:45:54 +01:00
parent 23cfcb8b1a
commit 2876cfd8e9
2 changed files with 1 additions and 2 deletions

View File

@@ -92,7 +92,7 @@ export const ScraperProcess = ({ data }: ScraperProcessProps) => {
if (streamResult.stream.type === "hls") { if (streamResult.stream.type === "hls") {
const tracks = await extractTracksFromHLS( const tracks = await extractTracksFromHLS(
streamResult.stream.playlist, streamResult.stream.playlist, // multiple track example: "https://bitmovin-a.akamaihd.net/content/sintel/hls/playlist.m3u8",
{ {
...streamResult.stream.preferredHeaders, ...streamResult.stream.preferredHeaders,
...streamResult.stream.headers, ...streamResult.stream.headers,

View File

@@ -147,7 +147,6 @@ export const VideoPlayer = () => {
if (stream.type === "hls") { if (stream.type === "hls") {
url = stream.playlist; url = stream.playlist;
console.log(hlsTracks);
} }
if (stream.type === "file") { if (stream.type === "file") {