R
R
Roman Rakzin2016-06-04 01:23:57
go
Roman Rakzin, 2016-06-04 01:23:57

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 answer(s)
I
IllusionTurtle, 2016-06-04
@IllusionTurtle

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 question

Ask a Question

731 491 924 answers to any question