
player.load() fails when seeked in previous video
Hi. I am using JW7, RTMP Streams with signed URLs via Amazon Cloudfront.
I have built custom controls and a custom playlist.
Playing a video and then automatically/manually loading another video works.
But if I seek inside a video (this works) and then try to load another video, the next video will not play.
I had the feeling this worked sometimes yesterday, today this is failing on each try though.
The last thing player.on('all') outputs in this case is the event 'bufferFull'.
This is the output of player.on('all') when successfully playing the next video (plus where the next video is loaded):
Event-type: time; Player-status: playing
Event-type: meta; Player-status: playing
Event-type: beforeComplete; Player-status: playing
Event-type: idle; Player-status: complete
player.load([{file: next_video}]);
Event-type: playlist; Player-status: idle
Event-type: captionsList; Player-status: idle
Event-type: playlistItem; Player-status: idle
Event-type: beforePlay; Player-status: idle
Event-type: playAttempt; Player-status: idle
Event-type: buffer; Player-status: buffering
Event-type: mediaType; Player-status: buffering
Event-type: complete; Player-status: buffering
Event-type: levels; Player-status: buffering
Event-type: bufferFull; Player-status: buffering
Event-type: meta; Player-status: buffering
Event-type: play; Player-status: playing
Event-type: time; Player-status: playing
Event-type: meta; Player-status: playing
Event-type: firstFrame; Player-status: playing
Event-type: time; Player-status: playing
This is the output of player.on('all') when the error occurs (plus where the next video is loaded):
Event-type: time; Player-status: playing
Event-type: meta; Player-status: playing
Event-type: beforeComplete; Player-status: playing
Event-type: idle; Player-status: complete
player.load([{file: next_video}])
Event-type: playlist; Player-status: idle
Event-type: captionsList; Player-status: idle
Event-type: playlistItem; Player-status: idle
Event-type: beforePlay; Player-status: idle
Event-type: playAttempt; Player-status: idle
Event-type: buffer; Player-status: buffering
Event-type: mediaType; Player-status: buffering
Event-type: complete; Player-status: buffering
Event-type: levels; Player-status: buffering
Event-type: bufferFull; Player-status: buffering
It's the same except that nothing happens after bufferFull.
I'd appreciate any pointers as to what my problem might be. Since it seems to be related to seeking, I will debug my seeking procedure, but since seeking inside one video works, I do not know why this would affect loading a new video file into the player. Do I somehow have to manually release memory after seeking?
(writing this already helped me a lot, narrowing it down to seeking+load, before that I thought it was somehow related to me trying to load the next video automatically)