简体   繁体   中英

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. It is working fine on 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. On phone B (iOS 12), there is no video sent by phone A - The whole screen is black, except for the little preview square. 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.

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 )

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)

:)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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