-
Notifications
You must be signed in to change notification settings - Fork 75
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
Make publish_data
wait until the DataChannel's bufferedAmount becomes low.
#545
Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
e502e30
expose buffered_amount method to Rust
typester 7a4be4f
test to implement wait_for_dc_buffer_low
typester ee64923
remove wait_for_low function, add functionality to wait it in publish…
typester 82d6298
test FFI implementation
typester fb93565
add callback
typester cb4e34c
revert unused changes
typester 3a2fb5e
not necessary to make this async
typester 6e0cd81
update lock
typester 8887378
add nanpa changeset
typester a69387b
create dc_task for more reliable data publishing
typester d9cb564
change get/set dc buffered_amount_low_threshold FFI functions to supp…
typester 5c7731e
fmt
typester ff09a80
add logs if buffer amount become unexpected value
typester 5a3773d
Merge remote-tracking branch 'origin/main' into typester/data-stream
typester ab0bc9c
set default threshold to 2MB
typester 08f5f5c
fmt
typester 0aad6d1
ignore error here
typester ca69743
add buffered_amount_low_threshold in RoomInfo
typester 8e5e9d8
remove Get ffi function for dc buffered_low_threshold, instead, add i…
typester 1a42a4f
update changeset
typester 6c73254
flatten DataChannelOptions in protobuf
typester 88a623e
fmt
typester ae7d1df
Merge remote-tracking branch 'origin/main' into typester/data-stream
typester 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
remove Get ffi function for dc buffered_low_threshold, instead, add i…
…t to RoomInfo
- Loading branch information
commit 8e5e9d859271e624352a62cf9dbe29cb585e7091
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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.
nit since we have one field I would have flatten the dc options
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.
Will fix. Thank you!
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.
Fixed in 6c73254.