【问题标题】:How come Video.js would rapidly rotate quality selection?Video.js 怎么会快速旋转质量选择?
【发布时间】:2019-11-23 05:50:53
【问题描述】:

我正在使用此配置加载 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 的行为又回到了闪烁状态。

【问题讨论】:

    标签: javascript html5-video video.js


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-07-05
      • 2011-06-25
      • 2015-10-07
      • 1970-01-01
      • 2012-07-06
      相关资源
      最近更新 更多