Comments (2)
bufferedSegmentsCount (P2P core)
It defines how many segments ahead of the current segment in the current track are taken into consideration by P2P algorithm to be downloaded (preferable via P2P) ahead of playhead position. For example VOD stream can contain 1000 segments but only limited by the parameter count of segments will be downloaded ahead of playhead position.
cachedSegmentsCount (P2P core)
The maximum number of downloaded segments (with payload) a peer keeps in the memory to share with others over P2P. The parameter limits memory usage.
forwardSegmentCount (Shaka Player specific)
It defines how many segments details ahead of the current segment we get using Shaka Player Manifest and pass to P2P algorithm. In most cases should be equal to bufferedSegmentsCount.
maxHistorySegments (Shaka Player specific)
It is not possible (or very hard) in shaka.net.NetworkingEngine determine by URL (and byte range) to what segment (and to what track) it belongs.
That is why when Shaka Player resolves next segment we store its details (URL, byte range, track etc.) in the cache - segments history.
Once Shaka Player requests the segment in shaka.net.NetworkingEngine we search for the segment by URL (and byte range) in this cache and recover its details.
The parameter defines the maximum number of segments in the cache to store to limit its size.
from p2p-media-loader.
@mrlika Thank you so much for the explanation!
from p2p-media-loader.
Related Issues (20)
- p2p loader can't work on google chrome version 110.0.0.0 HOT 1
- Not working in the latest version of Chrome HOT 4
- Create 3 folders with NPM packages
- Create simple hls.js loader plugin
- WebSocket connection to 'wss://tracker.novage.com.ua/' failed: HOT 1
- How to integrating into Reactjs HOT 1
- Peers wont connect !! HOT 5
- Working on firefox and old chrome browsers but not working with latest versions of chrome please help. HOT 7
- Peers are not connecting cross-browser for example chrome peers only connecting with Chrome peers and Firefox only connecting with Firefox peers. Anyone knows the solution ?
- Does the next version support videojs? HOT 1
- Anyone have luck installing on JW Player?
- Release v1 HOT 2
- Not Working P2P HOT 2
- host in mau domain pleass anser HOT 1
- p2pδΈε·₯δ½ HOT 4
- V1 Can't start HOT 2
- test
- demo is only http, none p2p HOT 2
- `p2pml` not found after upgrading to v1.0.1 HOT 6
- Module "events" has been externalized for browser compatibility. Cannot access "events.EventEmitter" in client code HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from p2p-media-loader.