-
Notifications
You must be signed in to change notification settings - Fork 190
Data streams v2 #1192
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
base: main
Are you sure you want to change the base?
Data streams v2 #1192
Changes from 3 commits
b861454
87b96c7
ca896ff
833b6ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -72,6 +72,8 @@ impl From<proto::StreamTextOptions> for StreamTextOptions { | |
| reply_to_stream_id: options.reply_to_stream_id, | ||
| attached_stream_ids: options.attached_stream_ids, | ||
| generated: options.generated, | ||
| // Compression opt-out is not yet exposed over FFI; default to on. | ||
| compress: None, | ||
|
Comment on lines
+75
to
+76
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note to self: expose new |
||
| } | ||
| } | ||
| } | ||
|
|
@@ -90,6 +92,8 @@ impl From<proto::StreamByteOptions> for StreamByteOptions { | |
| name: options.name, | ||
| mime_type: options.mime_type, | ||
| total_length: options.total_length, | ||
| // Compression opt-out is not yet exposed over FFI; default to on. | ||
| compress: None, | ||
| } | ||
| } | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -52,6 +52,7 @@ semver = "1.0" | |
| libloading = { version = "0.8.6" } | ||
| bytes = "1.10.1" | ||
| bmrng = "0.5.2" | ||
| flate2 = "1" | ||
| base64 = "0.22" | ||
|
Comment on lines
53
to
56
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note that
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure if this is is worth doing yet, but it might be worth adding a "compression" feature to this crate to conditionally include this dep. It would be enabled by default, but would provide users who do not want compression to disable it at the feature level.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I lean towards not doing it and adding it later if people wanted to opt out. But, I could be convinced otherwise if there's a really good use case. Also, in case it's relevant, |
||
|
|
||
| [dev-dependencies] | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,8 +22,8 @@ pub use crate::{ | |
| }, | ||
| id::*, | ||
| participant::{ | ||
| ConnectionQuality, DisconnectReason, LocalParticipant, Participant, PerformRpcData, | ||
| RemoteParticipant, RpcError, RpcErrorCode, RpcInvocationData, | ||
| ClientCapability, ConnectionQuality, DisconnectReason, LocalParticipant, Participant, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. question: Is |
||
| PerformRpcData, RemoteParticipant, RpcError, RpcErrorCode, RpcInvocationData, | ||
| }, | ||
| publication::{LocalTrackPublication, RemoteTrackPublication, TrackPublication}, | ||
| track::{ | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.