Icecast relay stream can buffer a progressive audio stream

偶尔善良 提交于 2019-12-12 04:37:09

问题


After reading the documents of icecast, I have two questions:

1) I'm not sure the icecast server can buffer audio streams, if It does can, How about using relaying?

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.


回答1:


Icecast does buffer streams. When a client connects, the buffer data is flushed as fast as Icecast can loop around and send data.

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>

Now, as for doing this on-the-fly, as far as I know there is no way to do this in Icecast.



来源:https://stackoverflow.com/questions/24501726/icecast-relay-stream-can-buffer-a-progressive-audio-stream

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!