aws-samples / amazon-kinesis-video-streams-producer-embedded-c

Light-wight Amazon Kinesis Video Streams Producer SDK For FreeRTOS/Embedded Linux
Apache License 2.0
29 stars 18 forks source link

Change default data retention in hours #16

Closed weichihl closed 2 years ago

weichihl commented 2 years ago

Modify origin default value 0 to 2 hours.

User can change this setting by following sample code.

unsigned int uDataRetentionInHours = 24;
KvsApp_setoption(kvsAppHandle, OPTION_KVS_DATA_RETENTION_IN_HOURS, (const char *)&uDataRetentionInHours);

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.