You can create a stream with these archive types:

  • No archive
  • Basic archive with automatic purge disabled
  • Basic archive with automatic purge enabled
  • Event purge
  • Specific stream purge

This table shows the archive stream members you can use to create a stream with specific archive settings.

  • āœ— indicates that you need not specify the option.
  • āœ“ indicates that you specify the option.
dvrWindowstreamLevelPurgeDaysactiveArchiveDurationInDayseventsCreateStreamAPIStatusCodeStreamCreatedwithArchiveSetting
āœ— or positive integer valueāœ—āœ—āœ—202No archive
-1āœ—āœ—āœ—202Basic archive with automatic purge disabled (unlimited archive)
-1āœ—āœ—āœ“202Event level purge
positive integerāœ—āœ—āœ“400
-1āœ“āœ—āœ—202Stream level purge
positive integerāœ“āœ—āœ—400
-1āœ“āœ—āœ“400
āœ—āœ—āœ“āœ—202Advanced archive
āœ“āœ—āœ“āœ“400
āœ—āœ“āœ“āœ—400
āœ—āœ—āœ“āœ“400