Discussions

Ask a Question
Back to All

How can I make my connection last longer?

I'm using the example that ID-D itself provides, "live-streaming-demo" (https://github.com/de-id/live-streaming-demo), and I have a question. How can I make my connection last longer?

Currently, when I click on "Connect", everything is "connected", "completed" or "ready". However, after 2/3 minutes the "Peer connection status:" is "Failed" or "Disconnected", and the "ICE status:" is "disconnected".

Is it possible to let this connection last longer, for example, 10/15 minutes? Like sending a query every 50 seconds to maintain the connection?

If it's possible, could someone tell me and give me a code example if they can? I would really appreciate it! Thanks!