connect onChunkReady from ChunkedRecorder to react native

This commit is contained in:
Rui Rodrigues
2024-07-15 09:50:39 +01:00
parent 89ecb35616
commit a2ce4df663
5 changed files with 36 additions and 3 deletions

View File

@@ -33,6 +33,10 @@ protocol CameraSessionDelegate: AnyObject {
Called for every frame (if video or frameProcessor is enabled)
*/
func onFrame(sampleBuffer: CMSampleBuffer)
/**
Called whenever a new video chunk is available
*/
func onVideoChunkReady(chunk: ChunkedRecorder.Chunk)
/**
Called whenever a QR/Barcode has been scanned. Only if the CodeScanner Output is enabled
*/