Hi,
I’ve made a multiplayer game some time ago using multipeer. Anyone who is interested can find some more information here.
Now I wondered if I could transfer files (preferably .m4a) over it. I modified the module to store the received data in the variable “received”, so that I could access it comfortably with “multipeer.received”.
I have tried reading files like this
with open(“file.m4a”) as f:
data = f.read()
but I always get an error that says cannot read byte at location...
I wanted to then transfer the string with multipeer to my iPad.
Is there any way to fix this, or could I send files from one device to another any other way?