如何模拟流媒体广播听众?
如何模拟流媒体广播听众? 我有一个在线广播设置,在端口 5672 和类似domain.com:5672/radio.mp3 的网址上进行流式传输 我想测试该服务器的网站/服务器/内存/带宽/负载等
我该如何对 mp3 扩展文件执行此操作?浏览器不工作!
我尝试使用 webrunner,但它无法“收听”mp3 ...它尝试下载它! 我无法打开多个 winamp 会话... 对于大约 2000 名听众,
请告诉我。 感谢和问候 普拉德
How to simulate streaming radio listeners?
I have an online radio setup streaming at port 5672 and at url like domain.com:5672/radio.mp3
I want to test the website/server/ram/bandwidth/load etc for this server
How would i do that for an mp3 extension file? browsers dont work!
I tried using webrunner, but it cannot ""listen"" to mp3 ... it tries to download it!
I cannot open multiple winamp sessions ...
for like 2000 listeners
Please let me know.
Thanks and Regards
prad
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我所做的就是调用 WGET 并将其输出到 Windows 上的
/dev/null
或NUL
。这是我的 Windows 命令行:然后我为此创建了一个快捷方式并将其设置为最小化运行。这让我可以敲击 enter 几百次并观察听众的数量。您可以轻松地编写脚本来获取特定的数字,但我发现手动增加侦听器计数很方便。
确保您确实有足够的带宽来进行此测试。换句话说......您可能需要位于服务器本地。另外,最好在 Winamp 或 VLC 中启动一个流,以便您可以听到/看到缓冲区下降。某些服务器将保持连接,但无法跟上流量。
What I do is call WGET and have it output to
/dev/null
orNUL
on windows. Here is my windows command line:I then make a shortcut for this and set it to run minimized. This allows me to smack enter a few hundred times and watch the listener counts. You could easily script this to get a specific number, but I've found it handy to manually turn up the listener count.
Be sure that you actually have enough bandwidth for this test. In other words... you will probably need to be local to the server. Also, it is good to fire up one stream in Winamp or VLC so that you can hear/watch the buffer drop. Some servers will maintain a connection, but will be unable to keep up with the flow.
Shoutcast 通常不会占用大量 CPU 或 I/O 资源,即使在较高的比特率下有很多听众,但带宽始终是您关心的问题。无论如何可以在 Linux 上使用 mpg123 来测试负载。
以下工具也可能有助于确定您的带宽要求:
http://servers.internet-radio。 com/tools/bandwidth/
Shoutcast generally isn't that CPU or i/o intensive even at higher bit rates with a lot of listeners, bandwidth however is always going to be your concern. Anyway can use mpg123 on Linux to test load.
The following tools might also help work out your bandwidth requirements:
http://servers.internet-radio.com/tools/bandwidth/