最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - (React Native)Connect to websocket when the app is in background or closed without user interaction - Stack Overflow

programmeradmin0浏览0评论

So I am trying to create an app in which user can receive audio stream when the app is in background or closed. But when I am trying to connect the audio when the app is opened and putting that in background that part is working. But if I close the app or put it in background other user is not able to send the audio stream. I am using react-native-background-actions to perform background tasks and mediasoup for webrtc. How can I wake up the app and connect to the websocket server without interaction by the user.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论