mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-26 20:41:46 +08:00
c98dcbbed5d193afbb011b5c935dfa44328ac25f
Pion 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
Contributing
- Lukas Herman - Original Author
- Atsushi Watanabe - VP8, Screencast, etc.
Project Status
References
Description
MediaDevices API 的 Go 实现,提供对媒体输入设备(如摄像头、麦克风和屏幕捕获)的访问。它还可用于将您的视频/音频流编码为各种编解码器选择。 抽象出与硬件和编解码器等交互的复杂性,让您专注于构建应用程序,仅与极其简单、轻松和优雅的 API 进行交互!
audio-callcodecdriverface-recognitiongogolanglivestreammachine-learningmediadevicesmediadevices-apip2prtpstreamingvideo-callvoipwebrtc
Readme
MIT
50 MiB
Languages
Go
67.2%
C
25.6%
C++
4.5%
Objective-C
1.7%
Makefile
0.6%
Other
0.3%