【问题标题】:create many AVCaptureVideoPreviewLayer (IOS Camera) from same AVCaptureSession and adding them to same layer从同一个 AVCaptureSession 创建许多 AVCaptureVideoPreviewLayer (IOS Camera) 并将它们添加到同一层
【发布时间】:2011-12-26 11:43:26
【问题描述】:

我从同一个 AVCaptureSession 创建了三个 AVCaptureVideoPreviewLayers 并将它们添加到视图的层,但发生的情况是只有我创建的最后一个出现

我想要所有的出现,怎么办?!!

【问题讨论】:

    标签: ios uiview calayer avcapturesession


    【解决方案1】:

    我不认为这是一种简单的方法。

    您可以使用这个 GPUImage 库,但它的工作方式与 AVFoundation 不同。在那里您可以创建多个GPUImageViews,它们应该实时显示来自捕获会话的图像。请记住,这可能会降低性能。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2019-02-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-11-22
      • 1970-01-01
      • 2017-11-18
      相关资源
      最近更新 更多