Updated README

This commit is contained in:
Alex Eidt 2022-04-16 11:14:27 -07:00
parent 24d9d24d5e
commit fc2b41afe8

View file

@ -39,7 +39,7 @@ for video.Read() {
## `Camera`
The `Camera` can read from any cameras on the device running Vidio. It takes in the stream index. The index corresponds to the order in which the devices names appear when running `ffmpeg -list_devices true -f dshow -i dummy`. Alternative device names are included in this index. On most machines the webcam device has index 0. Note that audio retrieval from the microphone is not yet supported.
The `Camera` can read from any cameras on the device running Vidio. It takes in the stream index. For **Windows**, the index corresponds to the order in which the devices names appear when running `ffmpeg -list_devices true -f dshow -i dummy`. Alternative device names are included in this index. On most machines the webcam device has index 0. Note that audio retrieval from the microphone is not yet supported.
```go
Name() string