Update live settings edge delay

This commit is contained in:
Chocobozzz 2020-11-18 11:24:28 +01:00
parent ea3674d04d
commit e14de000f9
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ export class PeertubePlayerManager {
hlsjsConfig: { hlsjsConfig: {
capLevelToPlayerSize: true, capLevelToPlayerSize: true,
autoStartLoad: false, autoStartLoad: false,
liveSyncDurationCount: 7, liveSyncDurationCount: 5,
loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass() loader: new p2pMediaLoaderModule.Engine(p2pMediaLoaderConfig).createLoaderClass()
} }
} }

View File

@ -623,7 +623,7 @@ const VIDEO_LIVE = {
CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes CLEANUP_DELAY: 1000 * 60 * 5, // 5 minutes
SEGMENT_TIME_SECONDS: 4, // 4 seconds SEGMENT_TIME_SECONDS: 4, // 4 seconds
SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist SEGMENTS_LIST_SIZE: 15, // 15 maximum segments in live playlist
EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 5, EDGE_LIVE_DELAY_SEGMENTS_NOTIFICATION: 4,
RTMP: { RTMP: {
CHUNK_SIZE: 60000, CHUNK_SIZE: 60000,
GOP_CACHE: true, GOP_CACHE: true,