Git Product home page Git Product logo

livecamera's Introduction

Brief

Live Camera is the system creating stream file from android device's camera

then upload the server, and generate m3u8 playlist for flash/safari/vplayer

why I do this

I work on one hardware encoder which upload stream data to server for live broadcast years ago

I always think the hardware can be replaced by smart phone with camera

And finally, I work out one demo system on Nexus 5 with Android 5.1

I try to contact previous colleges to make it a real product, but everyone has their own business

And I have no resource to do it with this demo.

So I decice to publish the demo code to github and think may be it will help somebody

#Technical

Refer to Spydroid project, you can get h264 frames encoded by hardware encoder from Nexus 5

Originally, the data is streaming to server by RTP protocol which require RTP receiver in server

The demo compose the data into flv frame instead and create file segments. The it use HTTP to transfer data to server which mean you can use any cloud service with HTTP post capability

And you can make create m3u8 for player now.

All the process is based on HTTP, you can use and CDN to publish the content

#business

Low price for make large scale live broadcast

  • no paticular hardware required, phone is enough
  • no specially protocol used, HTTP only
  • jus use anything with HTTP optimization, such as CDN/LB/STORAGE

#Wish

  • make one complete system, such as Android APP, full server
  • make ios app
  • anything interesting...

livecamera's People

Contributors

wearehere avatar

Stargazers

Pham Dang Truong avatar Anuchit Singkhornart avatar 邵彬 avatar Inbox Tech. avatar

Watchers

 avatar

Forkers

simongiesen

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.