【问题标题】:change max Buffer Length in MPEG-dash format以 MPEG-dash 格式更改最大缓冲区长度
【发布时间】:2021-02-28 13:23:51
【问题描述】:

我正在尝试更改 clappr 视频播放器中视频流的最大缓冲区长度。 我知道在 HLS 格式中这样做的方式是这样的:

player = new Clappr.Player({
      playback: {
        hlsjsConfig: {
         maxMaxBufferLength: 30
      }}})

它确实适用于 HLS 视频, 我正在寻找使用 MPEG-dash foramt 的等效方法

【问题讨论】:

    标签: ffmpeg video-streaming video.js mpeg-dash clappr


    【解决方案1】:

    你在 Clappr 中玩 DASH 怎么样?

    如果您使用 Shaka,https://github.com/clappr/dash-shaka-playback,请按照https://github.com/clappr/dash-shaka-playback 所示设置它,使用https://github.com/google/shaka-player/blob/master/docs/tutorials/network-and-buffering-config.md#buffering-configuration 中描述的所需缓冲区设置

    例如:

    player = new Clappr.Player({
      source: '//storage.googleapis.com/shaka-demo-assets/angel-one/dash.mpd',
      plugins: [DashShakaPlayback],
      shakaConfiguration: {
        preferredAudioLanguage: 'pt-BR',
        streaming: {
          bufferingGoal: 30,
          rebufferingGoal: 15,
          bufferBehind: 60
        }
      }
    });
    

    【讨论】:

      猜你喜欢
      • 2010-09-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-04-26
      • 2012-05-17
      • 2014-01-07
      • 1970-01-01
      相关资源
      最近更新 更多