简体   繁体   English

RTCPeerConnection IOS 12.2到Android 7.X

[英]RTCPeerConnection IOS 12.2 to Android 7.X

Im building a RTCPeerConnection communication and I found one issue, calling from iOS 12.2 (Tested with Ipad only) to Android (Tested with 7.11 only) the streams will not exchange. 我正在建立一个RTCPeerConnection通信,我发现一个问题,从iOS 12.2(仅使用Ipad测试)到Android(仅使用7.11测试)调用流将不会交换。

Other peers is OK, like iOS to Chrome(desktop), iOS to iOS, iOS to Chrome Desktop, Android to iOS is also OK. 其他同行还可以,比如iOS到Chrome(桌面),iOS到iOS,iOS到Chrome桌面,Android到iOS也行。

Using constraints Audio only works fine with all peers, but the problem occurs when adding Video and the connection goes from iOS 12.2 => Android. 使用约束音频仅适用于所有对等体,但添加视频时会出现问题,并且连接来自iOS 12.2 => Android。 (iOS makes an offer) (iOS提供)

It may be a codec problem, but Android to iOS establishing a video connection without problem so i'm not sure. 它可能是一个编解码器问题,但Android到iOS建立视频连接没有问题,所以我不确定。

Im using Tracks, not Streams. 我使用的是Tracks,而不是Streams。

Anyone else experience trouble with this and has a hint? 其他人遇到麻烦并有提示吗?

Are you building an iOS app and using the Google SDK? 您是在构建iOS应用并使用Google SDK吗? If so, then my guess would be mis-matched profile-level-id in the negotiation of H264. 如果是这样,那么我的猜测将是在H264的协商中错误匹配的profile-level-id If you can, use VP8 and see if you have the same problems. 如果可以,请使用VP8并查看是否存在相同问题。

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

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