mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-05-26 07:08:11 +00:00
test(wbstream): increase channel test message attempts to 60
This commit is contained in:
@@ -17,7 +17,8 @@ logging.getLogger("livekit").setLevel(logging.WARNING)
|
||||
API_BASE = "https://stream.wb.ru"
|
||||
WS_URL = "wss://rtc-el-01.wb.ru"
|
||||
HARDCODED_ROOM_ID = "019e23c2-a580-7550-b08a-7ac5342ca21f"
|
||||
TEST_MESSAGES = ["Hello WB Stream!", "Hello world", "X" * 100, "Final test"]
|
||||
TEST_ATTEMPTS = 60
|
||||
TEST_MESSAGES = [f"WB Stream DataChannel attempt {idx:02d}" for idx in range(1, TEST_ATTEMPTS + 1)]
|
||||
|
||||
def _get_room_token(room_id: str, display_name: str) -> tuple[str, str]:
|
||||
"""Retrieves the room token via the guest API."""
|
||||
|
||||
@@ -20,7 +20,8 @@ API_BASE = "https://stream.wb.ru"
|
||||
WS_URL = "wss://wbstream01-el.wb.ru:7880"
|
||||
HARDCODED_ROOM_ID = "019e23c2-a580-7550-b08a-7ac5342ca21f"
|
||||
FPS = 10
|
||||
TEST_MESSAGES = ["Hello WB Stream via Video!", "Packed JSON payload test.", "X" * 200, "Final VideoChannel test"]
|
||||
TEST_ATTEMPTS = 60
|
||||
TEST_MESSAGES = [f"WB Stream VideoChannel attempt {idx:02d}" for idx in range(1, TEST_ATTEMPTS + 1)]
|
||||
|
||||
|
||||
def _encode(text: str) -> np.ndarray:
|
||||
|
||||
Reference in New Issue
Block a user