Code Monkey home page Code Monkey logo

Comments (6)

Nomidia avatar Nomidia commented on July 21, 2024 1

I found that the function RSA_generate_key_ex takes 5 to 15 seconds so I have to modify GENERATED_CERTIFICATE_BITS from 2048 to 1024 on my IOT device. After that, the connection timeout issue was resolved.

from amazon-kinesis-video-streams-webrtc-sdk-c.

Sean-Der avatar Sean-Der commented on July 21, 2024

Thank you for reporting @Nomidia! We will work on reproducing this

from amazon-kinesis-video-streams-webrtc-sdk-c.

Nomidia avatar Nomidia commented on July 21, 2024

I can preview from kvs althouth it is printing timeout(0x5a000020) on my IOT device. To avoid it I have to increase DEFAULT_TURN_GET_CREDENTIAL_TIMEOUT.
In addition, I found that it takes a long time from "lwsWssCallbackRoutine(): Client receive" to "turnConnectionStepState(): TurnConnection state changed from TURN_STATE_NEW to TURN_STATE_GET_CREDENTIALS", it‘s about 20s. But there is no such phenomenon in my ubuntu. I'll test for more information.

from amazon-kinesis-video-streams-webrtc-sdk-c.

Sean-Der avatar Sean-Der commented on July 21, 2024

Sorry for the delay @Nomidia I was on vacation!

We actually don't even need a client certificate for TURN TLS connections, so I am going to remove the generation completely. I am opening a PR now, if you get a chance would you mind trying it out.

I also really appreciate you trying out the asset :) if there is anything we can improve/change I would love to hear. thanks!

from amazon-kinesis-video-streams-webrtc-sdk-c.

Sean-Der avatar Sean-Der commented on July 21, 2024

@Nomidia when you get a chance mind trying master? I removed certificate generation from TURN path.

It was copied from DTLS, we are going to work on combining these paths.

from amazon-kinesis-video-streams-webrtc-sdk-c.

Nomidia avatar Nomidia commented on July 21, 2024

Thank you and have a nice holiday!

from amazon-kinesis-video-streams-webrtc-sdk-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.