mirror of
https://github.com/pion/mediadevices.git
synced 2025-09-27 04:46:10 +08:00
Fix linux camera label rule document
This commit is contained in:
@@ -4,10 +4,10 @@ Package camera provides a video camera driver.
|
|||||||
Device Label Generation Rules
|
Device Label Generation Rules
|
||||||
|
|
||||||
On Linux, the device label will be in the format of:
|
On Linux, the device label will be in the format of:
|
||||||
/dev/video0;/dev/v4l/by-path/pci-0000:00:00.0-usb-0:0:0.0-video-index0
|
pci-0000:00:00.0-usb-0:0:0.0-video-index0;video0
|
||||||
If /dev/v4l/by-path/* is not available (for example in a docker container without
|
If /dev/v4l/by-path/* is not available (for example in a docker container without
|
||||||
bindings in /dev/v4l/by-path/), it will be:
|
bindings in /dev/v4l/by-path/), it will be:
|
||||||
/dev/video0;/dev/video0
|
video0;video0
|
||||||
*/
|
*/
|
||||||
package camera
|
package camera
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user