I want to create a cli using golang.
golang cli should able to list camera and microphone devices connected to laptop or system. get video picture or video stream from the system or laptop. Write video stream to file on local system . Transfer video stream to server so that if i open that portal i should be able to see video.
Targeted system :
- List camera and microphone connected
- Get video stream from selected camera
- Get image
- Store video stream from camera so that it can be played as video in media player
- Send video stream to server so that it can be access on other device (live streaming from the security camera)
Note : i dont want to create access camera in browser
- Any library/package available from golang which can help me achieving above listed functionality ?