preload manifest error
Created by: bknill
Hi,
I have tried to get help on Stackoverflow with this but no response
I'm trying to preload videos using the example I found here
My code
scene.video.dash = dashjs.MediaPlayer().create()
const url = `${CDN}/dash/${scene.video.mpegDash}`
scene.video.dash.initialize(null, url, true)
scene.video.dash.on('error',e => console.log('dash error', e))
scene.video.dash.preload()
The error I get is
error: "manifestError"
event:
event: undefined
id: "nostreamscomposed"
manifest: {Period: {…}, Period_asArray: Array(1), __children: Array(1), xmlns: "urn:mpeg:dash:schema:mpd:2011", mediaPresentationDuration: 24.367, …}
message: "streamProcessors[i].createBuffer(...).getBuffer is not a function"
The buffer isn't attached to any source, as I wanted to attach it to a single video when I want it to play.
The manifest is loaded.
Any ideas?
I just want to load the manifests into memory and ideally the first segment for a few videos so they load quicker between scenes.
Using version 2.9.3 on latest Chrome.