Answer the question
In order to leave comments, you need to log in
How to transfer video from a webcam and sound from a microphone from one program to another in golang and then display it in the browser?
How to transfer video from a webcam and sound from a microphone from one program to another in golang and then display it in the browser?
That is, I want to take data from the client and send it to the server, and the admin could watch it in the web interface.
Tell me at least intermediate steps - where to start?
Thanks
Answer the question
In order to leave comments, you need to log in
1) go to Google and search for: "golang video camera"
-> first link: https://github.com/blackjack/webcam
2) follow this link there is an example written there...
-> note that C is used and this one option only for LINUX
however, there is another way to use opencv (also C) and bindings through go.
anyway with cross compilation of a client part there will be problems.
then everything is simpler, we take the received data and send it to the server on the server raises a web server that displays the data received from the client in the browser.
To summarize: it is important to know the OS of the client / user.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question