Skip to content

Commit 3506cea

Browse files
committed
初期ビットレートを1500kbpsから1200kbpsに変更し、制限前の最小ビットレートを750kbpsから500kbpsに修正する。テストにVP8ビデオコーデックタイプを追加する。
1 parent dbbf886 commit 3506cea

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_tc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
pyroute2 = pytest.importorskip("pyroute2")
2424

2525
# テスト用の設定値
26-
INITIAL_BITRATE_KBPS = 1500 # 初期ビットレート (kbps)
26+
INITIAL_BITRATE_KBPS = 1200 # 初期ビットレート (kbps)
2727
BANDWIDTH_LIMIT_KBPS = 250 # 帯域制限値 (kbps)
28-
MIN_BITRATE_BEFORE_LIMIT_KBPS = 750 # 制限前の最小ビットレート (kbps)
28+
MIN_BITRATE_BEFORE_LIMIT_KBPS = 500 # 制限前の最小ビットレート (kbps)
2929

3030

3131
def get_default_interface() -> str:
@@ -309,6 +309,7 @@ def test_tc_egress_bandwidth_limit(settings):
309309
simulcast=True,
310310
audio=False,
311311
video=True,
312+
video_codec_type="VP8",
312313
video_bit_rate=INITIAL_BITRATE_KBPS,
313314
video_width=960,
314315
video_height=540,

0 commit comments

Comments
 (0)