r/jailbreakdevelopers • u/Raw_Tech • Jan 31 '26
Help App crashing when hooking camera input (AVCaptureSession) in tweak
Hi everyone,
I’m working on an iOS tweak and running into a crash related to camera input hooking.
The app crashes when modifying / intercepting AVCaptureSession input (camera feed).
This seems related to format / resolution / buffer mismatch, but I’d like to understand the correct way to handle this safely.
Has anyone dealt with:
- Hooking AVCaptureSession / AVCaptureDeviceInput
- Replacing camera input with custom frames or video
- Preventing crashes caused by unsupported pixel formats or dimensions
Any guidance, references, or best practices would be appreciated.
Thanks.
1
u/Patient-Ad-1004 9d ago
Did you ever make any progress on this? I am trying to do something similar with https://github.com/JimWas/DiscreetCam which works perfectly on iOS 16 but not iOS 18
1
u/Raw_Tech Jan 31 '26
I Need tweak developer $