开发者

I am not able to stream video in rtmp

I am getting error while streaming video

<html>

<body>

    <div id='container'>The player will be placed here</div>

        <scrip开发者_运维技巧t 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 not able to stream video in rtmp

CAn anyone help me fixing this?


Looks to me like you have a simple "it is not there" answer. Questions to ask:

  • Are you sure rtmp://localhost/myapp/user2.flv is a valid path?
  • Are you running an RTMP server on your local machine?
  • Does it have an app called myapp?
  • Does the user2.flv actually exist?
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜