Mobile Video streaming using IFrame get no reponse or error processing your request

Goal: App with Video call using iframe and an external site using OpenTok webRCT

Problem: The app starts a new OpenTok session and uses the session ID is used i the iFrames url. The url is an external website that holds opentok streaming session(using:, the site is prepared by creating a user token for the session. The Session id and the token is used to start the streaming session. When doing this through an iframe the app crashes however when staring the streaming manually via a browser it works fine. I'm wondering if this could have something to do with allowing the use of camera and microphone. The app never ask for permission to use the camera or the microphone, but the browser always ask permission.