Re: listener missing lots of udp broadcasts
Re: listener missing lots of udp broadcasts
- Subject: Re: listener missing lots of udp broadcasts
- From: Michael Brian Bentley <email@hidden>
- Date: Wed, 05 Feb 2014 16:32:07 -0800
Hi! Here's a followup on our work with udp broadcasters & listeners, and
MCSession.
We don't feel that this is a WIFI issue.
When we work with MCSession, setting up advertizers and browsers, we see
a significant performance drop in our listener picking up udp
broadcasts. We know they are broadcast 1 per second, and we have a
number of devices listening.
When we set up an MCNearbyServiceBrowser, its runtime appears to
coincide with most of the missed broadcasts. Sometimes we won't catch a
broadcast for ten seconds, and sometimes we'll catch them not quite 1
every couple seconds. Not an insignificant effect.
MCNearbyServiceAdvertiser does not have as heavy an apparent effect on
catching broadcasts as MCNearbyServiceBrowser.
We're testing this stuff using iOS 7 with a couple 3rd Generation iPads
and an iPad mini; we see the same results on all of them.
On <https://devforums.apple.com/message/908230#908230>, Quinn mentions
that "Peer-to-peer Wi-Fi is not supported on this hardware." and the
reply mentions <http://support.apple.com/kb/HT5887>. My iPad is not on
this list, but peer-to-peer still seems to work, even if it does appear
to slow down catching broadcasts. (Is there a fallback to GameKit?)
I am not sure how the listener callback could be kept from firing when a
udp broadcast shows up while MCSession is in session.
:)
-m
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden