所以我尝试用red5设置我自己的rtmp服务器,我想在我的流媒体网站上使用我自己的本地red5 rtmp地址(比如ustream with videowhisper)。因此,我的用户可以在我的网站上通过我的服务器流式传输和观看其他人的流,我不必在线购买昂贵的服务器。 Videowhisper需要一个rtmp地址。所以请有人告诉我如何做到这一点以及我需要做什么。
我在我的localhost上安装了red5,服务器已启动并运行。在Videowhisper中我将rtmp设置为rtmp:// myipaddress但是我的连接失败了。
这里是settings.php
<?php
$rtmp_server = "rtmp://localhost:1935/videowhisper-live";
// rtmp://your-server-ip-or-domain/application
$rtmp_amf = "AMF3";
// AMF3 : Red5, Wowza, FMIS3, FMIS3.5
// AMF0 : FCS1.5, FMS2
// blank for flash default
$rtmfp_server="rtmfp://stratus.adobe.com/f1533cc06e4de4b56399b10d- 1a624022ff71/";
// RTMFP server for negotiangin P2P connections where possible
// Get your own independent developer key/address from: https://www.adobe.com/cfusion/entitlement/index.cfm?e=stratus
$tokenKey = "VideoWhisper";
// This can be used to secure access as configured in RTMP server settings (secureTokenSharedSecret).
$ban_names=Array("ban_name1", "ban_name2");
//ban channel or user names
$httpstreamer="http://localhost:1935/videowhisper/";
//path for HTTP Live Stre streaming usually available with Wowza hosting if packetizers are enabled
//use http://www.videowhisper.com/?p=Wowza+Media+Server+Hosting or see http://www.wowza.com/forums/content.php?217#cupertinostreaming
//usage limit per channel
//default 2 hours per week limit
$maximumSessionTime=7200000; //7200000 ms = 2h; 0 for unlimited
$resetTime = 7 * 3600 * 24; //weekly
?>
如果有人知道如何用wowza做到这一点,那我还安装了wowza
请有人帮助我寻找解决方案
答案 0 :(得分:0)
如果您正确设置了RTMP地址,包括端口和流名称,并且您可以在本地网络中播放此流,则很可能阻止Red5服务器和Videowhisper之间的端口1935上的通信。
自1935年可以被防火墙阻止后,您可以尝试将流媒体服务器配置为使用众所周知的端口,例如80或8080.