generated from security-union/yew-actix-template
-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor out connection, peer management, and packet handling into `Vid…
…eoCallClient` (#137) * factor out connection, peer management, and packet handling code * clean up warnings about unused variables and results * make CameraEncoder::start() args consistent with the other encoders * Various cleanups and clippy * Pass VideoCallClient to encoders, remove on_packet callbacks * keep copy of aes in outer struct so no borrow() is needed to get it * Explicitly ensure peer before handling packet, rather than on-the-fly callback hell With some code cleanups along the way * Gratuitous cleanup: Better naming * Gratuitous cleanup: error enums & DRY some code * Gratuitous cleanup: factor out HashWithOrderedKeys * cargo fmt
- Loading branch information
Showing
17 changed files
with
640 additions
and
421 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
mod video_call_client; | ||
|
||
pub use video_call_client::{VideoCallClient, VideoCallClientOptions}; |
Oops, something went wrong.