ios - Not getting WebRTC status chanegd to RTCICEConnectionConnected
问题描述
below are my steps:
- Initialise webRTC
- socket connected
- onRenegotiationNeeded
- addLocalMediaStrem
- peerConnectionCreateOffer
- didCreateSessionDescription
- setLocalDescriptionWith SDP
- send SDP to socket
- RTCICEGatheringGathering
- get local ICECandidates
- received message from socket
- RTCSignalingStable
- RTCICEConnectionChecking
- peerConnection?.setRemoteDescriptionWith SDP
- received message from socket
- RTCICEGatheringComplete
- RTCSignalingHaveRemoteOffer
- received remote media stream
but still not getting RTCICEConnectionConnected state. why is it so? what is missing?
解决方案
推荐阅读
- r - 在 R 的 for 循环中跳过包 `rstan` 触发的错误
- tensorflow - 如何安装支持 Eigen AVX512 的 TensorFlow 2.x?
- python - 需要一种将变量从 User 类传递到 Locust 中的 TaskSet 的方法
- terraform - 调试 terraform 时如何查看对象值
- flutter - 列内的自定义导航器
- wso2 - wso2 IS 5.9 的 authenticationendpoint cookie/标头中缺少反 csrf 令牌
- node.js - Heroku 应用程序崩溃:at=error code=H10 desc=“App crashed” method=GET path=“/”
- java - java.lang.NoClassDefFoundError: org/quartz/SchedulerFactory
- python - 在Django中获取对象作为输出而不是List
- postgresql - CTE中的Postgres SELECT或INSERT?