multipeer-connectivity Questions
1
Solved
I'm learning the basics of MultipeerConnectivity framework. I was trying to just send some data between two simulators, so I set up a small project and I've implemented the MCBrowserViewControllerD...
Dairying asked 10/7, 2023 at 19:25
0
I'm starting to use iOS' Multipeer Connectivity and have the following:
class Connector : NSObject, ObservableObject
{
@Published var peers = [MCPeerID]()
@Published var event: String?
private ...
Cardinale asked 16/1, 2023 at 20:49
8
I'm using the iOS 7 Multipeer framework in my app but I'm experiencing a problem with devices disconnecting. If I open the app in two devices: device A and device B the two devices connect to each ...
Subtractive asked 19/10, 2013 at 19:12
5
Solved
I am trying to build a basic application to send messages between nearby iOS devices with Multipeer Connectivity Framework. I have tried many tutorials but it seems in Xcode 11 browsing nearby devi...
Wakayama asked 25/10, 2019 at 18:7
1
I created a Swift project using the Multipeer Connectivity class. I used MCNearbyServiceAdvertiser.
import UIKit
import MultipeerConnectivity
class TestMutilpeer: NSObject {
var SERVICE_NAME = ...
Rozellarozelle asked 18/6, 2022 at 3:38
1
Solved
I am transferring photo peer to peer. All things works fine but I am not able to get the photo(file) transfer speed i.g internet speed. Like MB the file is transferred. Second I want to fetch the s...
Chickpea asked 9/1, 2022 at 16:2
3
Solved
The same error is also triggered setting up Multipeer Connectivity (which uses Bonjour). The code I was using for initiating Bonjour browsing and Multipeer Connectivity was modified from the Apple ...
Soudan asked 7/12, 2020 at 21:59
2
i want to use a simple WebRTC for my clients like this one (https://appr.tc/).
The problem with the above link is that it can only take up to 2 users(A and B). Do you know if there are any others F...
Odontoid asked 18/3, 2020 at 12:55
4
I got the following codes on writing an object named Packet and send to the other side through Multipeer connectivity. However, I got the following error whenever it try to decode the encoded objec...
Sol asked 30/9, 2016 at 5:47
2
How to calculate the distance between two iOS devices using a wireless connection.
I figure out we can calculate using BLE, using RSSI number.
But the range of the device varies and the device p...
Treasury asked 9/6, 2020 at 13:30
0
I have implemented WebRTC calls in my project, When the internet got disconnected then WebRTC throws a disconnected state immediately and Closed/Failed state after 10/15 secs.
Can I override these ...
Archfiend asked 5/1, 2021 at 5:48
2
When the MCBrowserViewController is invoked
-[MCBrowserViewController advertiser:didNotStartAdvertisingPeer:]: unrecognized selector sent to instance
error message is thrown.
when MCAdvertiserAssi...
Joannejoannes asked 24/9, 2020 at 6:23
2
I'm testing out Apple's Multiuser AR demo app with ARKit 2.0 that was introduced in WWDC 2018: Creating a multiuser AR experience.
The documentation says that after each device relocalizes to the s...
Gunpoint asked 29/8, 2018 at 10:24
0
In previous iOS versions you could detect if the user had bluetooth enabled or not without actually prompting the user's permission to access bluetooth. In iOS13, CBCentralManager now prompts bluet...
Cholula asked 3/11, 2019 at 18:31
4
So I'm trying to build an app that uses iOS 7 Multipeer Connectivity framework on the iPhone, but I'm now trying to connect the iPhone to an Android device using the same technology. Is this possib...
Linettelineup asked 31/3, 2014 at 14:39
4
Well I'm working on this app to send data between android and iOS and I got it to work between iOS devices with Apple's Multipeer Connectivity framework, but I am currently wondering how do you ach...
Greenish asked 6/3, 2015 at 20:18
2
Solved
I'm using this tutorial Multipeer Connectivity Audio Stream To Multiple Peers and this project Github Repository , in order to stream audio from NSInputStream, which is obtained by:
-(void)session...
Mancuso asked 6/5, 2014 at 19:17
1
I am working on data share over same wifi two/more iOS devices.I have successfully implemented it using multipeer networking and explored it from videos documents.I am just looking on apple Dev for...
Japan asked 8/9, 2015 at 10:37
3
Both devices advertising and browsing.
The problem occurs when trying the establish a connection.
func session(_ session: MCSession, peer peerID: MCPeerID, didChange state: MCSessionState) {}
Do...
Exact asked 6/2, 2017 at 13:43
1
Solved
I am trying to advertise a service with Multipeer Connectivity in macOS 10.13 as such:
override init() {
self.serviceAdvertiser = MCNearbyServiceAdvertiser(peer: peerID, discoveryInfo: nil, serv...
Clarettaclarette asked 16/10, 2017 at 18:29
5
Using this code to setup Multipeer connectivity under TViOS 10.0.
import UIKit
import MultipeerConnectivity
class MPCHandler: NSObject, MCSessionDelegate {
var peerID: MCPeerID!
var session: MCS...
Shrift asked 8/9, 2016 at 9:19
2
How can we efficiently transfer a camera feed from one iOS device to another using bluetooth or wifi in iOS 7. Below is code for getting the stream buffer.
- (void)captureOutput:(AVCaptureOutput *...
Spicule asked 12/9, 2014 at 11:46
2
Solved
When I write the output stream in multipeer connectivity from audio buffer data I got the error
Cannot invoke initializer for type UnsafePointer<_> with an argument
list of type (UnsafeMuta...
Pi asked 19/7, 2017 at 5:26
3
Solved
I have a repeatable crash that ends in a EXC_BREAKPOINT like in the image below:
Steps to reproduce the crash:
Connect two devices
Begin a transfer using func sendResource(at resourceURL: URL,...
Phosphorescent asked 27/2, 2017 at 2:46
0
i'm pretty new to Swift/iOS, just started learning that a couple days ago. I'm using Swift 3 and want to develop two iPhone apps that can send audio stream from microphone to other iPhone devices u...
Earthaearthborn asked 6/6, 2017 at 2:45
1 Next >
© 2022 - 2024 — McMap. All rights reserved.