
我按照這個問題的答案製作了一個 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