Hi Alex,

Here's a quick test I just ran:

Launch a local liquidsoap like this:

liquidsoap 'output.dummy(fallible=true,input.harbor("mount",port=8080))'

Go to webcaster folder, make sure make init has been invoked and execute:
make run

Go to http://localhost:8000/ on Chrome

Click on "Start Streaming"

Then I was able to see in liquidsoap's logs:
2016/05/16 10:34:02 [harbor:3] Adding mountpoint '/mount' on port 8080
2016/05/16 10:34:02 [threads:3] Created thread "wallclock_main" (1 total).
2016/05/16 10:34:02 [clock.wallclock_main:3] Streaming loop starts,
synchronized with wallclock.
2016/05/16 10:34:02 [dummy:3] Source failed (no more tracks) stopping
output...
2016/05/16 10:34:43 [decoder:3] Method "MAD" accepted "audio/mpeg".
2016/05/16 10:34:43 [threads:3] Created thread "harbor source feeding" (2
total).
2016/05/16 10:34:43 [harbor_8948:3] Decoding...

You may want to try this first. Then if you are still having trouble in
your specific case, you might want to try to open the browser's debugging
console and see if you can get any information from there. In particular,
the networking information may allow you to track the websocket connection
and see if you have errors coming from there.

Hope that helps,
Romain

2016-05-16 4:14 GMT-05:00 Alex LaBranche <[email protected]>:

> 123.x.x.x ip is just a placeholder for emailing purposes… but everything
> is being run from the same box. ubuntu/linux box
>
> liquidsoap, webcast client demo, and example server
>
>
>
> On May 16, 2016, at 2:03 AM, Tony Miller <[email protected]> wrote:
>
>
>> here is the destination URI i am using in the demo client
>>
>> ws://source:[email protected]:8080/mount
>>
>
> I assume that liquidsoap is running on this 123.123.123.123 machine and
> not 'localhost'?
>
>
>
>>
>> any ideas?
>>
>>
>> On Apr 14, 2016, at 12:08 PM, Romain Beauxis <[email protected]>
>> wrote:
>>
>> Yes, support for the websocket input in input.harbor was only added with
>> this version.
>>
>> 2016-04-10 22:43 GMT-05:00 Alex LaBranche <[email protected]>:
>>
>>> does this only work in liquidsoap 1.2.0?
>>>
>>>
>>> On Apr 2, 2016, at 9:05 PM, Robert McAuley <[email protected]> wrote:
>>>
>>> This is news to me, thanks for correcting me!  Now I have a fun thing to
>>> add to my project. :)
>>>
>>> On Sun, Apr 3, 2016 at 11:27 AM, Brad Isbell <[email protected]> wrote:
>>>
>>>> Actually, it is possible to enumerate audio capture devices through the
>>>> MediaDevices API.
>>>>
>>>> You can see an example here:
>>>> https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices
>>>>
>>>> A device ID can then be passed to getUserMedia as an audio constraint.
>>>> This is easiest if you use adapter.js
>>>> <https://github.com/webrtc/adapter> to take care of translating the
>>>> constraint object for the various implementations, as Chrome hasn't
>>>> implemented the latest spec yet.
>>>>
>>>> If you're only capturing a single device however, it's a better user
>>>> experience to leave it up to the browser to prompt the user for device
>>>> selection.  At least under Firefox, it doesn't seem to be possible to open
>>>> up multiple audio devices currently.  If you attempt it, Firefox just
>>>> captures audio from the last selected device.
>>>>
>>>> *Brad Isbell // AudioPump, Inc.*
>>>> [email protected]
>>>> Skype: bradisbell
>>>> Phone: +1 312-488-4680
>>>>
>>>> On Sat, Apr 2, 2016 at 7:18 PM, Robert McAuley <[email protected]>
>>>> wrote:
>>>>
>>>>> That's up to Chrome. Firefox gives you the selection.  It's not
>>>>> exposed to Javascript as far as I know.
>>>>> On Apr 3, 2016 02:31, "Alex LaBranche" <[email protected]> wrote:
>>>>>
>>>>>> ooh. this is nice.
>>>>>>
>>>>>> any chance the client could have an audio interface selection for the
>>>>>> input source instead of playlist 1/2? say line in, or soundflower, system
>>>>>> default, etc?
>>>>>>
>>>>>> cheers,
>>>>>>
>>>>>> alex
>>>>>>
>>>>>>
>>>>>> On Apr 2, 2016, at 8:51 AM, Romain Beauxis <[email protected]>
>>>>>> wrote:
>>>>>>
>>>>>> Hey!
>>>>>>
>>>>>> Thanks for asking!
>>>>>>
>>>>>> The feature uses websockets connections between a browser and a
>>>>>> running liquidsoap.
>>>>>>
>>>>>> There is a small featured protocol described and implemented in
>>>>>> javascript here: https://github.com/webcast/webcast.js
>>>>>>
>>>>>> There is also a featured client with a proper DJ UI to demonstrate
>>>>>> here: https://github.com/webcast/webcaster
>>>>>>
>>>>>> It's been some time ago but last I tried, it worked quite fine with
>>>>>> Chrome. You can launch a local server by cloning the repository, running
>>>>>> make run and looking at http://localhost:8000/
>>>>>>
>>>>>> Hope this helps, let me know if you have more questions!
>>>>>>
>>>>>> Romain
>>>>>>
>>>>>> 2016-03-03 3:22 GMT-06:00 Simone Dal Maso <[email protected]>:
>>>>>>
>>>>>>> Hello,
>>>>>>> can you please give me more information about this features?
>>>>>>> Is it documented on the api?
>>>>>>> Can I try it or should I build some sort of clients?
>>>>>>> Thank you very much!
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Site24x7 APM Insight: Get Deep Visibility into Application
>>>>>>> Performance
>>>>>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>>>>>> Monitor end-to-end web transactions and take corrective actions now
>>>>>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
>>>>>>> _______________________________________________
>>>>>>> Savonet-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Transform Data into Opportunity.
>>>>>> Accelerate data analysis in your applications with
>>>>>> Intel Data Analytics Acceleration Library.
>>>>>> Click to learn more.
>>>>>>
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140_______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>> Transform Data into Opportunity.
>>>>>> Accelerate data analysis in your applications with
>>>>>> Intel Data Analytics Acceleration Library.
>>>>>> Click to learn more.
>>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>>>>>> _______________________________________________
>>>>>> Savonet-users mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>
>>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> Transform Data into Opportunity.
>>>>> Accelerate data analysis in your applications with
>>>>> Intel Data Analytics Acceleration Library.
>>>>> Click to learn more.
>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>>>>> _______________________________________________
>>>>> Savonet-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>
>>>>>
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Transform Data into Opportunity.
>>>> Accelerate data analysis in your applications with
>>>> Intel Data Analytics Acceleration Library.
>>>> Click to learn more.
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
>>>> _______________________________________________
>>>> Savonet-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Transform Data into Opportunity.
>>> Accelerate data analysis in your applications with
>>> Intel Data Analytics Acceleration Library.
>>> Click to learn more.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140_______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Find and fix application performance issues faster with Applications
>>> Manager
>>> Applications Manager provides deep performance insights into multiple
>>> tiers of
>>> your business applications. It resolves application problems quickly and
>>> reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
>>> gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
>>> _______________________________________________
>>> Savonet-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>> Find and fix application performance issues faster with Applications
>> Manager
>> Applications Manager provides deep performance insights into multiple
>> tiers of
>> your business applications. It resolves application problems quickly and
>> reduces your MTTR. Get your free trial!
>>
>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Mobile security can be enabling, not merely restricting. Employees who
>> bring their own devices (BYOD) to work are irked by the imposition of MDM
>> restrictions. Mobile Device Manager Plus allows you to control only the
>> apps on BYO-devices by containerizing them, leaving personal data
>> untouched!
>> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>>
>
>
> --
> -Tony Miller
> github.com/mcfiredrill
> @freedrull
> freedrool.us
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
>
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j_______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
>
>
> ------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to