You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a videowall of players and onready set all players to play their hls content at the lowest bitrate. When doing this I receive the following warning: Excessive main segment downloading detected. Switching to playlist 4-2489760/variant.m3u8?.
Upon receiving this warning certain playlist variants become locked out and not allowed to be switched to manually using the quality selector.
Below is the code used to set up the player and switch bitrate.
videojs("vidWallPlayer" + index, {
controls: true,
autoplay: true,
muted: true,
}, function onPlayerReady() {
const player = this;
// Set the video src
player.src({
src: stream.Url,
type: "application/x-mpegURL",
cacheEncryptionKeys: true
})
player.hlsQualitySelector({
displayCurrentQuality: true
});
// player.maxQualitySelector({
// 'disableAuto': true, // Turn off the auto bitrate selection system
// 'defaultQuality': 1 // Make the video start playing at the lowest quality possible
// });
var qualityLevels = player.qualityLevels();
qualityLevels.on('change', function () {
let min = qualityLevels.levels_.reduce((min, l) => l.height < min ? l.height : min, qualityLevels.levels_[0].height);
player.hlsQualitySelector.setQuality(min)
});
});
Here is the full warning:
VIDEOJS: WARN: Problem encountered with playlist 5-851760/variant.m3u8?st=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwdWIiOiJ7XCJzc2lkXCI6XCIzOTIzNzI1MS04YjljLTQyNTUtYThhZS1hYjRmYmQ5OTA4NGJcIixcInNzc1wiOjE2NTIxMDU5NjEsXCJjaWRcIjpudWxsLFwibWlkXCI6MTU5ODMzLFwidWFoXCI6XCJNaUg5Nm4vQW85bVlqYjVmOVZ5L2NRPT1cIn0iLCJwcmkiOiJuaG0yMXhUR3loMVhVeGhIa1NKUjcxMEdpNFpuQUNoNVJ3RTJQQkN3R2dzVHpuMmN6enpBcXZ4MUVwNDNiOTZrLzFnRnNqZkFnMDlrWThPRnlpUU9LSGNWMndaYmFFTnNHSytWOTJJajVWdGlxNklreE9kVkJnUGlGakQ5Qnp3K0F1RDJVUzJ2NnhCN3VGbWdYem5tc1E9PSIsImlhdCI6MTY1MjEwNTk2MiwiZXhwIjoxNjUyNzA1OTYyfQ.GRsHfVpnOHnILutIkTGE29ZXL4LeOpEIBBLCAVxqsmo. Excessive main segment downloading detected. Switching to playlist 0-1553760/variant.m3u8?st=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwdWIiOiJ7XCJzc2lkXCI6XCIzOTIzNzI1MS04YjljLTQyNTUtYThhZS1hYjRmYmQ5OTA4NGJcIixcInNzc1wiOjE2NTIxMDU5NjEsXCJjaWRcIjpudWxsLFwibWlkXCI6MTU5ODMzLFwidWFoXCI6XCJNaUg5Nm4vQW85bVlqYjVmOVZ5L2NRPT1cIn0iLCJwcmkiOiJuaG0yMXhUR3loMVhVeGhIa1NKUjcxMEdpNFpuQUNoNVJ3RTJQQkN3R2dzVHpuMmN6enpBcXZ4MUVwNDNiOTZrLzFnRnNqZkFnMDlrWThPRnlpUU9LSGNWMndaYmFFTnNHSytWOTJJajVWdGlxNklreE9kVkJnUGlGakQ5Qnp3K0F1RDJVUzJ2NnhCN3VGbWdYem5tc1E9PSIsImlhdCI6MTY1MjEwNTk2MiwiZXhwIjoxNjUyNzA1OTYyfQ.GRsHfVpnOHnILutIkTGE29ZXL4LeOpEIBBLCAVxqsmo.
I would expect to see the lowest playlist variant playing but still have the ability to manually switch to all available variants in the future.
Description
I am trying to create a videowall of players and onready set all players to play their hls content at the lowest bitrate. When doing this I receive the following warning:
Excessive main segment downloading detected. Switching to playlist 4-2489760/variant.m3u8?
.Upon receiving this warning certain playlist variants become locked out and not allowed to be switched to manually using the quality selector.
Below is the code used to set up the player and switch bitrate.
Here is the full warning:
I would expect to see the lowest playlist variant playing but still have the ability to manually switch to all available variants in the future.
versions
videojs
https://unpkg.com/[email protected]/dist/video-js.css
https://unpkg.com/[email protected]/dist/video.js
plugins
https://cdnjs.cloudflare.com/ajax/libs/videojs-contrib-quality-levels/2.1.0/videojs-contrib-quality-levels.min.js
https://cdn.jsdelivr.net/npm/[email protected]/dist/videojs-hls-quality-selector.min.js
browsers
chrome
OSes
windows10
The text was updated successfully, but these errors were encountered: