jpsim / peerkit Goto Github PK
View Code? Open in Web Editor NEWAn open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps
License: MIT License
An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps
License: MIT License
Would you be amenable to distributing PeerKit through CocoaPods? I'm sure this would make many people's lives a little easier. The process isn't too involved.
Hi,
I started by using MultiPeer Connectivity directly and I have faced multiple issues concerning file exchange. For instance, I can send files only up to 5m distance between two nodes. Beyond this distance, file exchange is not possible.
Also, I try sending files of different sizes, ranging from 1KB to 10MB. Something, file exchange hangs with 5MB files and sometimes it works flawlessly.
Maybe I'm doing something wrong but I could not find any paper or document giving information about the limitations etc of MPC. I know it is based on Bluetooth and Wifi and, thus, should have the same performances as these technologies but if someone has any information about that, I'll be happy to have them.
Thanks a lot.
Hi
I'm trying to convert your project into Swift 3 with XCode 8.1 beta, but it failed to convert.
Any leads to solve this issue or plan to support Swift 3?
Thanks!
Hi,
Is there any example demonstrating file exchange using PeerKit? Stackoverflow is almost empty concerning PeerKit unfortunately.
Thanks.
This would be an great feature. Maybe this is possible already?
I've just created new project and imported there PeerKit via "pod install". This is what I've got https://www.dropbox.com/s/nsbavu537rkro3m/Screenshot%202016-05-02%2011.21.15.png?dl=0
26 errors caused by deprecated syntax (for example line 23 on the screenshot). What I'm doing wrong? How to install this lib correctly?
Hey @jpsim, your lib is awesome but your README lacks information.
I created this iOS README template to help you out 😉
Using the multipeer test, the transfer speed is about 2MB/s. The transmission speed under the LAN should be very fast.
Do you know why.
Hi,
Is a swift 4 version in the pipes?
Thanks.
I have set up PeerKit as per the example from the Cards Against app and have managed to get two devices to connect to each other.
However, this connection is only successful ~10% of the time. The other times, .onDisconnect is called right away. Is there any reason why this is happening, or am I doing something wrong?
Also, what is the procedure to attempt a reconnection after the connection is unsuccessful? Should I call .transceive
again after creating a new Transceiver
?
How does the connection between the devices work exactly ? :) Just curious :)
multipeer connectivity framework can detect in the background?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.