mirror of
				https://github.com/TeamPiped/Piped.git
				synced 2025-11-04 06:31:55 +00:00 
			
		
		
		
	feat: keep the last 5 minutes of buffer (#3665)
This commit is contained in:
		@@ -364,6 +364,7 @@ export default {
 | 
				
			|||||||
                        "streaming.bufferingGoal",
 | 
					                        "streaming.bufferingGoal",
 | 
				
			||||||
                        Math.max(this.getPreferenceNumber("bufferGoal", 10), 10),
 | 
					                        Math.max(this.getPreferenceNumber("bufferGoal", 10), 10),
 | 
				
			||||||
                    );
 | 
					                    );
 | 
				
			||||||
 | 
					                    localPlayer.configure("streaming.bufferBehind", 300);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                    this.setPlayerAttrs(localPlayer, videoEl, uri, mime, this.$shaka);
 | 
					                    this.setPlayerAttrs(localPlayer, videoEl, uri, mime, this.$shaka);
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user