OnvifCreateRecordingRecordingsCommand constructor

OnvifCreateRecordingRecordingsCommand()

Implementation

OnvifCreateRecordingRecordingsCommand() {
  argParser
    ..addOption('source-source-id',
        valueHelp: 'string',
        mandatory: true,
        help:
            'Identifier for the source chosen by the client that creates the structure. This identifier is opaque to the device. Clients may use any type of URI for this field. A device shall support at least 128 characters.')
    ..addOption('source-name',
        valueHelp: 'string',
        mandatory: true,
        help:
            'Informative user readable name of the source, e.g. "Camera23". A device shall support at least 20 characters.')
    ..addOption('source-location',
        valueHelp: 'string',
        mandatory: true,
        help:
            'Informative description of the physical location of the source, e.g. the coordinates on a map.')
    ..addOption('source-description',
        valueHelp: 'string',
        mandatory: true,
        help: 'Informative description of the source.')
    ..addOption('source-address',
        valueHelp: 'string',
        mandatory: true,
        help:
            'URI provided by the service supplying data to be recorded. A device shall support at least 128 characters.')
    ..addOption('content',
        valueHelp: 'string',
        mandatory: true,
        help: 'Informative description of the source.')
    ..addOption('maximum-retention-time',
        valueHelp: 'duration',
        defaultsTo: 'PT0S',
        help:
            'Specifies the maximum time that data in any track within the recording shall be stored. The device shall delete any data older than the maximum retention time. Such data shall not be accessible anymore. If the MaximumRetentionPeriod is set to 0, the device shall not limit the retention time of stored data, except by resource constraints. Whatever the value of MaximumRetentionTime, the device may automatically delete recordings to free up storage space for new recordings.');
}