如何从iOS Safari到Android Chrome建立Webrtc连接 [英] How to make a Webrtc connection from iOS Safari to Android Chrome

查看:300
本文介绍了如何从iOS Safari到Android Chrome建立Webrtc连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用webrtc制作一个网站。我设法将Chrome(Android)连接到PC,iOS(Safari)到PC,PC到PC,PC连接到(Android Chrome和Safari iOS),Android到Android和Safari到Safari。

当我尝试将Chrome(Android)连接到iOS(Safari)或Safari(iOS)连接到Chrome(Android)时,将无法连接。我得到


无法设置远程报价sdp:ERROR_CONTENT ...无法设置远程
视频描述发送参数..


我认为我需要SDP帮助。

解决方案



1)问题@jamix解释说:在Android和Chrome浏览器之间的WebRTC连接有两个不同的问题:

Chrome for Android只有H.264的硬件实施,并且没有软件实施。此时H.264仅适用于配备Qualcomm处理器的设备( Kitkat及更高版本)或Samsung Exynos(Lollipop及更高版本)。由于Apple仅支持H.264,所以其他Android设备无法与iOS和Safari连接。

2)是Chrome for Android的bug:



Chrome Android不提供/回答H.264受限制的基线简介



由于Apple仅支持H.264,此时Android / Chrome无法与iOS连接。



这个问题可能会在Chrome Android M65中解决。有关详情,请参阅



我看到你的错误信息,正是这个错误,所以我很确定这是问题所在。但最终它并不重要。但你应该知道这两个问题,这就是为什么我添加这个答案。


I want to make a site using webrtc. I managed to connect Chrome (Android) to PC, iOS (Safari) to PC, PC to PC, PC to both (Android Chrome and Safari iOS), Android to Android and Safari to Safari.

When I try to connect Chrome (Android) to iOS (Safari) or Safari (iOS) to Chrome (Android) just won't connect. I get

"Failed to set remote offer sdp: ERROR_CONTENT... Failed to set remote video description send parameters..

I think that I need help to SDP.

解决方案

There are two different issues making a WebRTC connection between Chrome on Android and iOS/Safari not working:

1) The issue @jamix explained:

Chrome for Android has only a hardware implementation for H.264 and there is no software implementation. At this moment H.264 works only with devices with a processor of Qualcomm (Kitkat and later) or Samsung Exynos (Lollipop and later). Since Apple only supports H.264 other Android devices can't connect with iOS and Safari.

2) There is bug in Chrome for Android:

Chrome Android does not offer/answer H.264 Constrained Baseline Profile

Because Apple only supports H.264 Android/Chrome can not connect with iOS at this moment.

This problem will probably be solved in Chrome Android M65. See this for more information.

I see your error message that is exactly this bug so I am pretty sure this is the problem. But in the end it doesn't matter. But you should be aware of both problems that's why I am adding this answer.

这篇关于如何从iOS Safari到Android Chrome建立Webrtc连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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