mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:43:25 +00:00
chore: more stuff
This commit is contained in:
@@ -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,
|
||||||
|
@@ -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") {
|
||||||
|
Reference in New Issue
Block a user