-
Notifications
You must be signed in to change notification settings - Fork 43
Implement onNeighborListUpdated event #3076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
ptesavol
wants to merge
26
commits into
main
from
NET-1450-report-buffereddAmount-of-webrtc-datachannels-to-the-users-of-trackerless-network
Closed
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
096fc62
implement onNeighborListChanged event
ptesavol 56de86b
eslint
ptesavol e4bded7
refactor to a more straightforward implementation
ptesavol f848537
add user-level api for the neighborListUpdated event
ptesavol e24664f
release: v103.0.0-rc.4
ptesavol 361dc46
release: v103.0.0-rc.4
ptesavol 38017ec
release: v103.0.0-rc.5
ptesavol 03c5272
disable BrowserWebRTCClient additional buffering and disable removin…
ptesavol 5f1b4bc
release: v103.0.0-rc.6
ptesavol b12be76
release: v103.0.0-rc.7
ptesavol c65488a
release: v103.0.0-rc.8
ptesavol 1552d48
buffredAmout change event should now propagate to the user level
ptesavol 00219e5
release: v103.0.0-rc.9
ptesavol 022e300
emit statistics object instead of the mere bufferedAmount
ptesavol eda0e08
add calculating uploadrate from peerConnection getStats()
ptesavol 96768cd
release: v103.0.0-rc.10
ptesavol 1aa6409
eslint
ptesavol c24d69f
re-enable removing of neighbors who take too long to respond
ptesavol 011296b
add any casting instead of useless parameters
juslesan 769ba54
review changes
ptesavol ff16a4d
Merge branch 'main' into NET-1450-report-buffereddAmount-of-webrtc-da…
juslesan 5ce3f24
add download rate metering
ptesavol 293e3fe
merged with main
ptesavol 19d1bc1
fix potential memory leak when removing event listener
ptesavol 2d52b1e
Merge branch 'main' into NET-1450-report-buffereddAmount-of-webrtc-da…
juslesan 636d79c
release: v103.0.0-rc.17
juslesan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this event end up being called quite often? Could there be some performance related if the bufferedAmount changes on each send
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The buffered amount should stay at 0 in normal operation, and be non-zero only if you are sending too fast. Maybe we should test this out with streamrtv by making a rc release of this branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, I suppose it would make sense to do an internal release of these changes