aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/standalone
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-09-17 09:20:52 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-11-09 15:33:04 +0100
commitc6c0fa6cd8fe8f752463d8982c3dbcd448739c4e (patch)
tree79304b0152b0a38d33b26e65d4acdad0da4032a7 /client/src/standalone
parent110d463fece85e87a26aca48a6048ae0017a27b3 (diff)
downloadPeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.gz
PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.tar.zst
PeerTube-c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e.zip
Live streaming implementation first step
Diffstat (limited to 'client/src/standalone')
-rw-r--r--client/src/standalone/videos/embed.ts4
1 files changed, 2 insertions, 2 deletions
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 {
556 556
557 Object.assign(options, { 557 Object.assign(options, {
558 p2pMediaLoader: { 558 p2pMediaLoader: {
559 playlistUrl: hlsPlaylist.playlistUrl, 559 playlistUrl: 'http://localhost:9000/live/toto/master.m3u8',
560 segmentsSha256Url: hlsPlaylist.segmentsSha256Url, 560 segmentsSha256Url: hlsPlaylist.segmentsSha256Url,
561 redundancyBaseUrls: hlsPlaylist.redundancies.map(r => r.baseUrl), 561 redundancyBaseUrls: [],
562 trackerAnnounce: videoInfo.trackerUrls, 562 trackerAnnounce: videoInfo.trackerUrls,
563 videoFiles: hlsPlaylist.files 563 videoFiles: hlsPlaylist.files
564 } as P2PMediaLoaderOptions 564 } as P2PMediaLoaderOptions