我无法在 rtmp 中流式传输视频
我在流式传输视频时遇到错误
<html>
<body>
<div id='container'>The player will be placed here</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"> </script>
<script type="text/javascript">
var flashvars = {
file:'user2.flv',
streamer:'rtmp://localhost/myapp/',
type : 'video'
};
swfobject.embedSWF('player.swf','container','480','270','9.0.115','false', flashvars,
{allowfullscreen:'true',allowscriptaccess:'always'},
{id:'jwplayer',name:'jwplayer'}
);
</script>
</body>
有人可以帮我解决这个问题吗?
I am getting error while streaming video
<html>
<body>
<div id='container'>The player will be placed here</div>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"> </script>
<script type="text/javascript">
var flashvars = {
file:'user2.flv',
streamer:'rtmp://localhost/myapp/',
type : 'video'
};
swfobject.embedSWF('player.swf','container','480','270','9.0.115','false', flashvars,
{allowfullscreen:'true',allowscriptaccess:'always'},
{id:'jwplayer',name:'jwplayer'}
);
</script>
</body>
CAn anyone help me fixing this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在我看来,你有一个简单的“它不存在”的答案。要问的问题:
Looks to me like you have a simple "it is not there" answer. Questions to ask: