Files
HaishinKit.swift/Platforms/macOS/NetStream+Extension-macOS.swift
T

15 lines
244 B
Swift

#if os(macOS)
import AVFoundation
import Foundation
extension NetStream {
public func attachScreen(_ screen: AVCaptureScreenInput?) {
lockQueue.async {
self.mixer.videoIO.attachScreen(screen)
}
}
}
#endif