I developed an angular 7 app with webRTC functionality and now i would like to create an Android App with that responsive WebApp.
I have all working good, page interacts correct, but when I launch videocall can only see the incoming video from other part, my own video don't show (at least at first time).
In angular app when call state is active I invoke this methods:
Show local video don't work at first time, but if I make a button with wrapper function containing this method and pulse it, video appears. At first instead of video appear Android placeholder with player image.
I've been looking this for some days and I can't make it work, I tried invoking method in other parts of code, or create a timeout function to call automatically another time after x seconds call active, any of that didn't work.
It's strange, if I manually call the method clicking button it shows camera, but if I do it programatically with timeout or natural way didn't happen anything.
I post it because maybe anyone you know how to fix it, it has to be some minor change in code or something I missed. I'm not Android developer so I don't know how to fix it, thats the reason I'm trying webapp instead of native app.
Thanks in advance,
Por favor, entrar para comentar.