iPhone 11系列不支持RTCMTLVideoView [英] RTCMTLVideoView not supported in iPhone 11 series

查看:157
本文介绍了iPhone 11系列不支持RTCMTLVideoView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用WebRTC进行视频通话.我已经使用RTCMTLVideoView在应用程序中渲染遥控器的视频.除了iPhone 11系列设备,其他所有设备都可以正常工作.

I'm working on Video calls using WebRTC. I've used RTCMTLVideoView to render the remote's video in the app. Except iPhone 11 series devices, all other devices were working fine.

  #if arch(arm64) // Using metal (arm64 only)
    remoteRenderer = RTCMTLVideoView(frame: showInView.bounds)
  #endif

我正在检查iPhone 11 Pro 13.3.1和更高版本中的问题iPhone XS 13.2.3和iPhone 6 12.3.但是仅iPhone 11遇到了这个问题.对于此远程视频渲染问题,我们有任何解决方案吗?

I'm checking the issue in iPhone 11 Pro 13.3.1 & iPhone XS 13.2.3 and iPhone 6 12.3. But iPhone 11 alone getting this issue. Do we have any solutions for this Remote Video rendering issue?

推荐答案

很高兴看到我没有发疯,这确实是一个问题!不太清楚为什么您和我的帖子被否决了.

Great to see I am not going crazy and this really is an issue! Not too sure why your and my posts were downvoted.

我已改用iPhone XS iOS 13.4上的RTCEAGLVideoView.这适用于本地渲染.我无法使远程渲染正常工作,并且不确定问题是否出在WebRTC或我的实现上.但是RTCMTLVideoView显然已损坏.

I have switched to using an RTCEAGLVideoView instead on my iPhone XS iOS 13.4. This works for local rendering. I cannot get remote rendering to work and am unsure if the problem is with WebRTC or with my implementation. However RTCMTLVideoView is clearly broken.

这周,我希望开始深入探讨WebRTC目标C

This week I am hoping to start diving into the WebRTC objective C source code to see if I can find anything.

编辑:我已经提交了Google的错误报告.您(和其他遇到此问题的人)能否赞成该错误报告,以便我们尽快获得Google的支持?谢谢!

I have filed a bug report with google. Could you (and anyone else having this issue) upvote the bug report so we can get Google on this ASAP? Thanks!

好吧,问题在于webrtc的cocoapods版本已被弃用,人们需要手动构建框架.然后这个问题消失了.祝大家好运!

Ok so the issue was that the cocoapods version of webrtc has been deprecated and people need to manually build the framework. Then this issue disappears. Good luck everyone!

这篇关于iPhone 11系列不支持RTCMTLVideoView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆