Skip to content

Commit 0dabbe5

Browse files
committed
[*] clean codes
1 parent e644e15 commit 0dabbe5

39 files changed

+1613
-2137
lines changed

Cargo.lock

Lines changed: 945 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ yuv = "0.8"
8787
mp4 = "0.14"
8888
nix = "0.30"
8989
x264 = "0.5"
90+
http = "1.4"
9091
rdev = "0.5"
9192
open = "5.3"
9293
cpal = "0.16"
@@ -96,18 +97,27 @@ ctrlc = "3.5"
9697
ashpd = "0.12"
9798
winapi = "0.3"
9899
rubato = "0.16"
100+
webrtc = "0.14"
99101
fdk-aac = "0.8"
102+
futures = "0.3"
100103
memmap2 = "0.9"
101104
windows = "0.62"
102105
pipewire = "0.9"
103106
openh264 = "0.9"
107+
indexmap = "2.12"
104108
thiserror = "2.0"
105109
crossbeam = "0.8"
110+
byteorder = "1.5"
111+
tokio-util = "0.7"
106112
spin_sleep = "1.3"
107113
nnnoiseless = "0.5"
108114
ffmpeg-next = "8.0"
115+
async-trait = "0.1"
116+
tokio-stream = "0.1"
117+
audiopus = "0.3.0-rc.0"
109118
derive_builder = "0.20"
110119
wayland-client = "0.31"
120+
job_scheduler_ng = "2.4"
111121
fast_image_resize = "5.3"
112122
wayland-protocols = "0.32"
113123
wayland-protocols-wlr = "0.3"
@@ -117,6 +127,7 @@ mp4m = { path = "lib/mp4m" }
117127
cutil = { path = "lib/cutil" }
118128
sqldb = { path = "lib/sqldb" }
119129
pmacro = { path = "lib/pmacro" }
130+
bytesio = { path = "lib/bytesio" }
120131
recorder = { path = "lib/recorder" }
121132
mp4-player = { path = "lib/mp4-player" }
122133
screen-capture = { path = "lib/screen-capture" }

lib/bytesio/Cargo.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[package]
2+
name = "bytesio"
3+
version.workspace = true
4+
edition.workspace = true
5+
license.workspace = true
6+
description = "a network io library using tokio"
7+
8+
[dependencies]
9+
log.workspace = true
10+
rand.workspace = true
11+
bytes.workspace = true
12+
futures.workspace = true
13+
thiserror.workspace = true
14+
byteorder.workspace = true
15+
async-trait.workspace = true
16+
tokio-stream.workspace = true
17+
tokio = { workspace = true, features = ["full"] }
18+
tokio-util = { workspace = true, features = ["codec"] }

lib/bytesio/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 HarlanC
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

lib/bytesio/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fork [xiu](https://github.com/harlanc/xiu)

0 commit comments

Comments
 (0)