Release 1.8.0 of the Amazon Kinesis Video WebRTC C SDK
What’s new:
- New latency measurement metrics available to read the time taken by different steps in the WebRTC peer set up process - PeerConnectionMetrics and KvsIceAgentMetrics
- Provision to use threadpool for thread management in signaling client to handle signaling messages. Control the size of the threadpool using SignalingClientInfo structure and enable usage by defining KVS_USE_SIGNALING_CHANNEL_THREADPOOL . Instructions are added to the README.md
- Provision to profile code section using PROFILE_* macros
- Added support for China (Beijing) region
Sample:
- Fixed potential memory leak in sample tear down
- Recreate signaling client if signaling client creation fails
- Changed GOP size of sample video from 10s to 2s
- Added RTSP source to gstreamer sample app
- Multiple bug fixes in samples
Bug fixes / Improvements:
- Fixed SDK build issues with libwebsockets on Windows
- Fixed poll() call failure on Windows
- Overwrite final entry in signaling cache if cache file reaches maximum entries
- Answer’s m line is generated based on the offer’s m line in SDP to avoid m line mismatch error when running with web browsers as the peer
- Build SCTP library only when ENABLE_DATA_CHANNEL flag is set
- Added jitter buffer overflow check to prevent frames from getting dropped due to timestamp integer overflow
- Fixed user agent string to be SDK and version specific
- Fixed crash from race condition in ConnectionListener teardown
- Improved latency in resolving TURN server URLs by directly parsing the IP from the getIceServerConfig response
- Logging improvements
Version bumps:
- OpenSSL updated from 1.1.1g to 1.1.1t