mirror of
https://github.com/pion/mediadevices.git
synced 2026-04-22 15:57:27 +08:00
fad6c3ec4b
* Add avfoundation Go and C bindings * Add darwin camera adapter * Add darwin camera support to README
3.4 KiB
3.4 KiB
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.
