Add MultiCamCaptureSetting#cornerRadius option.

This commit is contained in:
shogo4405
2022-12-04 22:26:43 +09:00
parent cb22d0edb1
commit 7b658fbe37
13 changed files with 151 additions and 121 deletions
+14
View File
@@ -174,7 +174,21 @@ open class NetStream: NSObject {
mixer.videoIO.focusPointOfInterest = focus
mixer.videoIO.exposurePointOfInterest = exposure
}
#if os(macOS)
public func attachScreen(_ screen: AVCaptureScreenInput?) {
lockQueue.async {
self.mixer.videoIO.attachScreen(screen)
}
}
#endif
#endif
open func attachScreen(_ screen: CaptureSessionConvertible?, useScreenSize: Bool = true) {
lockQueue.async {
self.mixer.videoIO.attachScreen(screen, useScreenSize: useScreenSize)
}
}
/// Append a CMSampleBuffer?.
/// - Warning: This method can't use attachCamera or attachAudio method at the same time.