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

Add stream buffer policy and related settings. #5

Closed weichihl closed 3 years ago

weichihl commented 3 years ago

Add stream buffer policy. There is only 2 policy now.

The first one is policy none which do nothing when buffer.

The second one is ring buffer policy. It will remove earliest frames when total memory of the buffer exceed the limit. Application can set this policy and memory limit by using options.

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