Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate #1892
Replies: 7 comments 1 reply
-
The error code from the C SDK: Can you please share verbose logs from the C SDK to understand the issue better? You can enable it with |
Beta Was this translation helpful? Give feedback.
-
@niyatim23 thanks for the response, here: `./kvsWebrtcClientMasterGstSample test_channel video camera 2024-01-02 11:52:14.240 VERBOSE lwsHttpCallbackRoutine(): Appending header - Authorization: AWS4-HMAC-SHA256 Credential=AKIAVEXKQCHGS4BR2N52/20240102/us-east-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=b34923ced6d0598ce46f86638e7e38f10868ba6120cb6ac6061e500fe7d2587c ` |
Beta Was this translation helpful? Give feedback.
-
Hi, can you please try running the sample with the following command: |
Beta Was this translation helpful? Give feedback.
-
Here is the output (same failure) ./kvsWebrtcClientMasterGstSample test_channel video-only testsrc 2024-01-04 13:14:13.681 VERBOSE lwsHttpCallbackRoutine(): Appending header - Authorization: AWS4-HMAC-SHA256 Credential=AKIAVEXKQCHGS4BR2N52/20240104/us-east-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=4ed46bcde9a6f685d2e2fb9889e8cf2b7fc4af5c44ca15a03574885d13ed46f6 |
Beta Was this translation helpful? Give feedback.
-
Hello, These are still not the complete logs. Please attach as a file. Additionally, please provide the following details:
Also, looking at the SDK commit, it seems you are using a commit that is an year old and it is from a preview branch. Please move to the most recent release. |
Beta Was this translation helpful? Give feedback.
-
Here is the attached log from the master branch. Same issue as previously. "Additionally, please provide the following details: Which browser is the JS test page being run in? --- Chrome I should also note that the "test" connection after installing works. Meaning I can see the test h264 frames that are sent to the signalling channel. But only when I want to send my own video do I get these issues |
Beta Was this translation helpful? Give feedback.
-
@noahweber1, can you please clarify what you mean by "test connection", and which sample and arguments were used for the provided logs. |
Beta Was this translation helpful? Give feedback.
-
I can connect, but once I try to preview the stream I get the "Failed to execute 'addIceCandidate' on 'RTCPeerConnection': Error processing ICE candidate" error.
Any idea why this is happening?
When trying to view the stream from the JS application logs say:
"[2024-01-02T10:01:45.649Z] [ERROR] InvalidStateError: Failed to execute 'addIceCandidate' on 'RTCPeerConnection': The remote description was null"
Beta Was this translation helpful? Give feedback.
All reactions