2020-02-19 20:57:20 -08:00
2020-01-05 22:12:44 -08:00
2020-02-17 23:26:57 -08:00
2020-02-19 20:21:21 -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-14 21:44:38 -08:00
2020-02-17 14:51:24 +09:00
2020-02-16 17:12:37 -08:00
2019-12-28 09:45:29 -08:00
2020-01-05 22:12:44 -08:00
2020-02-19 20:21:21 -08:00
2020-02-14 07:06:29 -08:00
2020-02-15 17:35:25 -08:00
2020-02-18 16:36:28 -08:00
2020-02-12 22:24:32 -08:00

mediadevices

Go implementation of the MediaDevices API.

Interfaces

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

Camera

OS Library/Interface
Linux Video4Linux
Mac N/A
Windows N/A
Pixel Format Linux Mac Windows
YUY2 ✔️ ✖️ ✖️
I420 ✔️ ✖️ ✖️
NV21 ✔️ ✖️ ✖️
MJPEG ✔️ ✖️ ✖️

Microphone

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

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%