Post not yet marked as solved
Is it possible to call support by Vietnamese with apple developer support?
Post not yet marked as solved
Hi,
My app uses MultiPeerConnectivity framework to do peer-to-peer communications between multiple iOS devices. When we first released our app back in 2015, we found range of connections to be at least 50 meters. Back then we were using iOS 8.x or 9.x on devices like iPhone 4s.
On newer devices with newer iOS (14, 15), we are noticing about half the range, which is inadequate for our application.
I don't believe the framework allows control of transmit power level.
We could change our implementation to use Core Bluetooth instead where one devices is a central and the other a peripheral. But I don't see any ability to set the tx power level in CBPeripheralManager either.
Any options to develop peer-to-peer communications for iOS devices where I the app can control tx power level to increase for maximum range?
Many thanks,
Tim
Hello,
I'd like to know whether Multipeer Connectivity (MPC) between two modern iOS devices can support cross-streaming of video content at low latency and relatively high resolution. I learned from Ghostbusters that crossing the streams is a bad idea, but I need this for my app so I'm going to ignore their sage advice.
The application I have in mind involves one iOS device (A) live-streaming a feed to another iOS device (B) running the same app. At the same time, B is live streaming its own feed to A. Both feeds don't need to be crystal clear, but there has to be low latency. The sample code for "Streaming an AR Experience" seems to contain some answers, as it's based on MPC (and ARKit), but my project isn't quite AR and the latency seems high.
If MPC isn't suitable for this task (as my searches seem to indicate), is it possible to have one device set up a hotspot and link the two this way to achieve my cross-streaming ambitions? This seems like a more conservative method, assuming the hotspot and its client behave like they're wifi peers (not sure). I might start a new thread with just this question if that's more appropriate.
A third idea that's not likely to work (for various reasons) is data transfer over a lightning-lightning or lightning-usb-c connection.
If I've missed any other possible solutions to my cross-streaming conundrum, please let me know.
I've been reading around this subject on this forum as well and would be hugely grateful if Eskimo would grace me with his wisdom.
Post not yet marked as solved
Can I use Nearby interaction to determine the location of 3 or more devices?
I learned that by adding a session through the article below, I can interact with multiple devices.
My question is, is it possible to make session A connect only with device A and session B only with device B?
I've just started studying development, so I don't have a lot of knowledge.
Thanks a lot for your help.
Post not yet marked as solved
Hello,
Im noticing a behavior when I try to send a package file as a resource to peer.
A file like this is basically a folder with an extension, and, and despite receiving a progress object from the send call, I’m not seeing it rise past 0.0%. Attaching it to a ProgressView also does not show any progress.
The completion handler of the send is never called with an error and the receiver will only get the “finished receiving” callback if the host cancels or disconnects.
I didn’t see anything in the sendResource documentation about not supporting bundle files, but it would not surprise me.
Any thoughts?
Hi! I have an app with Multipeer Connectivity setup and working properly.
I now would like to add an app clip that is also able to connect to the main app target via Multipeer Connectivity.
I've added the NSLocalNetworkUsageDescription as well as the NSBonjourServices to the app clip's info.plist, just like I did for the main app target, however when I run the app clip target, I get the following output at the Xcode console:
[MCNearbyServiceBrowser] NSNetServiceBrowser did not search with error dict [{
NSNetServicesErrorCode = "-72008";
NSNetServicesErrorDomain = 10;
}].
I'm now wondering if it is possible to have app clips leverage Multipeer Connectivity and, if so, what else I should do to resolve the issue.
Thanks in advance!
Post not yet marked as solved
Hi,
I was running in Xcode 13.3 and iOS 15.4 to test MultipeerConnectivity. Will I using MCAdvertiserAssistant to delegate other peers responding. The host device will show this error to block popup window.
ApplicationName[55554:1502624] [View] First responder issue detected: non-key window attempting reload - allowing due to manual keyboard (first responder window is <UIWindow: 0x132611d00; frame = (0 0; 390 844); autoresize = W+H; gestureRecognizers = <NSArray: 0x600002df8d20>; layer = <UIWindowLayer: 0x600002df8930>>, key window is <UIWindow: 0x134008a00; frame = (0 0; 390 844); gestureRecognizers = <NSArray: 0x600002da2790>; layer = <UIWindowLayer: 0x600002da2700>>)
It's look like could not find key Window cause this issue. And when I delete scenes file, it back to work. This class could't not suitable with Scenes after iOS 13
Post not yet marked as solved
Hi there,
Im trying to use the Nearby Interactions, but when i do the import, XCode tells me that "File 'HomeViewController.swift' is part of module 'NearbyInteraction'; ignoring import" and when i want to create a NISession object it says that cant find NISession in this scope
Any fix for this?
Thank you
Post not yet marked as solved
I know that the Multipeer Connectivity framework uses bonjour to discover local devices. Another app in our app suite uses a bonjour implementation for zeroconf. Can I use the Multipeer framework in a new application to discover the same services as the other apps in the suite without needing to modify the implementation in the other applications?
Post not yet marked as solved
Can there be a peer to peer wifi connection in iOS without using a LAN or routers?
Post not yet marked as solved
What's new about iOS device controlling your environment and my personal interest 3d printer.
Is something changed in request form for multicast permission? When I try to enter request page https://developer.apple.com/contact/request/networking-multicast I've get "Sorry, you cannot view this page." I am a developer account owner, all agreements is accepted. How can I request this permission for my app for now?
Post not yet marked as solved
Hi,
The documentation for NISession says:
One session represents an interaction between the user and a single nearby object. To interact with multiple nearby objects, create a separate session for each.
However, NISessionDelegate method
session (NISession, didUpdate : [NINearbyObject]) take multiple nearby objects as a parameter.
I find these two contradicting each other. Is it even possible to add multiple peers for a single session? If so, what's the best practice to do that?
JK