简体   繁体   中英

webRTC video chat using Firestore

The code lab explaining webRTC and firestore is not clear enough to me. https://webrtc.org/getting-started/firebase-rtc-codelab

I am having trouble with the final collectICECandidates step. Where should I be calling this function inside the code and how will I get the local and remote parameters required for the function?

I also needed help setting this up. The remotevideo was blank, and I got the 'Got room' in the console when I tried to connect.

To solve this, I found this on the Github's Solution branch: https://github.com/webrtc/FirebaseRTC/blob/solution/public/app.js

You can find a corrected description in the following fork: https://github.com/meldaravaniel/FirebaseRTC

And also there's a solution branch, were you can download the whole file from.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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