test onInitReady and onVideoChunkReady
This commit is contained in:
parent
b03f9ea423
commit
20f8fa2937
@ -33,6 +33,12 @@ class ViewController: UIViewController {
|
|||||||
self.recordButton.isHidden = false
|
self.recordButton.isHidden = false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
cameraView.onInitReady = { json in
|
||||||
|
print("onInitReady:", json ?? "nil")
|
||||||
|
}
|
||||||
|
cameraView.onVideoChunkReady = { json in
|
||||||
|
print("onVideoChunkReady:", json ?? "nil")
|
||||||
|
}
|
||||||
|
|
||||||
Task { @MainActor in
|
Task { @MainActor in
|
||||||
await requestAuthorizations()
|
await requestAuthorizations()
|
||||||
|
Loading…
Reference in New Issue
Block a user