I am working on WebRTC video call using Twilio and Firebase as described in this blog post.
My website (e.g. http://example1.com) doesn't have SSL certificate and so this application cannot use my camera and microphone. So I am thinking of getting another domain with SSL (e.g. https://example2.com) and putting this application there.
Thereafter I want to embed this application (https://example2.com) into http://example1.com, but I am not sure if by after embedding https://example2.com on http://example1.com, it will still be able to access the camera and microphone.
So basically, I want to create something like this, where we can just embed the pubnub code into any website, irrespective of SSL certificate.
Also how do I pass the userid from my website to the application? TIA