Hi,
I have a very small liq file to test the Webcaster.
______________________________________
set("log.level",5)
set("harbor.bind_addr","0.0.0.0")
live = audio_to_stereo(input.harbor("mount", port=8080))
on_fail = single("/home/greg/nobody.mp3")
source = fallback(track_sensitive=false,[live,on_fail])
output.icecast(%mp3,id="icecast", mount="/mount", host="localhost",
port=8000, icy_metadata="true", source)
______________________________________
The liq starts successfully and push to Icecast without problem.
When I try the Webcaster client in Chrome I have the following log :
______________________________________
2014/02/18 10:22:18 [harbor:4] New client on port 8080: GREG.local
2014/02/18 10:22:18 [harbor:4] Header: Upgrade, value: websocket.
2014/02/18 10:22:18 [harbor:4] Header: Connection, value: Upgrade.
2014/02/18 10:22:18 [harbor:4] Header: Host, value: 192.168.0.27:8080.
2014/02/18 10:22:18 [harbor:4] Header: Origin, value:
http://localhost:64848.
2014/02/18 10:22:18 [harbor:4] Header: Sec-WebSocket-Protocol, value:
webcast.
2014/02/18 10:22:18 [harbor:4] Header: Pragma, value: no-cache.
2014/02/18 10:22:18 [harbor:4] Header: Cache-Control, value: no-cache.
2014/02/18 10:22:18 [harbor:4] Header: Sec-WebSocket-Key, value:
g0fR/5oOqIj6rKHkfvFPzg==.
2014/02/18 10:22:18 [harbor:4] Header: Sec-WebSocket-Version, value: 13.
2014/02/18 10:22:18 [harbor:4] Header: Sec-WebSocket-Extensions, value:
permessage-deflate; client_max_window_bits, x-webkit-deflate-frame.
2014/02/18 10:22:18 [harbor:4] Header: User-Agent, value: Mozilla/5.0
(Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko)
Chrome/32.0.1700.107 Safari/537.36.
2014/02/18 10:22:18 [harbor:4] HTTP GET request on /mount.
2014/02/18 10:22:18 [harbor:4] Returned 404 for '/mount'.
______________________________________
Do you have any idea why I receive a 404 error ?
Another question: how do you specify the password with the webcaster client
if the liq requires one ?
TIA,
Greg
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users