haishinkit rtmpConnection状态更改为netConnection.connect.clusp.当应用在后台时
我正在使用haishinkit
,以从iOS应用程序中流视频和音频。我不会暂停视频并在应用程序进入后台时继续音频流。
问题是haishinkit.rtmpconnection
状态更改为netConnection.connect.closed.closed
时应用程序在后台时。
它仅发生在物理设备上。连接在模拟器上保持活力。
当应用在后台时,如何保持连接的活力?
I'm using HaishinKit
in order to stream video and audio from the iOS app. I wan't to pause video and continue audio streaming when app goes in background.
The problem is that HaishinKit.RTMPConnection
status changes to NetConnection.Connect.Closed
when app goes in background.
It only happens on a physical device. Connection stays alive on a simulator.
How can I keep connection alive when app goes in background?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论