Clarification on DVR Recording Properties
We are seeing some issues with Recording Properties setttings in 1.1.4-RELB
when testing Section 184.108.40.206.4 of the DVR-I05 spec:
(1) If the retentionPriority is DELETE_AT_EXPIRATION, then the implementation SHALL
NOT allow any application to access the RecordedService past the expiration period. If playback
is in progress when the recordings expiration period is reached, the playback SHALL be terminated.
The implementation SHALL delete the RecordedService within one hour after the expiration of
the recording. The implementation SHALL NOT allow playback of a recording marked for deletion.
The Expiration Time is set to 0 and recording priority is updated from P2 to P0, because we want to force the stack to immediately delete the recording upon expiration.
In that use case, the stack does not seem to delete the recording.
Looking at the implementation, I see the following code:
void updateRecordingProperties(RecordingProperties properties)
long tempExpirationPeriod = RecordingManagerImpl.roundOffOverflow(properties.getExpirationPeriod(),
// update expiration if valid
if (tempExpirationPeriod > System.currentTimeMillis())
So it looks like Expiration Time of 0 is not considered valid.
Could you please comment?