Remix.run Logo
boaztheostrich 5 hours ago

What API are you using if you don’t mind me asking?

That seems super cool! You could almost strap an iPhone to the back of your phone and see yourself for recordings.

megraf 5 hours ago | parent [-]

Apple’s MultipeerConnectivity framework -- phones discover and talk over local wifi / bluetooth via MCSession, MCNearbyServiceAdvertiser, and MCNearbyServiceBrowser in PeerSessionManager.

gregoriol 4 hours ago | parent [-]

Apple has deprecated all of that now

megraf 4 hours ago | parent [-]

You're right - I have to move them to Network Framework when I have time :)

woadwarrior01 4 hours ago | parent [-]

When you get around to doing that, you might find the Github repo and its accompanying medium article useful.

https://github.com/0Itsuki0/SwiftUI_P2PWithNetwork