gpt4 book ai didi

javascript - 使用 Firestore 进行 webRTC 视频聊天

转载 作者:行者123 更新时间:2023-12-04 13:37:58 26 4
gpt4 key购买 nike

解释 webRTC 和 firestore 的代码实验室对我来说还不够清楚。
https://webrtc.org/getting-started/firebase-rtc-codelab

我在最后的 collectICECandidates 步骤中遇到问题。我应该在代码中的哪里调用这个函数,我将如何获取函数所需的本地和远程参数?

最佳答案

我还需要帮助来设置它。远程视频是空白的,当我尝试连接时,我在控制台中得到了“有空间”。

为了解决这个问题,我在 Github 的解决方案分支上找到了这个:
https://github.com/webrtc/FirebaseRTC/blob/solution/public/app.js

关于javascript - 使用 Firestore 进行 webRTC 视频聊天,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60726386/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com