Release 0.2.1

This commit is contained in:
Zhigang Fang
2017-10-27 00:22:12 +08:00
parent 5bb84172d7
commit cf685dabb5
5 changed files with 9 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ final class LivePreview: NSObject, URLSessionDataDelegate {
extension OSCKit {
public func startLivePreview(callback: @escaping (UIImage?) -> Void) {
async { () -> JSON in
_ = async { () -> JSON in
switch try await(self.apiVersion) {
case .version2(let session):
try await(self.execute(command: CommandV1.setOptions(options: [CaptureMode.image], sessionId: session.id)))