Amazon Kinesis Video Streams Webrtc SDK is for developers to install and customize realtime communication between devices and enable secure streaming of video, audio to Kinesis Video Streams.
What was changed?
Add a CMake flag that defines the pre-processor macro: IOT_CORE_ENABLE_CREDENTIALS. This flag is used in the samples to enable IoT credentials. Otherwise, static credentials (AK, SK, (ST)) are used.
Why was it changed?
Makes it easier to build. Previously, you would need to uncomment a line in the samples to enable using IoT credentials in the samples.
How was it changed?
If "-DIOT_CORE_ENABLE_CREDENTIALS=ON" cmake flag is present, it will add the pre-processor macro: IOT_CORE_ENABLE_CREDENTIALS. Also add a log line to indicate that it chose this path. To maintain backwards compatibility, this flag is OFF by default.
What testing was done for the changes?
cmake .., run kvsWebrtcClientMaster
IoT credentials are not used.
cmake .. -DIOT_CORE_ENABLE_CREDENTIALS=OFF, run kvsWebrtcClientMaster
IoT credentials still not used.
cmake .. -DIOT_CORE_ENABLE_CREDENTIALS=ON, run kvsWebrtcClientMaster
IoT credentials are used.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: N/A
What was changed? Add a CMake flag that defines the pre-processor macro:
IOT_CORE_ENABLE_CREDENTIALS
. This flag is used in the samples to enable IoT credentials. Otherwise, static credentials (AK, SK, (ST)) are used.Why was it changed?
How was it changed?
IOT_CORE_ENABLE_CREDENTIALS
. Also add a log line to indicate that it chose this path. To maintain backwards compatibility, this flag is OFF by default.What testing was done for the changes?
cmake ..
, run kvsWebrtcClientMastercmake .. -DIOT_CORE_ENABLE_CREDENTIALS=OFF
, run kvsWebrtcClientMastercmake .. -DIOT_CORE_ENABLE_CREDENTIALS=ON
, run kvsWebrtcClientMasterBy submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.