Search code examples
javascriptfirebasegoogle-cloud-firestorewebrtc

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?


Solution

  • 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