CamX 限制Camera App能同时打开Camera的数量

在CamX中,如何限制Camera App能同时打开Camera的数量?

方案

修改:camx\src\core\hal\camxhal3defs.h

/// The maximum number of concurrent devices supported by the HAL
static const UINT32 MaxConcurrentDevices = 16;

MaxConcurrentDevices改成对应想限制的数字即可。


赞(5)
未经允许不得转载:极客笔记 » CamX 限制Camera App能同时打开Camera的数量

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址