I am building two android applications that need to pass video data between them. I have tried sockets but that sends the multicast data out the WiFi port. I have tried abstract sockets but I always get 'permission denied' from the app trying to connect to my 'server' app. I have tried FIFO files, but I get 'permission denied' when the client tries to open the pipe.
I would prefer to use abstract sockets if I had my choice. I have scoured the internet and I have read that the new file system (API 28 +) doesn't give group permissions so that apps can access each others named pipes or abstract sockets.
Both of these applications are using JNI to create abstract sockets and FIFOs. I have followed the instructions for using the applications file system. I wrote a stand alone abstract sockets linux code that worked.
Any help here is greatly appreciated. I am stuck.