getUserMedia frozen at first frame on Android Chrome

后端 未结 2 794
无人及你
无人及你 2021-01-13 18:58

I have a working code on desktop browsers supporting getUserMedia Api, I can correctly see a video preview of my webcam in the div videoPreview. However, when r

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 19:23

    For those encountering same problem : I fixed it by adding autoplay attribute to my tag.

    Was stuck with this for a while, I hope this will help someone else.

提交回复
热议问题