steep-balloon-41261
11/09/2023, 2:25 PMdry-elephant-14928
11/09/2023, 4:39 PMbillowy-father-22162
11/10/2023, 12:20 PMbetter-house-11852
12/06/2023, 4:44 PMmain. Can you try it out ?billowy-father-22162
12/07/2023, 8:28 AMbillowy-father-22162
12/07/2023, 8:28 AMdry-elephant-14928
12/07/2023, 8:30 AMmain branchbillowy-father-22162
12/07/2023, 12:05 PMsources static method from MacOSScreenCapturer is now exclusively available starting from macOS 12.3? Additionally, all components associated with MacOSScreenCapturer are only accessible from macOS 12.3 onward.billowy-father-22162
12/07/2023, 2:53 PMbillowy-father-22162
12/07/2023, 2:56 PMTask {
// stop in parallel
await withThrowingTaskGroup(of: Void.self) { group in
for track in tracks {
group.addTask {
try await track.stop()
}
}
}
Task {
// stop in parallel
await withThrowingTaskGroup(of: Void.self) { group in
for track in tracks {
group.addTask {
try await track.stop()
}
}
}
let sources = try await MacOSScreenCapturer.sources(for: .display)
let options = ScreenShareCaptureOptions(dimensions: .h360_43, fps: 5)
let _newTracks = sources.map { LocalVideoTrack.createMacOSScreenShareTrack(source: $0, options: options) }
Task { @MainActor in
self.tracks = _newTracks
}
// start in parallel
await withThrowingTaskGroup(of: Void.self) { group in
for track in _newTracks {
group.addTask {
try await track.start()
}
}
}
}billowy-father-22162
12/07/2023, 2:56 PMlet _newTracks = sources.map { LocalVideoTrack.createMacOSScreenShareTrack(source: $0, options: options) }billowy-father-22162
12/11/2023, 3:28 PMbetter-house-11852
12/12/2023, 2:55 PMmain branch, can you add -ObjC to Other linker flags build option in Xcode ?billowy-father-22162
12/12/2023, 7:34 PMbetter-house-11852
12/13/2023, 4:51 AMbillowy-father-22162
12/20/2023, 11:35 AM