No Webcam stream when embedding WebRTC in Flask app
I think the size of iframe might be the problem.
I've tried your code with size 400x320
. No matter what I do I can not get the video to show up. I came to notice that there is this output in the console:{"minWidth":640},{"maxWidth":640},{"minHeight":480},{"maxHeight":480}
. So I changed the iframe size to 640x640
and everything finally works.