2

I want to find a solution to broadcast voice over WiFi for the people in a march. Since Android and IPhone is the most popular devices among the people in the march, it would be great if i can find a solution for audio broadcast over wifi with limited budget.

I know that people in occupy movement use different app on their cell, but it is not suitable in a march in my city. As the authority in my country may temporarily shutdown the data over mobile network to disable the app.

If i can develop an app to gather the broadcast message (SSID) from a powerful wifi AP with a long-length directional antenna, I should able to deliver message among the people in the march. Is it a possible solution?

Also, is it possible to modify the AP to allow any device to join the AP without further acknowledgment and broadcast message to all devices in that network?

Any idea or opinion is welcome. Many Thanks.

Kevin Chan
  • 23
  • 1
  • 3
  • Welcome to stackoverflow. What have you tried so far? – Joe Day Jan 08 '13 at 18:04
  • I haven't start any developing yet and I am studying for all kind of possible solution. At first, people said the features should be provided by walkie-talkie, but the users of walkie-talkie is limited. I also find that people in the occupy movement used an app called vibe but it is not suitable for audio broadcasting also it is using mobile network. – Kevin Chan Jan 09 '13 at 01:40

1 Answers1

1

This will be difficult, especially with a large number of users. Since you only need to send audio in one direction, that will at least be a bit easier.

First, you're going to want to put that AP in the middle of the crowd with an omnidirectional antenna. Perhaps, in a backpack or something. Each phone on that network needs to "hear" when other phones are transmitting, or it will be a mess. Even though your application is one-way, 802.11 isn't.

Now, when you write your application, use UDP packets sent to the broadcast address. No need for TCP packets, as they will clog up your network anyway.

Use a simple voice codec, such as AMR. The codecs available vary from platform to platform. See this document for a list on Android: http://developer.android.com/guide/appendix/media-formats.html

Honestly, the easiest solution would be to go buy a small FM transmitter, since many phones have receivers in them anyway.

Brad
  • 159,648
  • 54
  • 349
  • 530
  • Thanks a lot for your advice. I am afraid the FM transmitter is not suitable solution as it is a illegal device in my country. When a wireless device connect to wireless AP. the AP will store the device information after it receive the ack packet from the wireless device. Is it possible to modify the AP or develop an app to pretend it sent the ack packet to the AP successfully and then receive the Audio broadcasting directly? – Kevin Chan Jan 11 '13 at 15:53
  • @KevinChan, No, this is not possible. It wouldn't help you anyway, as the devices will still be transmitting. Only one device can transmit at a time on a channel. – Brad Jan 11 '13 at 16:44
  • Thanks a lot for yr comment. Is it correct that there is no way to stop the Wi-Fi device to transmit data? – Kevin Chan Jan 12 '13 at 17:05
  • @KevinChan, Yes, that is correct. Short of modifying 802.11 (which would involve flashing the radios on each device on the network, if that were even possible), there is no way to fix that problem. – Brad Jan 12 '13 at 18:32