Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mdk支持安卓上打开本地摄像头吗? #200

Closed
feiyangqingyun opened this issue May 10, 2024 · 5 comments
Closed

mdk支持安卓上打开本地摄像头吗? #200

feiyangqingyun opened this issue May 10, 2024 · 5 comments

Comments

@feiyangqingyun
Copy link

试了下代码好像不行,player->setMedia("avdevice://dshow:/dev/video0"),权限也都给了,包括动态申请camera的权限。

@wang-bin
Copy link
Owner

你用错了,安卓没有dshow

@feiyangqingyun
Copy link
Author

我这里填错了,实际填的是v4l2

@wang-bin
Copy link
Owner

v4l2也不支持,有专门的

@feiyangqingyun
Copy link
Author

那mdk有没有办法打开

@wang-bin
Copy link
Owner

avdevice有个android_camera,不过我没编进去

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants