Ameba-Pro KVS Getting Started Guide
Getting Started Guide All information provided in this document is subject to legal disclaimers. © REALTEK 2020. All rights reserved.
11
3.3
Set Access Key ID and Secret Access Key on AmebaPro
After getting Access key ID and Secret access key in chapter 2.3, enter the key pair and stream name in file: sample_config.h
(SDK_path/component/common/example/kvs_producer/sample_config.h)
Additionally, you can change the kvs region by modifying AWS_KVS_REGION. The default region is us-east-1.
3.4
Enable KVS Producer Demo
All examples provided by RTK exist in folder: SDK_path/component/common/example. Please open platform_opts.h (SDK_path/project/
realtek_amebapro_v0_example/inc/platform_opts.h) to specify the example to run.
For example, if users want to use KVS Producer with multi-media framework on AmebaPro, compile flag
CONFIG_EXAMPLE_KVS_PRODUCER_MMF should be set to 1, which means
#define CONFIG_EXAMPLE_KVS_PRODUCER_MMF 1
Now you can start to compile AmebaPro Amazon KVS
How to modify the video parameter in producer multi-media example? See
9.1 Modify the Video Parameter
Note:
For more information of multi-media framework on AmebaPro, please see the following document:
We will recommend to use the multi-media framework example, since it will be easier to integrate the example with other application.
However, if you don’t want to use the multi-media framework for KVS producer example, you can use the following demo alternatively:
#define CONFIG_EXAMPLE_KVS_PRODUCER 1