用于流式传输 Skype 视频通话等内容的 RTMP 指南
因此,我的客户端的所有内容都已在本地服务器上设置完毕,但我现在必须将其放在网上。我有几个问题。 所以基本上我想让它像 Skype 视频通话一样。用户收到在特定时间与站点管理员交谈的预约。在给定的时间,用户登录并转到与管理员一起上线的页面。管理员需要看到和听到客户,客户也需要管理员。问题是: 1. rtmp 是最好的解决方案吗?或者这可以用 rtmp 实现吗? 2.我知道如何从本地主机连接到流,然后像这样连接到流 流
ns.connect("rtmp://localhost/streamfolder");
ns.publish("stream", "live");
连接
ns.connect("rtmp://localhost/streamfolder");
ns.play();
当您从在线服务器流式传输时是否那么简单? 3.我承认我需要一个专用服务器来进行流式传输,但是当我浏览主机时,我找不到太多这方面的信息。这个经济包可以吗? http://www.godaddy.com/hosting/virtual-dedicated -servers.aspx?ci=9013 我真的很喜欢 goDaddy,所以如果我坚持使用它们会很酷.. 在 GoDaddy 服务器上安装 Red5 很难吗? 或者我应该选择这样的东西 – http://www.videowhisper.com/?p= RTMP+托管? 谢谢!
So everything is setup for my client on my local server but I now have to put it online. I have a couple of questions.
So basically I want to make it somehow like a skype video call. The user receives an appointment at a specific hour to talk to the site administrator. At that given hour, the user logs in and goes to a page to go live with the administrator. Both the administartor need to see and hear the client, and the client the administrator. The questions are :
1. is rtmp even the best sollution for this ? or is this possible with rtmp ?
2. I know how to connect to stream from localhost and then connect to the stream like so
stream
ns.connect("rtmp://localhost/streamfolder");
ns.publish("stream", "live");
connect
ns.connect("rtmp://localhost/streamfolder");
ns.play();
is it as simple when you stream from a online server ?
3. I acknowledged that I need a dedicated server to stream, but when I browse hosts I can’t find much info on this. Would this Economy pack do ? http://www.godaddy.com/hosting/virtual-dedicated-servers.aspx?ci=9013 I really like goDaddy so it would be cool if I would stick to them .. Is it hard to install Red5 on a GoDaddy server ?
or should I go with something like this – http://www.videowhisper.com/?p=RTMP+Hosting ?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
1a) 最好是 RTMFP P2P 或通过 FMS。它基于 UDP,使用较少的带宽。要使用它,您需要 FMS3.5 或更高版本或 Adobe Stratus/Cirrus。
1b) 是的,所有“媒体”协议(RTMFP、RTMP 及其隧道/安全变体)都是可能的
2) 是的,使用远程服务器时就这么简单,您只需输入服务器地址而不是本地主机
3) 在开始时我肯定会使用一些媒体服务器托管,例如 wowza 或 FMS(我最喜欢的是 INFLUXIS,他们得到了大力支持,他们也热衷于帮助 AS3 代码)
1a) The best is RTMFP P2P or via FMS. It's UDP based and uses less bandwidth. To use it you need FMS3.5 or higher or with Adobe Stratus/Cirrus.
1b) Yes it is possible with all 'media' protocols (RTMFP, RTMP and it's tunneled/secured variants)
2) yes, it's that simple when using remote server, you just put your server address instead of localhost
3) In the beginning I would definitely use some media server hosting like wowza or FMS (my favorite is INFLUXIS, they got great support, they are keen to help with AS3 code also)