We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
测试了一下,点播flv一切正常,直播时用srs做服务器,obs推流一直没有成功,原因不详; 代码如下: if (flvjs.isSupported()) { var videoElement = document.getElementById('my-video'); var flvPlayer = flvjs.createPlayer({ type: 'flv', isLive: true, url: 'http://127.0.0.1:8088/hls/111111.flv' }); flvPlayer.attachMediaElement(videoElement); flvPlayer.load(); flvPlayer.play(); }
The text was updated successfully, but these errors were encountered:
检查F12 Console输出是否有错误信息
Sorry, something went wrong.
No branches or pull requests
测试了一下,点播flv一切正常,直播时用srs做服务器,obs推流一直没有成功,原因不详;
代码如下:
if (flvjs.isSupported()) {
var videoElement = document.getElementById('my-video');
var flvPlayer = flvjs.createPlayer({
type: 'flv',
isLive: true,
url: 'http://127.0.0.1:8088/hls/111111.flv'
});
flvPlayer.attachMediaElement(videoElement);
flvPlayer.load();
flvPlayer.play();
}
The text was updated successfully, but these errors were encountered: