Skip to content

Add timeout as option to dataconnection#798

Draft
DirkHeinke wants to merge 1 commit intopeers:masterfrom
DirkHeinke:feature/dataconnection_timeout
Draft

Add timeout as option to dataconnection#798
DirkHeinke wants to merge 1 commit intopeers:masterfrom
DirkHeinke:feature/dataconnection_timeout

Conversation

@DirkHeinke
Copy link

This will add a new option to the datachannel to enable a timeout function (#769).

This works by sending a special message every N seconds and automatically close the channel if the message from the other end was not received within N*2 seconds. The receiver does not emit the special message to the user.

This implementation works but nothing has been added to the documentation. After a maintainer confirms, that this is the right way to do it, I'll add documentation and tests.

@DirkHeinke DirkHeinke marked this pull request as draft March 6, 2021 16:04
@geniuskidkanyi
Copy link

Is this still under development?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants