aws-samples / amazon-kinesis-video-streams-webrtc-sdk-c-for-freertos

Apache License 2.0
37 stars 26 forks source link

connect issue #37

Open yyfblill opened 4 months ago

yyfblill commented 4 months ago

Hello, I'm porting this repo to our sdk, below is the log, how can I locate this issue?

log: [WebRTC] Starting initializing the app with channel(demo_oa8100) VVVVVVVVV length:1190 The number of threads: (1/1) The intialization of the media source is completed successfully The initialization of WebRTC is completed successfully Creating Signaling Client Sync The number of threads: (2/2) Signaling client state changed to 1 - 'New' Signaling client state changed to 2 - 'Get Security Credentials' Signaling client created successfully

Signaling Client Fetch Sync Signaling client state changed to 3 - 'Describe Channel' Describe the signaling channel The thread of handling msg is up New certificate has been pre-generated and added to the queue Signaling client state changed to 5 - 'Get Channel Endpoint' Get the signaling channel endpoints Signaling client state changed to 6 - 'Get ICE Server Configuration' Get the ice configuration The expiration of ice config: 17127197897974750, ttl: 300 Signaling client state changed to 7 - 'Ready' Signaling Client Connect Sync Signaling client state changed to 8 - 'Connecting' Connect to the signaling channel Start connecting to the signaling server Connect the wss app_common_pregenerateCertTimerCallback failed operation returned status code: 0x71000009 from timer_queue_executor(609) Create Wss client Start the wss client The number of threads: (3/3) Signaling client state changed to 9 - 'Connected' The bootup time of webrtc is 5528 ms Wss client is up wss ping ==> (ping, pong): (1, 0) <== wss pong app_common_pregenerateCertTimerCallback failed operation returned status code: 0x71000009 from timer_queue_executor(609) app_common_pregenerateCertTimerCallback failed operation returned status code: 0x71000009 from timer_queue_executor(609) wss ping ==> (ping, pong): (2, 1) <== wss pong

yyfblill commented 4 months ago

@ycyang1229 @codingspirit could you help take a look? It says app_common_pregenerateCertTimerCallback failed, cert parse fail?

codingspirit commented 3 months ago

Hi @yyfblill, I'm no longer maintaining this repository. Please reach out @awsblake if you need further assistant.

yyfblill commented 3 months ago

@awsblake Could you give me some advice? If I enable APP_PRE_GENERATE_CERT, it seems no connection, as attached log_enable_APP_PRE_GENERATE_CERT.txt If I disable APP_PRE_GENERATE_CERT, it report "Certificate verification failed", as attached log_disable_APP_PRE_GENERATE_CERT.txt log_disable_APP_PRE_GENERATE_CERT.txt log_enable_APP_PRE_GENERATE_CERT.txt