awslabs / amazon-kinesis-video-streams-webrtc-sdk-android

Android SDK for interfacing with Amazon Kinesis Video Streams Signaling Service.
Apache License 2.0
58 stars 37 forks source link

Handle caching of ICE candidates #47

Closed disa6302 closed 3 years ago

disa6302 commented 3 years ago

Because of out of order signaling message delivery, it is possible that the ICE candidates arrive before the answer in trickle ICE mode and the SDK does not track these ICE candidates. In the sample, we need to implement a caching logic to store any ICE candidates that are received before getting an answer to ensure we do not lose these while creating candidate pairs. The WebRTC C SDK handles this, but other SDKs do not.

Issue reference: #44

unicornss commented 3 years ago

[ wip ] https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-android/tree/test-pending-ice

disa6302 commented 3 years ago

PR merged. Closing the issue.