简体   繁体   English

ISBX/apprtc-ios 在 iOS 13 上不起作用 - 没有视频不起作用

[英]ISBX/apprtc-ios does not work on iOS 13 - no video not working

I am using apprtc-ios from https://github.com/ISBX/apprtc-ios for our video calling project.我正在为我们的视频通话项目使用https://github.com/ISBX/apprtc-ios 中的apprtc-ios。 It is working fine on iOS 12 & iOS 11.它在 iOS 12 和 iOS 11 上运行良好。

After upgrading to my device to iOS 13, it seems the front camera does not record video and send it to the other party - If phone A & phone B are having a video calling session, the little video preview square on phone A (iOS 13) turns black.将我的设备升级到 iOS 13 后,似乎前置摄像头没有录制视频并将其发送给对方 - 如果手机 A 和手机 B 正在进行视频通话会话,手机 A 上的小视频预览方块(iOS 13 ) 变黑。 On phone B (iOS 12), there is no video sent by phone A - The whole screen is black, except for the little preview square.在手机B(iOS 12)上,没有手机A发送的视频 - 整个屏幕都是黑色的,除了小预览方块。 The audio conversation is working fine, though.不过,音频对话工作正常。

I checked camera permission - it is on for the app.我检查了相机权限 - 该应用程序已启用。

And I traced the code.我跟踪了代码。 cameraID for the front camera (on iOS 13 phone) is successfully obtained during the video call session.在视频通话会话期间成功获取前置摄像头的cameraID(在iOS 13手机上)。

After several hours of trial and error, I still got no clue.经过几个小时的反复试验,我仍然没有任何线索。 Does anyone know how to fix it?有谁知道如何修理它?

HeIIO海利奥

I suggest you to use stasel instead ( https://github.com/stasel/WebRTC-iOS )我建议你改用 stasel ( https://github.com/stasel/WebRTC-iOS )

I managed to send and receive thanks to this, by the way I had to use RTCEAGLVideoView instead of MTL and VP8 instead of H264 to be able to see the video from simulator (ios 13)由于这个,我设法发送和接收,顺便说一下,我必须使用 RTCEAGLVideoView 而不是 MTL 和 VP8 而不是 H264 才能看到来自模拟器的视频(ios 13)

:) :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM