Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebRTC iOS 13 Simulator - Red Screen H264 Decoding

Tags:

ios

swift

webrtc

My problem is that H264 WebRTC Video is playing on iOS 13 in real device as expected. But it does not play in iOS 13 simulator. It shows red screen as shown in the image. Audio is playing correctly. Logs also show that decoding of frames are succesful at correct rate.

enter image description here

GoogleWebRTC version is 1.1.29229 from cocoapods

like image 859
faraway Avatar asked Oct 02 '19 16:10

faraway


1 Answers

I got the same issue in our app. It seems to be a bug on the WebRTC side. I was able to reproduce it in their test app (AppRTCMobile), and posted a bug report about it here: https://bugs.chromium.org/p/webrtc/issues/detail?id=11012

Please star it there :)

In the meantime it seems that forcing the codec to VP8 should fix the problem on the simulator (as a temporary workaround).

like image 162
battlmonstr Avatar answered Nov 13 '22 09:11

battlmonstr