Closed SouL-H closed 8 months ago
Are you asking if you can open a device and stream images in two separate processes? Linux only allows one process to open and use a device driver at a time. There are exceptions: you can query a driver's device capabilities while another process is streaming images from that same driver. But you can not stream from two separate processes.
@SouL-H Closing for now. Feel free to reopen if this is still an issue or if I misread your question.
Your environment.
What did you do?
I wanted to display the webcam camera image connected to my computer on an html page.
What did you expect?
I wanted to display the webcam image on the html page and completed it successfully. But things started when I made a request to the same link from a different tab.
What happened?
When I made a second request I got an "invalid state: driver is already opened" error.
Here is the code where I got the error;
Is there a function available for multiviewing or how can I solve this error?