Replies: 5 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Hey @shogo4405, thanks for the replay!
I also added Once again, background streaming works - when I call reconnect in background, it reconnects successfully and streams audio without any loss. The problem is that connection closes by itself when app goes in background and requires reconnection. |
Beta Was this translation helpful? Give feedback.
-
Also it's working on a simulator without any problems. |
Beta Was this translation helpful? Give feedback.
-
Can someone please help me on this? I created an issue but the repo maintainer deleted it and opened this thread instead 🥴 |
Beta Was this translation helpful? Give feedback.
-
Same issue here actually – it works on Simulator but not on an actual device. Any ideas? |
Beta Was this translation helpful? Give feedback.
-
I would like to keep the connection alive when app goes in background and continue audio streaming.
However
rtmpStatus
changes toRTMPConnection.Code.connectClosed
and I have to reconnect. After reconnecting it's working - audio data is streamed as expected.The problem is that reconnecting takes some time (up to 15 seconds) and I don't want to pause the stream.
Is there any way to avoid socket status changes when app goes in background?
iPhone 13
iOS 15.5
1.2.4
Beta Was this translation helpful? Give feedback.
All reactions