I’ve implemented a broadcast list audio streaming in a ionic app, using peerJS. Everything work fine on browser, but when i run my app on an android device, i’m unable to share stream between peers.
I get the following error in the logcat:
audio mode broadcast intent fail java.lang.SecurityException: Permission Denial: not allowed to send broadcast com.sonymobile.media.AUDIO_MODE_CHANGED_ACTION from pid=19195, uid=10369
I’ve done a lot of searches, but i didn’t find how to grant that permission to broadcast.
Please, does anyone have a fix to propose me ?