inactivityTimeout: 2500,
videoViewUrl: this.getVideoUrl(videoInfo.uuid) + '/views',
+ isLive: videoInfo.isLive,
+
playerElement: this.playerElement,
onPlayerElementChange: (element: HTMLVideoElement) => this.playerElement = element,
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