I have a problem with switching between front and rear facing camera when streaming with OpenTok (Web version but in mobile browser)
When I click 'switch' icon in my stream player, image quality goes down, and when I switch it again it stays down. I don't see any reason for this in my code as it's really simple:
var switch_btn = document.getElementById("switch-camera");
switch_btn.addEventListener("click", function(){
publisher.cycleVideo()
});
Is there a better way to do it, or should I just open ticket on their developer page? I know that the function returns a promise but that isn't the problem here?