I had it sort of working in the branch before, but now I seem to be
getting this "Feeding stopped: Generator.Incorrect_stream_type."
error:

2013/07/30 22:18:56 [harbor:4] New client on port 8080: 192.168.0.200
2013/07/30 22:18:56 [harbor:4] Header: Upgrade, value: websocket.
2013/07/30 22:18:56 [harbor:4] Header: Connection, value: Upgrade.
2013/07/30 22:18:56 [harbor:4] Header: Host, value: 192.168.0.106:8080.
2013/07/30 22:18:56 [harbor:4] Header: Origin, value: http://192.168.0.106:5678.
2013/07/30 22:18:56 [harbor:4] Header: Sec-WebSocket-Protocol, value: webcast.
2013/07/30 22:18:56 [harbor:4] Header: Pragma, value: no-cache.
2013/07/30 22:18:56 [harbor:4] Header: Cache-Control, value: no-cache.
2013/07/30 22:18:56 [harbor:4] Header: Sec-WebSocket-Key, value:
cfCUH4RpmGn6eISv26CuDg==.
2013/07/30 22:18:56 [harbor:4] Header: Sec-WebSocket-Version, value: 13.
2013/07/30 22:18:56 [harbor:4] Header: Sec-WebSocket-Extensions,
value: x-webkit-deflate-frame.
2013/07/30 22:18:56 [harbor:4] Header: User-Agent, value: Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) C
hrome/30.0.1581.2 Safari/537.36.
2013/07/30 22:18:56 [harbor:5] Hello packet:
{"type":"hello","data":{"mime":"audio/mpeg","audio":{"channels":1,"samplerate":48000,"bit
rate":64,"encoder":"libmp3lame"}}}

2013/07/30 22:18:56 [harbor:4] Mime type: audio/mpeg
2013/07/30 22:18:56 [harbor:4] Mount point: /mount
2013/07/30 22:18:56 [decoder:4] Trying method "WAV" for "audio/mpeg"...
2013/07/30 22:18:56 [decoder:4] Trying method "PCM/BASIC" for "audio/mpeg"...
2013/07/30 22:18:56 [decoder:4] Trying method "RAW AUDIO" for "audio/mpeg"...
2013/07/30 22:18:56 [decoder:4] Trying method "MAD" for "audio/mpeg"...
2013/07/30 22:18:56 [decoder:3] Method "MAD" accepted "audio/mpeg".
2013/07/30 22:18:56 [threads:3] Created thread "harbor source feeding"
(2 total).
2013/07/30 22:18:56 [harbor_4923:3] Decoding...
2013/07/30 22:18:34 [harbor_4923:3] No network activity for 1.00 second(s).
2013/07/30 22:18:59 [fallback_4927:3] Switch to harbor_4923 with transition.
2013/07/30 22:18:59 [single_4925:4] Activations changed: static=[],
dynamic=[fallback_4927:icecast:icecast].
2013/07/30 22:18:59 [harbor_4923:4] Activations changed:
static=[fallback_4927:icecast:icecast],
dynamic=[fallback_4927:icecast:icecast].
2013/07/30 22:18:34 [harbor_4923:3] Incorrect stream type!
2013/07/30 22:18:59 [harbor_4923:4] End of track.
2013/07/30 22:18:59 [harbor_4923:4] Buffer emptied, buffering needed.
2013/07/30 22:18:59 [fallback_4927:3] Switch to single_4925 with
forgetful transition.
2013/07/30 22:18:59 [harbor_4923:4] Activations changed: static=[],
dynamic=[fallback_4927:icecast:icecast].
2013/07/30 22:18:59 [source:4] Source replay_metadata_4945 gets up.
2013/07/30 22:18:59 [replay_metadata_4945:4] Content kind is
{audio=2;video=0;midi=0}.
2013/07/30 22:18:59 [single_4925:4] Activations changed:
static=[replay_metadata_4945:fallback_4927:icecast:icecast],
dynamic=[fallback_4927:icecast:icecast].
2013/07/30 22:18:59 [replay_metadata_4945:4] Activations changed:
static=[fallback_4927:icecast:icecast], dynamic=[].
2013/07/30 22:18:59 [harbor_4923:2] Feeding stopped:
Generator.Incorrect_stream_type.
2013/07/30 22:18:59 [threads:3] Thread "harbor source feeding"
terminated (1 remaining).

I'm using the client example in the webcast repo, my liquidsoap script
is pretty simple:
#!/usr/local/bin/liquidsoap
#
set("log.file.path","/tmp/liquidsoap.log")
set("log.stdout",true)
set("log.level",5)

set("server.telnet",false)

set("harbor.bind_addr","0.0.0.0")

live_dj = input.harbor("/mount",port=8080)

on_fail = single("/home/tony/RadioScotvoid06242013.mp3")
source = fallback(track_sensitive=false,
                  [live_dj,on_fail])

output.icecast(%mp3,id="icecast",
               mount="datafruits.mp3",
               host="localhost",
               icy_metadata="true",description="datafruits.fm",
               url="http://datafruits.fm";,
               source)

If you have any ideas, let me know. Thanks!

On Mon, Jul 29, 2013 at 3:51 AM, Leonard de Ruijter
<[email protected]> wrote:
> Hello,
>
> This is great news. Looking forward to a Win32 build supporting this.
>
> Regards,
> Leonard
> On 7/27/2013 21:06, Romain Beauxis wrote:
>> Hi all,
>>
>> I am very excited to announce that we have just merged the websockets
>> pull request into liquidsoap's master branch on github:
>>    https://github.com/savonet/liquidsoap
>>
>> This code is the result of the work that Sam and I did in the past
>> month and consists of a protocol and API to stream audio and video
>> data from the browser to liquidsoap and potentially other streaming
>> servers.
>>
>> The protocol itself is documented and implemented there:
>>    https://github.com/savonet/webcast
>>
>> Please note that at the moment, the examples only work with a recent
>> Chrome and may be choppy. The protocol and examples will be fully
>> functional first in Firefox Nightly when they finish implementing the
>> Web Audio API and in Chrome once they support asm.js optimizations.
>>
>> Meanwhile, feel free to experience with it. The examples in the
>> websocket directory are not pretty but they should give you a good
>> idea about what's required to implement a browser streaming client.
>>
>> Please, let us know any feedback and question that you may have
>> concerning this project.  We are very excited because we believe that
>> it fills a gap that we've been waiting to address for a long time and
>> that should provide really convenient streaming solutions in the
>> future.
>>
>> Take care y'all!
>> Romain
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users



-- 
-Tony Miller
github.com/mcfiredrill
@freedrull
freedrool.us

------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to