Camera.record Frigate error?

Upon attempting to record clips from cameras that are in Frigate using camera.record, I now receive the error Failed to call service camera.record. camera.driveway does not support record service.
This is the way I used the get the recordings and screenshots when I was using the reolink integration.
Does anyone know what I need to do to fix this? I attempted adding rtmp to my streams.
Or maybe I’m going about this wrong.
I am trying to record a 3 second clip when a door sensor opens. Thank you in advance.

          input_args: preset-rtsp-restream
            - record
            - detect  
            - rtmp
  enabled: True
    days: 3
    mode: all
      default: 5
      mode: motion