Skip to main content

Does RecordingAlertEvent is received for a recording been started in past ?

1 reply [Last post]

OCAP Java doc says that RecordingAlertEvent is received when a scheduled recording is about to occur and this is triggered for LeafRecordingRequests in pending states.

If a recording is scheduled whose start time is in the past, does RecordingAlertEvent is received after calling RecordingManager's record() api?

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2008-12-18

In the case where the start time is in the past, the RI will call RecordingAlertListeners (passing a RecordingAlertEvent) as part of the record() call.
This is based on the description of RAL.recordingAlert() Javadoc that states "Notifies the RecordingAlertListener that a scheduled activity is about to happen."
Since a retroactive recording is "about to happen" as soon as the RecordingManager.record() call is made, it follows that the RAL is called immediately prior.