You can send the iPad screen directly into OBS using NDI. NDI HX Capture is the app for iOS/iPadOS. You'll need the NDI plugin for OBS.
I'm not sure which ends up being more reliable but I've had great success with NDI.
I'm not sure which ends up being more reliable but I've had great success with NDI.