From 20f8fa2937f1dda5c36ee9a6d3327b6b034e8189 Mon Sep 17 00:00:00 2001 From: Rui Rodrigues Date: Tue, 16 Jul 2024 08:07:21 +0100 Subject: [PATCH] test onInitReady and onVideoChunkReady --- package/ios/TestRecorder/ViewController.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/ios/TestRecorder/ViewController.swift b/package/ios/TestRecorder/ViewController.swift index 13c6ca9..d6b8a5a 100644 --- a/package/ios/TestRecorder/ViewController.swift +++ b/package/ios/TestRecorder/ViewController.swift @@ -33,6 +33,12 @@ class ViewController: UIViewController { self.recordButton.isHidden = false } } + cameraView.onInitReady = { json in + print("onInitReady:", json ?? "nil") + } + cameraView.onVideoChunkReady = { json in + print("onVideoChunkReady:", json ?? "nil") + } Task { @MainActor in await requestAuthorizations()