oksunp / vvopensource

Automatically exported from code.google.com/p/vvopensource
0 stars 0 forks source link

Zeroconf causing high-latency on wifi #22

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Connect to server over wifi with bluetooth enabled
2. Send osc data
3. On the server data is received in bursts every second or two.

What is the expected output? What do you see instead?
If OSC data is sent over 3G or WiFi with Bluetooth disabled, then the data 
arrives in a continuous stream.  Sending over WiFi with bluetooth enabled, data 
is recieved in semi-regular bursts.  
Also, if I comment out the line in the OSCManager that initializes the 
ZeroconfManager, then data arrives in a continuous stream.  

Please provide any additional information below.
Apparently Wifi and Bluetooth operate on the same antenna on the iPhone, so 
they both can't send data at once.  I think the Zeroconf manager is trying to 
look for connections on bluetooth as well as wifi, and so blocks the antenna 
for wifi while it's searching.

Original issue reported on code.google.com by add...@gmail.com on 6 Jun 2011 at 7:12

GoogleCodeExporter commented 8 years ago
i am, unfortunately, unable to look into or test this.  i don't write iOS 
software- this is predominantly a mac framework project, the iOS side of this 
is basically compiled blind.  i don't have a dev certificate, and i can't even 
compile a test app to run on an iOS device, so it's going to be a really long 
time before i can investigate this thoroughly or work around it.

Original comment by raycut...@gmail.com on 31 Aug 2011 at 4:28