mirror of
https://github.com/openlibrecommunity/olcrtc.git
synced 2026-06-06 20:39:47 +00:00
fix(provider/wbstream): drop room auto-generation
WB Stream removed the room creation API; gen mode for wbstream no longer works. Remove the wbstream branch from session.Gen, drop the auto-generate prompt from srv.sh and the entrypoint fallback, and update docs to instruct users to create rooms manually at stream.wb.ru.
This commit is contained in:
@@ -63,7 +63,7 @@ vp8_batch="${OLCRTC_VP8_BATCH:-0}"
|
||||
|
||||
if [ -z "$room_id" ]; then
|
||||
case "$carrier" in
|
||||
jazz|wbstream)
|
||||
jazz)
|
||||
echo "olcrtc-entrypoint: OLCRTC_ROOM_ID not set, generating room via -mode gen..." >&2
|
||||
room_id=$(/usr/local/bin/olcrtc -mode gen -carrier "$carrier" -dns "$dns_server" -amount 1 -data "$data_dir")
|
||||
[ -n "$room_id" ] || die "room generation failed for carrier '$carrier'"
|
||||
|
||||
Reference in New Issue
Block a user