ffmpeg-webrtc icon indicating copy to clipboard operation
ffmpeg-webrtc copied to clipboard

Implement ICE consent freshness for connectivity detection

Open murillo128 opened this issue 6 months ago • 3 comments

WHIP RFC 9725 requires that once a session is set up, consent freshness as per RFC7675 SHALL be used to detect non-graceful disconnection by full ICE implementations and DTLS teardown for session termination by either side.

The patch adds some minimal support for consent freshness, sending ICE requests peridiodically and terminating when we don't receive response to those requests for a number of consecutive requests.

murillo128 avatar Jun 10 '25 11:06 murillo128

Hi Sergio, thank you for your PR. Could you please provide some background information for this PR in the description? The patch will be generated based on the title and description, and it will be sent via email to the FFmpeg community. Therefore, a detailed description is important for the maintainers to review this PR.

winlinvip avatar Jun 10 '25 13:06 winlinvip

WHIP RFC 9725 requires that once a session is set up, consent freshness as per RFC7675 SHALL be used to detect non-graceful disconnection by full ICE implementations and DTLS teardown for session termination by either side.

The patch adds some minimal support for consent freshness, sending ICE requests peridiodically and terminating when we don't receive response to those requests for a number of consecutive requests.

murillo128 avatar Jun 10 '25 13:06 murillo128

I think all special chars are removed now

murillo128 avatar Jun 10 '25 13:06 murillo128