Coder Social home page Coder Social logo

crowdspeaker's Introduction

CrowdSpeaker

_ Imagine the following situation: You and your mates are in a protest and you forgot your loudspeaker. You smart kids grab your phone and start CrowdSpeaker. The app connects all your devices via WifiP2p and you are able to speak into your phone. All the other phones will start playing your voice in no time and it sounds bombastic. _

That was the idea....

But sadly the Android WifiP2P world is damn complicated and we did not manage to archive our goals.

What works

The devices connect over the WifiP2P interfaces and connect into their own network. Sometimes they are able to transmit messages and also the audio stream is ready to go.

Challenges that we suffered

  • This very case is not well documented and we had to dig through all sorts of documentation and stack overflow questions, but in the end only trial and error helped us.
  • The IPv4 stack in Android is pretty poor implemented and depends totally on the vendor -> After hours of swearing, IPv6 did the trick
  • Sometimes the connection is established, not via P2P - but over the internet...bye bye 1GB of data :/

What we learned

We had a lot fun playing around with Android, because for most of us, it was our first Android project. It's kind of a cool to realise that you work on a topic only few people worked on before...that feeling helps us through the hard hours of documentation reading.

<3 Happy Hacking

MLH Prime 2017

crowdspeaker's People

Contributors

josh-richardson avatar simonfrey avatar teddyng avatar

Watchers

 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.