Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/tomclegg/streamserve

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/tomclegg/streamserve

  • v0.1.20150503
  • Source
  • Go
  • Socket score

Version published
Created
Source

streamserve

Efficiently distribute media streams to http clients.

  • Release status: alpha
  • Documentation (same as at godoc.org)
  • TODO
  • AGPLv3

Install binary package (linux amd64):

  • Download a deb, rpm, or tar.bz2 from the Releases page
  • Install it with dpkg, rpm, or tar

Install from source (assuming you have the Go tools installed and $GOPATH/bin is in your PATH):

go get github.com/tomclegg/streamserve

Run:

streamserve -address :44100 \
            -source-buffer 40 \
            -frame-bytes 44100 \
            -reopen \
            -close-idle=false \
            -exec arecord -f cd --file-type raw

streamserve -address :6464 \
            -content-type audio/mpeg \
            -source-buffer 1000 \
            -frame-bytes 300 \
            -frame-filter mp3 \
            -reopen \
            -close-idle \
            -exec sh -c 'curl -sS localhost:44100 | lame -r -h -b 64 -a -m l - -'

Features / design goals

  • Fast. Laptop should handle 1000 clients easily.
  • Small. Use well under 1GB RAM when serving 10 streams to 10K clients.
  • Stream sort-of-streamable formats like mp3.
  • Drop frames when clients are too slow.
  • Keep clients online while sources fail and resume.

FAQs

Package last updated on 03 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc