Built in camera stop working after multiple reload of a webpage

As the topic say my camera stop working after multiple reload of a web page using Firefox. I am using Ubuntu 20.04 up to date. I am a web developer and was working with p5js trying to play with my built-in camera streaming and it suddenly stopped working. I tryed to load Cheese but it throw me an error that it couldn't access my camera, same for framatalk or whatever camera related software. Even after rebooting my laptop the camera still doesn't show up.

The only thing related to my problem I found was this page but as I am still a beginner on Ubuntu I don't want to throw some random command without knowing what it does.

Does anyone have a clue on how to deal with/fix this issue?


I finally found out why my camera was stuck. As I was trying to understand what's wrong with my camera, I opened up multiple window with camera working as the same. It seams that the webcam can only be focused on one window / tool. So if it's dedicate to one web browser window it can't be opened with Cheers for exemple or event another window.

As simple as that...

Thank you guys for your answers and for your time.

Cheers!