Skip to content
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

multistream を削除 #40

Merged
merged 2 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
- @melpon
- [CHANGE] Ubuntu 20.04 のビルドを削除
- @melpon
- [CHANGE] multistream のオプションを削除
- @torikizi
- [UPDATE] Sora C++ SDK を `2024.8.0` に上げる
- それに伴って以下のライブラリのバージョンも上げる
- libwebrtc のバージョンを `m128.6613.2.0` に上げる
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,6 @@ Options:
Video bit rate (default: none)
--sora-audio-bit-rate INT:INT in [0 - 510]
Audio bit rate (default: none)
--sora-multistream BOOLEAN:value in {false->0,true->1} OR {0,1}
Use multistream (default: false)
--sora-simulcast BOOLEAN:value in {false->0,true->1} OR {0,1}
Use simulcast (default: false)
--sora-simulcast-rid TEXT Simulcast rid (default: none)
Expand Down
5 changes: 0 additions & 5 deletions doc/USE.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ $ ./zakuro \
--sora-channel-id zakuro-test \
--sora-video-codec-type VP8 \
--sora-video-bit-rate 1000 \
--sora-multistream true \
--resolution 640x480 \
--fake-capture-device \
--vcs 5
Expand Down Expand Up @@ -119,7 +118,6 @@ zakuro:
channel-id: "sora"
role: "sendrecv"
video-codec-type: VP8
multistream: true
spotlight: true
simulcast: true
- name: zakuro2
Expand All @@ -129,7 +127,6 @@ zakuro:
channel-id: "sora"
role: "sendrecv"
video-codec-type: VP8
multistream: true
spotlight: true
simulcast: true
```
Expand Down Expand Up @@ -173,7 +170,6 @@ zakuro:
signaling-url: "wss://sora.example.com/signaling"
channel-id: sora
role: sendrecv
multistream: true
data-channel-signaling: true
data-channels:
- label: "#test"
Expand Down Expand Up @@ -206,5 +202,4 @@ zakuro:
- "wss://sora3.example.com/signaling"
channel-id: sora
role: sendrecv
multistream: true
```
4 changes: 0 additions & 4 deletions src/util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,6 @@ void Util::ParseArgs(const std::vector<std::string>& cargs,
app.add_option("--sora-audio-bit-rate", config.sora_audio_bit_rate,
"Audio bit rate (default: none)")
->check(CLI::Range(0, 510));
app.add_option("--sora-multistream", config.sora_multistream,
"Use multistream (default: false)")
->transform(CLI::CheckedTransformer(bool_map, CLI::ignore_case));
app.add_option("--sora-simulcast", config.sora_simulcast,
"Use simulcast (default: false)")
->transform(CLI::CheckedTransformer(bool_map, CLI::ignore_case));
Expand Down Expand Up @@ -545,7 +542,6 @@ std::vector<std::vector<std::string>> Util::NodeToArgs(const YAML::Node& inst) {
DEF_STRING(sora, "sora-", "audio-codec-type");
DEF_INTEGER(sora, "sora-", "video-bit-rate");
DEF_INTEGER(sora, "sora-", "audio-bit-rate");
DEF_BOOLEAN(sora, "sora-", "multistream");
DEF_BOOLEAN(sora, "sora-", "simulcast");
DEF_STRING(sora, "sora-", "simulcast-rid");
DEF_BOOLEAN(sora, "sora-", "spotlight");
Expand Down
1 change: 0 additions & 1 deletion src/zakuro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,6 @@ int Zakuro::Run() {
sora_config.signaling_notify_metadata =
config_.sora_signaling_notify_metadata;
sora_config.role = config_.sora_role;
sora_config.multistream = config_.sora_multistream;
sora_config.simulcast = config_.sora_simulcast;
sora_config.simulcast_rid = config_.sora_simulcast_rid;
sora_config.spotlight = config_.sora_spotlight;
Expand Down
1 change: 0 additions & 1 deletion src/zakuro.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ struct ZakuroConfig {
int sora_video_bit_rate = 0;
int sora_audio_bit_rate = 0;
std::string sora_role = "";
bool sora_multistream = false;
bool sora_simulcast = false;
std::string sora_simulcast_rid;
bool sora_spotlight = false;
Expand Down