forked from harlanc/xiu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
120 additions
and
52 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
COPY_CONF_FILES = sh ./update_project_conf.sh | ||
|
||
not_spport: | ||
echo "input make <local|online|clean|check>" | ||
echo "input make <local|online|build|clean|check>" | ||
# build local source codes | ||
local: | ||
cd ./confs && $(COPY_CONF_FILES) "local" | ||
cargo build | ||
# pull the online crates codes and build | ||
online: | ||
cd ./confs && $(COPY_CONF_FILES) "online" | ||
cargo build | ||
check: | ||
cargo clippy --fix --allow-dirty --allow-no-vcs | ||
clean: | ||
cargo clean | ||
cargo clean | ||
build: | ||
cargo build |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "xiu" | ||
description = "A powerful live server by Rust ." | ||
version = "0.6.1" | ||
version = "0.7.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -26,12 +26,12 @@ serde_json = { version = "1", default-features = false, features = [ | |
axum = "0.6.10" | ||
tokio-metrics = { version = "0.2.0", default-features = false } | ||
|
||
env_logger_extend = { path = "../../library/logger/" } | ||
streamhub = { path = "../../library/streamhub/" } | ||
rtmp = { path = "../../protocol/rtmp/" } | ||
rtsp = { path = "../../protocol/rtsp/" } | ||
httpflv = { path = "../../protocol/httpflv/" } | ||
hls = { path = "../../protocol/hls/" } | ||
env_logger_extend = "0.1.1" | ||
streamhub = "0.1.0" | ||
rtmp = "0.4.0" | ||
rtsp = "0.1.0" | ||
httpflv = "0.3.0" | ||
hls = "0.3.0" | ||
|
||
[features] | ||
default = ["std"] | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bytesio" | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
authors = ["HarlanC <[email protected]>"] | ||
edition = "2018" | ||
description = "a network io library using tokio." | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "h264-decoder" | ||
version = "0.1.0" | ||
version = "0.2.0" | ||
edition = "2021" | ||
authors = ["HarlanC <[email protected]>"] | ||
description = "a h264 decoder" | ||
|
@@ -15,4 +15,5 @@ bytes = "1.0.0" | |
log = "0.4" | ||
failure = "0.1.1" | ||
|
||
bytesio = { path = "../../bytesio/" } | ||
bytesio = "0.3.0" | ||
|
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 |
---|---|---|
|
@@ -2,4 +2,6 @@ A h264 decoder library. | |
|
||
## v0.1.0 | ||
- Add sps parser. | ||
## v0.2.0 | ||
- Reference bytesio v0.3.0. | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "xflv" | ||
description = "flv library." | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -16,6 +16,6 @@ bytes = "1.0.0" | |
failure = "0.1.1" | ||
serde = { version = "1.0", features = ["derive", "rc"] } | ||
log = "0.4" | ||
bytesio = "0.3.0" | ||
h264-decoder = "0.2.0" | ||
|
||
bytesio = { path = "../../bytesio/" } | ||
h264-decoder = { path = "../../codec/h264/" } |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "xmpegts" | ||
description = "mpegts library." | ||
version = "0.1.1" | ||
version = "0.2.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -14,4 +14,5 @@ edition = "2018" | |
byteorder = "1.4.2" | ||
bytes = "1.0.0" | ||
failure = "0.1.1" | ||
bytesio = { path = "../../bytesio/" } | ||
|
||
bytesio = "0.3.0" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
The streamhub is used for xiu to communicate between publisher/subscirber. | ||
|
||
## v0.1.0 | ||
The first version. |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "hls" | ||
description = "hls library." | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -18,10 +18,10 @@ log = "0.4" | |
hyper = { version = "0.14", features = ["full"] } | ||
tokio-util = { version = "0.6.5", features = ["codec"] } | ||
|
||
streamhub = { path = "../../library/streamhub/" } | ||
xmpegts = { path = "../../library/container/mpegts/" } | ||
xflv = { path = "../../library/container/flv/" } | ||
rtmp = { path = "../rtmp/" } | ||
streamhub = "0.1.0" | ||
xflv = "0.3.0" | ||
rtmp = "0.4.0" | ||
xmpegts = "0.2.0" | ||
|
||
[dependencies.tokio] | ||
version = "1.4.0" | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "httpflv" | ||
description = "httpflv library." | ||
version = "0.2.1" | ||
version = "0.3.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -18,9 +18,9 @@ log = "0.4" | |
hyper = { version = "0.14", features = ["full"] } | ||
futures = "0.3" | ||
|
||
streamhub = { path = "../../library/streamhub/" } | ||
xflv = { path = "../../library/container/flv/" } | ||
rtmp = { path = "../rtmp/" } #"0.0.4" | ||
streamhub = "0.1.0" | ||
xflv = "0.3.0" | ||
rtmp = "0.4.0" | ||
|
||
[dependencies.tokio] | ||
version = "1.4.0" | ||
|
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "rtmp" | ||
description = "rtmp library." | ||
version = "0.3.1" | ||
version = "0.4.0" | ||
authors = ["HarlanC <[email protected]"] | ||
repository = "https://github.com/harlanc/xiu" | ||
license = "MIT" | ||
|
@@ -30,10 +30,10 @@ serde_json = { version = "1", default-features = false, features = [ | |
] } | ||
serde = { version = "1.0", features = ["derive", "rc"] } | ||
|
||
bytesio = { path = "../../library/bytesio/" } | ||
streamhub = { path = "../../library/streamhub/" } | ||
h264-decoder = { path = "../../library/codec/h264/" } | ||
xflv = { path = "../../library/container/flv/" } | ||
streamhub = "0.1.0" | ||
xflv = "0.3.0" | ||
bytesio = "0.3.0" | ||
h264-decoder = "0.2.0" | ||
|
||
[dependencies.tokio] | ||
version = "1.4.0" | ||
|
Oops, something went wrong.