Video.js如何快速轮流进行质量选择?

我正在使用以下配置加载videojs

const VIDEO_JS_CONFIG = {
  src: 'http://mymanifest.com/manifest.m3u8',type: 'application/x-mpegURL',controls: true,autoplay: true,playsinline: true,preload: 'auto',fullscreen: true,liveui: true,html5: {
    hls: {
      overrideNative: true
    }
  }
  controlBar: {
    children: {
      playToggle: true,progressControl: true,customControlSpacer: true,volumePanel: true,fullscreenToggle: true
    }
  },};

当我查看刚刚开始的RTMP流时,可以看到质量在最高和最低分辨率之间快速闪烁。我看到了一个问题:video.js Chrome and FF Quality problems,并尝试过overrideNative,但仍然看到相同的行为。

当我们尝试使用https://github.com/videojs/videojs-contrib-quality-levels时,选择器会起作用,并且选择质量会保持良好状态。但是auto的行为又回到了闪烁状态。

comind 回答:Video.js如何快速轮流进行质量选择?

我尝试了段秒小于2的DASH。在1秒时,各种奇怪的事情开始发生。 DASH可接受1,但HLS不可接受。

本文链接:https://www.f2er.com/3063326.html

大家都在问