Giter Site home page Giter Site logo

manniru / simplemicstream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davidlgj/simplemicstream

0.0 2.0 0.0 120 KB

Node.js server to stream an USB Mic over HTTP, with an HTML5 <audio> tag for easy listening.

License: GNU General Public License v3.0

simplemicstream's Introduction

Simple Mic Stream

Simple streaming of an USB Mic via arecord to one client via the html5 tag.

Usage:

Start server, optional port nr as argument (defaults to 9000)

$ node server.js 9090

Go to the server, ie something like http://localhost:9090, with your favorite browser to get an audio player. Just press play. It has a couple of seconds of lag due to buffering, probably browser specific but for me it feels like 2-3s.

You can also open the wav stream directly with with VLC with the url /audio.wav

$ vlc http://loclhost:9090/audio.wav

The server can only support one listener at a time and you need to close the HTTP connection for it to release the mic to someone else, this means closing the tab/browser, not just pressing pause.

GPL Licensed.

simplemicstream's People

Contributors

davidlgj avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.