有没有办法手动为 jwplayer 提供视频片段?

Is there a way to feed jwplayer the segments of a video manually?

简而言之,我正在编写一个插件来从我自己的服务器(使用 websocket)而不是 CDN 的 hls 播放列表中获取片段。

我设法替换了 xhr,但我现在一直在尝试将片段传递给 jwplayer。我想知道是否有办法实现这一目标。

您可以创建自己的提供商来请求和呈现媒体 - https://github.com/jwplayer/jwplayer-sdks