Search code examples
javascriptandroidcordovawebrtccode-signing

WebRTC failed after signing Android app


The video streams between my PC and Android phone worked well without signing. After signing the Android app (for Google Play Store) with the key, WebRTC stopped working. What should I do to make it work with signing?


Solution

  • I found out the problem.

    The problem was not with the signing. It was due to the changing of the temporary id after logging in, which prevented the peer from contacting the user. As the id was subsequently remembered and stored in localStorage, the problem only arose when the user first used the app and signed in.

    Thank you for all your suggestions. Silly me...