From c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 17 Sep 2020 09:20:52 +0200 Subject: Live streaming implementation first step --- client/src/standalone/videos/embed.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client/src/standalone') diff --git a/client/src/standalone/videos/embed.ts b/client/src/standalone/videos/embed.ts index 995e8c277..9b07ef5e6 100644 --- a/client/src/standalone/videos/embed.ts +++ b/client/src/standalone/videos/embed.ts @@ -556,9 +556,9 @@ export class PeerTubeEmbed { Object.assign(options, { p2pMediaLoader: { - playlistUrl: hlsPlaylist.playlistUrl, + playlistUrl: 'http://localhost:9000/live/toto/master.m3u8', segmentsSha256Url: hlsPlaylist.segmentsSha256Url, - redundancyBaseUrls: hlsPlaylist.redundancies.map(r => r.baseUrl), + redundancyBaseUrls: [], trackerAnnounce: videoInfo.trackerUrls, videoFiles: hlsPlaylist.files } as P2PMediaLoaderOptions -- cgit v1.2.3