
我根据以下问题的答案创建了一个 DarkIce 服务器:通过 darkice 将声卡输出流传输到 icecast2。
并且它在支持的播放器上也能很好地工作。在Icecast2 状态我有 m3u 和 XSPF 的链接。但我需要将其流式传输到 html5,因此我需要有一个路径.ogg
我如何配置 icecast2 以使该路径可用?
链接到服务器屏幕(已在 darkice 中设置为 vorbis):
答案1
您正在寻找的路径MountPoint
位于Darkice.cfg
:
[icecast2-0]
#format = mp3 <- for mp3 config
format = vorbis
bitrateMode = cbr
bitrate = 128
quality = 0.8
server = localhost
#ends with .ogg for vorbis radio
mountPoint = YourStation.ogg
#no extension needed for mp3
#mountPoint = YourStation