Re: How to use http-put for JavaScript source client
Jamie McClelland <[email protected]>
| Newsgroups | gmane.comp.audio.icecast.devel |
|---|---|
| Message-ID | <[email protected]> |
Thanks so much for the comprehensive response Romain. It sounds like you are working hard getting this working with audio streams and it's a lot more complicated than I had originally hoped. I'm still curious about the proper syntax of the http put command though (and I'm sure others would be interested as well). Is there any documentation on the parameters to send? I also had a (probably naive) question about your approach... > For these reasons, we at liquidsoap have been working on implementing > a simple websocket protocol for sending source streams from a browser > to a server. The protocol is documented and implemented there: > https://github.com/savonet/webcast > <snip> > The bottlenecks right now are the availability of the Web Audio API, > which is only partially implemented in firefox and the encoding speed. > > Because there is no native encoding API for browser-side javascript, > we have (temporarily?) resorted to using javascript-compiled libraries > for mp3 encoding. However, only firefox seems to show suitable > performances for mp3 encoding, using the libshine build and thanks to > its asm.js support. > https://github.com/savonet/shine/tree/master/js I'm curious why encoding speed on the browser is an issue. If you are sending the data to a nodejs app on a server, why not have the nodejs app doing any additional encoding necessary? jamie -- Jamie McClelland May First/People Link Growing networks to build a just world http://www.mayfirst.org https://support.mayfirst.org OpenPGP Key: http://current.workingdirectory.net/pages/identity/ _______________________________________________ Icecast-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/icecast-dev
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCgAGBQJR8SmNAAoJELsLfuFfLkk1VOAP/0x3bZ57kPF+il8/9MM1/L2h 5gWEb9l4ZWKbD0TAnt3IIvXlJzKKmPeGbGg38y3QmtT7PLpva66Y9dGkm3ge09Tq bLjxPp2W9wqWHolbWnOUlhoBvb/kbWyR1VPUgQwAtoJsWUtPBgfb/Xy6ObwjTN8i 7hu/Wr8MEiVbaVqCT4NpH1+wyWWAg2zzHbNmnuUJQtYZ7Qm/gCEpNmRwdXnmj44y yOnc4qjNOpk0wZ+c4RZQKiO1aobf6iPN2X3Ob1jA8TDSGMnenMv9DjIqTP6H7heT 2Om7E0wvGjhGiNhjNnPs0Xls/bMvMZCeCsE2NYeBTjNH1eGg9e6qDk6npMYqW3Te 776qDBmP1QsG/D8v5Vp4haqQOw8x7D8V8p+QaE+yMfeMzdOHBKSSNclilZQTcpyE 03edPTMR+scETf1tU6qPIs6s11VqaIE7+XwOD7dmK889HLiQUuUsyy0amz7kVHhj kAwb5GpXgq+wlcb0dpLVlFLuKOpTBvcIWo+t+uFdcVo+jm9SrNWqC81L5pqe6+rL e2sxSrlVmo5fge5zpftlwNIdpkc40iq2SK+7qLG8g1Uypl6QgE8Py7AY6mOTx7ss c8WV/lUs8tZX7O2X2ZU8aeDpFgNDlKnZyp52IK1ly2W3ROX3BXkoo5KvauPehS+4 CqXZVmJxQg5KqKF0e16H =/HeD -----END PGP SIGNATURE-----