Simplify ChunkedRecorder
This commit is contained in:
@@ -160,9 +160,9 @@ export function CameraPage({ navigation }: Props): React.ReactElement {
|
||||
const frameProcessor = useFrameProcessor((frame) => {
|
||||
'worklet'
|
||||
|
||||
console.log(`${frame.timestamp}: ${frame.width}x${frame.height} ${frame.pixelFormat} Frame (${frame.orientation})`)
|
||||
examplePlugin(frame)
|
||||
exampleKotlinSwiftPlugin(frame)
|
||||
// console.log(`${frame.timestamp}: ${frame.width}x${frame.height} ${frame.pixelFormat} Frame (${frame.orientation})`)
|
||||
// examplePlugin(frame)
|
||||
// exampleKotlinSwiftPlugin(frame)
|
||||
}, [])
|
||||
|
||||
return (
|
||||
|
@@ -74,7 +74,7 @@ export function MediaPage({ navigation, route }: Props): React.ReactElement {
|
||||
}
|
||||
}, [path, type])
|
||||
|
||||
const source = useMemo(() => ({ uri: `file://${path}` }), [path])
|
||||
const source = useMemo(() => ({ uri: `file://${path}/1.mp4` }), [path])
|
||||
|
||||
const screenStyle = useMemo(() => ({ opacity: hasMediaLoaded ? 1 : 0 }), [hasMediaLoaded])
|
||||
|
||||
|
Reference in New Issue
Block a user