Creating a video chat with Ionic Framework


I am in process of creating a video chat app using Ionic framework. I am new to Ionic and still in learning phase. I am using opentok to video. I am able to install and add cordova-plugin-opentok. I am using OpenTok.js( and able to use it via web browser. My issue is when I am using the same approach in ionic project I get following error:

“You cannot test page using webRTC through file system due to browser permissions. You must run it over a web server”

Any pointers or tutorial how to use ionic framework with opentok would be really useful.

Did you find a solution to this? I have the same problem…

Any luck on this issue?