WebRTC Keepalive configuration.

22 views
Skip to first unread message

Dohoon Aye

unread,
Nov 18, 2025, 7:42:36 AM (5 days ago) Nov 18
to discuss-webrtc

Hi, I wonder if possible to change the keepalive time duration before disconnection in WebRTC API in typescript/javascript.
Is there any method to make keepalive configurable in the environment above?

I've searched Mediasoup and Pion webRTC can handle lower library which can control keepalive time such as setting Engine.

Harald Alvestrand

unread,
Nov 18, 2025, 8:47:21 AM (5 days ago) Nov 18
to discuss...@googlegroups.com
What is the reason why you want to change the keepalive timer, and which timer are you looking for?
(there are multiple timers that can cause periodic transmission in WebRTC)


--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/f0470c4c-570e-42d7-be9f-ffe4de6f3f87n%40googlegroups.com.

Dohoon Aye

unread,
Nov 18, 2025, 9:51:59 AM (5 days ago) Nov 18
to discuss-webrtc
Hi, I've been finding how deal with the disconnected once the peer connected. I want to make disconnected period longer whether the data does not stream or keepalive (consent freshness or STUN binding&request  followed by RFC 8827, 8445  ).
I have been suffering from non-deterministic disconnection when I connected more than 25 connections in the same network used host & sflix. 
In overall, I want to delay disconnecting period if the keepalive does not come longer than 15 sec which is default setting. Thank you very much for your consideration.


스크린샷 2025-11-18 234519.png
2025년 11월 18일 화요일 오후 10시 47분 21초 UTC+9에 Harald Alvestrand님이 작성:
Reply all
Reply to author
Forward
0 new messages