You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,11 @@ You can pass the following options to `cmake ..`.
59
59
*`-DALIGNED_MEMORY_MODEL` Build for aligned memory model only devices. Default is OFF.
60
60
*`-DLOCAL_OPENSSL_BUILD` Whether or not to use local OpenSSL build. Default is OFF.
61
61
*`-DCONSTRAINED_DEVICE` -- Change thread stack size to 0.5Mb, needed for Alpine.
62
+
*`-DAWS_KVS_USE_LEGACY_ENDPOINT_ONLY` -- Use only legacy IPV4-only endpoints (ignores env vars). Default is OFF.
63
+
*`-DAWS_KVS_USE_DUAL_STACK_ENDPOINT_ONLY` -- Use only dual-stack endpoints (ignores env vars). Default is OFF.
64
+
*`-DAWS_KVS_IPV4_ONLY` -- Use only IPv4 addresses from DNS (ignores env vars). Default is OFF.
65
+
*`-DAWS_KVS_IPV6_ONLY` -- Use only IPv6 addresses from DNS (ignores env vars). Default is OFF.
66
+
*`-DAWS_KVS_DUAL_STACK_ONLY` -- Use both IPv4 and IPv6 addresses from DNS (ignores env vars). Default is OFF.
62
67
63
68
64
69
DMEMORY_SANITIZER, DTHREAD_SANITIZER etc. flags works only with clang compiler
@@ -197,6 +202,23 @@ For video and audio: `createOfflineAudioVideoStreamInfoProviderWithCodecs()`
197
202
198
203
The 2 APIs are available in [this](https://github.com/awslabs/amazon-kinesis-video-streams-producer-c/blob/412aab82c99a72f9dbde975f5fea81ffdc844ae5/src/include/com/amazonaws/kinesis/video/cproducer/Include.h) header file.
199
204
205
+
### KVS Endpoints and DNS resolution
206
+
The default endpoints and DNS resolution chain is implemented by the SDK. It sequentially checks each place where you can set the configuration for these parameters, and then selects the first one you set. The predefined sequence is as follows:
207
+
208
+
#### Endpoint Configuration
209
+
1. The `controlPlaneUrl` parameter for `createAbstractDefaultCallbacksProvider`.
3. Otherwise, no filtering will take place. Both IPv4 and IPv6 IP addresses, if returned by DNS, may be used.
221
+
200
222
## DEBUG
201
223
* When building OpenSSL during `cmake ..`, if you encounter an architecture error such as `ld: symbol(s) not found for architecture i386`, building with a local OpenSSL build may help. First install OpenSSL 1.1 (for Mac: `brew install [email protected]`). Next set `export PKG_CONFIG_PATH="<YOUR-PATH>/[email protected]/lib/pkgconfig"` (your path can be printed to terminal using `which openssl` on Linux/Mac). Now set the following flag to ON when building: `cmake .. -DLOCAL_OPENSSL_BUILD=ON`. If there are still errors regarding locating the local OpenSSL library:
202
224
* The following environment variables may need to be set to export:
0 commit comments