mirror of
https://github.com/zenlm/zen-live.git
synced 2026-07-27 03:09:42 +00:00
45 lines
1.3 KiB
Bash
45 lines
1.3 KiB
Bash
# Zen Live Configuration
|
|
# Copy this file to .env and fill in your values
|
|
|
|
# ===========================================
|
|
# Backend Configuration (choose one)
|
|
# ===========================================
|
|
|
|
# Option 1: Hanzo Node backend (local)
|
|
# Includes Zen model support
|
|
HANZO_NODE_URL=http://hanzo-node:3690
|
|
|
|
# Option 2: Direct Hanzo API (cloud)
|
|
HANZO_API_KEY=your_hanzo_api_key_here
|
|
TRANSLATE_API_URL=wss://api.hanzo.ai/v1/realtime?model=zen-livetranslate-flash-realtime
|
|
ASR_API_URL=wss://api.hanzo.ai/v1/realtime?model=zen-asr-flash-realtime
|
|
|
|
# ===========================================
|
|
# Authentication (optional)
|
|
# ===========================================
|
|
# Set both to enable HTTP Basic Auth on UI pages
|
|
|
|
ZEN_LIVE_USER=admin
|
|
ZEN_LIVE_PASS=ChangeThisPassword123!
|
|
|
|
# ===========================================
|
|
# Input Configuration
|
|
# ===========================================
|
|
|
|
# Enable WHIP endpoint for broadcaster ingestion
|
|
WHIP_ENABLED=true
|
|
|
|
# External input sources (optional)
|
|
# SRT_INPUT_URL=srt://source:9000?mode=caller
|
|
# RTMP_INPUT_URL=rtmp://source/live/stream
|
|
|
|
# ===========================================
|
|
# Server Configuration
|
|
# ===========================================
|
|
|
|
PORT=8000
|
|
# MODE=UI # or PHONE for FastPhone mode
|
|
|
|
# Public URL for App
|
|
BASE_URL=http://localhost:8000
|