日期:2014-05-16  浏览次数:20657 次

流媒体数据传输?
   我在CentOS5.5中有用到流媒体服务器SlySeal,根据他的说明,把python2.4升级为了python2.6,并且安装了module M2crypto,然后根据命令打开slyseal服务器:python2.6 slyseal.py start,显示如下图: 
[root@localhost SlySeal]  #python2.6 slyseal.py start
Binding SlySeal to 127.0.0.1:1935
Working directory is 
Starting as daemon:Yes
  html5中代码如下:
<script type="text/javascript" src="jwplayer/jwplayer.js"></script>
<div id="container">Loading the player ...</div>
<script type="text/javascript">
jwplayer("container").setup({
    height: 270,
    width: 480,
    modes: [
    { type: "flash",
        src: "jwplayer/player.swf",
        config: {
            file: "vedio/mp24.mp4",
            streamer: "rtmp://172.16.1.200",
            provider: "rtmp"
            }
    },
    { type: "download" }
    ]
});
</script>

  运行结果如下:

Server not found :rtmpt://172.16.1.20:800


如果我把协议改写成http,则会显示找不到文件

求解决?
CentOS?Python?流媒体 服务器

------解决方案--------------------
rtmp默认端口是1935,你那提示怎么会显示是800?会不会是前端的问题?
------解决方案--------------------
netstat命令看的?如果没绑定的话,就是服务没启动成功了。

但是看你上面的提示,启动应该是成功的,你会不会前台启动,然后不小心把CRT关闭了。。。
------解决方案--------------------
SlySeal本身就实现了rtmp协议。启动后,能看到SlySeal相关进程吗?用netstat看SlySeal绑定的端口是多少?