2020-09-06 23:01:33 -07:00
2020-02-24 18:57:42 -08:00
2020-02-19 20:57:52 -08:00
2020-09-06 23:01:33 -07:00
2020-02-24 18:57:42 -08:00
2020-01-05 22:12:44 -08:00
2019-11-19 21:04:32 -08:00
2020-01-05 22:12:44 -08:00
2020-02-21 06:56:09 -08:00
2020-02-14 21:44:38 -08:00
2020-06-02 12:07:05 -04:00
2020-02-14 07:06:29 -08:00
2020-06-03 10:18:06 -04:00
2020-02-18 16:36:28 -08:00
2020-04-18 23:51:09 -04:00

mediadevices

Go implementation of the MediaDevices API.

Interfaces

Interface Linux Mac Windows
Camera ✔️ ✔️ ✔️
Microphone ✔️ ✖️ ✔️
Screen ✔️ ✖️ ✖️

Camera

OS Library/Interface
Linux Video4Linux
Mac AVFoundation
Windows DirectShow
Pixel Format Linux Mac Windows
YUY2 ✔️ ✖️ ✔️
UYVY ✔️ ✔️ ✖️
I420 ✔️ ✖️ ✖️
NV21 ✔️ ✔️ ✖️
MJPEG ✔️ ✖️ ✖️

Microphone

OS Library/Interface
Linux PulseAudio
Mac N/A
Windows waveIn

Screen casting

OS Library/Interface
Linux X11
Mac N/A
Windows N/A

Codecs

Audio Codec Library/Interface
OPUS libopus
Video Codec Library/Interface
H.264 OpenH264
VP8 libvpx
VP9 libvpx

Usage

Wiki

Contributing

Project Status

Stargazers over time

References

Description
MediaDevices API 的 Go 实现,提供对媒体输入设备(如摄像头、麦克风和屏幕捕获)的访问。它还可用于将您的视频/音频流编码为各种编解码器选择。 抽象出与硬件和编解码器等交互的复杂性,让您专注于构建应用程序,仅与极其简单、轻松和优雅的 API 进行交互!
Readme MIT 50 MiB
Languages
Go 67.2%
C 25.6%
C++ 4.5%
Objective-C 1.7%
Makefile 0.6%
Other 0.3%