Comments (2)
I am using the live stream below. After meeting the 4-second buffer, playback is starting at a point where the remaining buffer is 3 seconds. But it always starts playing from the 6th video chunk. This appears to play the last 6th video chunk of the last downloaded playlist.
Is it possible to play directly from the 3rd video chunk?
The default for HLS is follow the guidance in the HLS spec, and to join live streams 3 segments back from the live edge.
You can configure this threshold with something like
// Segments from the live edge, specific to HLS:
player.configure('manifest.hls.liveSegmentsDelay', 6 /* segments */);
or
// Seconds from the live edge, generic, defaults to 0 meaning a different behavior
// for DASH & HLS.
player.configure('manifest.defaultPresentationDelay, 6 /* seconds */);
// The DASH default is to use MPD's suggestedPresentationDelay,
// falling back to 1.5 * minBufferTime if missing.
// The HLS default is to use segment delay, defaulting to 3 above.
See also:
- https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.HlsManifestConfiguration
- https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.ManifestConfiguration
from shaka-player.
thanks
from shaka-player.
Related Issues (20)
- Growing memory usage with DASH live streams HOT 11
- Shaka Player is not playing the complete content duration HOT 5
- Demo broken by private Widevine extension HOT 6
- Preload does not use NetworkingEngine configuration HOT 5
- I want to keep the remaining buffer constant. HOT 4
- Segement downloaded in 5 ms, wrong information HOT 5
- Dragging the seek bar seeks and pans the view in VR mode, instead of just seeking HOT 6
- No playback no errors HOT 7
- HLSParser: MEDIA_SEGMENT request in getMediaPlaylistBasicInfo_ causes load latency HOT 1
- abr is false, but master.m3u8 plays the highest quality. HOT 5
- Startover, player stops when manifest chnages from 'dynamic' to 'static' HOT 1
- Problems following error handling and retries documentation on Shaka 4.8.5
- Unable to change between Eng audio tracks on Angel One HOT 1
- Player throw error 6001 despite correct DRM config HOT 1
- Error when calling selectTextTrack() HOT 4
- AdaptationSetCritieria extension to consider audio channel config rather than channel count HOT 2
- Player stuck at state `src-equals` when loading mp3 in bad network condition, and won't be able to execute `unload`
- "Changing tracks while abr manager is enabled" warning clarification.
- How to get the subtitle to get on top of the play control bar when it is shown? HOT 4
- Let ABR manager know about prefetched streams 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 shaka-player.