Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

trickle disabled? #141

Open
isaackwan opened this issue Apr 9, 2018 · 2 comments
Open

trickle disabled? #141

isaackwan opened this issue Apr 9, 2018 · 2 comments
Labels
kind/support A question or request for support status/deferred Conscious decision to pause or backlog

Comments

@isaackwan
Copy link

Is there a reason trickle is disabled?

@daviddias daviddias added the status/deferred Conscious decision to pause or backlog label May 30, 2018
@vasco-santos vasco-santos added the kind/support A question or request for support label Jul 22, 2018
@guysv
Copy link

guysv commented May 17, 2019

This is the third time I come across this issue, think to myself "hmm, thats a good question", proceed to thumb-up the issue, then realize the existing thumbs-up is mine.

Generally, Trickle-ICE will improve any WebRTC app performance, so we should use it.

I can only guess that utilizing trickle ice will complicate the negotiation protocol. That is solvable, but i'm worried about the next-gen webrtc-star.

Trickle-ICE requires multiple messaging rounds, but interface-data-exchange only supports a single request-response.
@mkg20001 whats your take on this?

@mkg20001
Copy link
Member

mkg20001 commented May 17, 2019

We could do multiple req/res cycles in data-exchange. Once everything gets switched over to async/await this shouldn't be a problem anymore. But adding a transport handler for handeling subsequent request/responses might inflate complexity too much, so it might be a good idea to use a "clever hack" here, by adding a seperate listener for the second round, under a different name, so that the complexity is moved into the webrtc-star transport and not data-exchange.

So first a req/res cycle is done for webrtc handler, then req/res is done for webrtc-trickle handler which gets the needed data by a request id that gets thrown into the response from the other side in the first cycle and is used in an object to get data from the webrtc handler to the webrtc-trickle handler that isn't already sent over the wire. Sounds sane?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/support A question or request for support status/deferred Conscious decision to pause or backlog
Projects
None yet
Development

No branches or pull requests

5 participants