mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-06-06 20:17:36 +00:00
Add MultiCamCaptureSetting#cornerRadius option.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user