问题描述
在阅读Icecast的文档之后,我有两个问题:
After reading the documents of icecast, I have two questions:
1)我不确定Icecast服务器是否可以缓冲音频流,如果可以,如何使用中继?
1) I'm not sure the icecast server can buffer audio streams, if It does can, How about using relaying?
2)如果我有许多动态中继服务器要代理,如何配置配置文件?我的意思是我必须动态地更改配置文件,因为我还没有告诫icecast支持/ realtime(\d +)之类的正则表达式来匹配所有实时电台。
2) If i have many dynamic relay servers to proxy, How to config the config file? I mean I have to change the config file dynamicly, since i have not sean that icecast supports the regular expression such as /realtime(\d+) to match all the realtime stations.
推荐答案
Icecast会缓冲流。当客户端连接时,缓冲区数据将以Icecast可以循环并发送数据的速度刷新。
Icecast does buffer streams. When a client connects, the buffer data is flushed as fast as Icecast can loop around and send data.
Icecast还可以中继现有流。来自:
Icecast can also relay existing streams. From the documentation:
<relay>
<server>192.168.1.11</server>
<port>8001</port>
<mount>/example.ogg</mount>
<local-mount>/different.ogg</local-mount>
<relay-shoutcast-metadata>0</relay-shoutcast-metadata>
</relay>
现在,就即时执行此操作而言,据我所知没有办法在Icecast中做到这一点。
Now, as for doing this on-the-fly, as far as I know there is no way to do this in Icecast.
这篇关于Icecast中继流可以缓冲逐行音频流的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!