Phase 2 implementation: Multiple streamers can now merge their captions into a single stream using a PHP server. PHP Server (server/php/): - server.php: API endpoint for sending/streaming transcriptions - display.php: Web page for viewing merged captions in OBS - config.php: Server configuration - .htaccess: Security settings - README.md: Comprehensive deployment guide Features: - Room-based isolation (multiple groups on same server) - Passphrase authentication per room - Real-time streaming via Server-Sent Events (SSE) - Different colors for each user - File-based storage (no database required) - Auto-cleanup of old rooms - Works on standard PHP hosting Client-Side: - client/server_sync.py: HTTP client for sending to PHP server - Settings dialog updated with server sync options - Config updated with server_sync section Server Configuration: - URL: Server endpoint (e.g., http://example.com/transcription/server.php) - Room: Unique room name for your group - Passphrase: Shared secret for authentication OBS Integration: Display URL format: http://example.com/transcription/display.php?room=ROOM&passphrase=PASS&fade=10×tamps=true NOTE: Main window integration pending (client sends transcriptions) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
756 B
YAML
43 lines
756 B
YAML
user:
|
|
name: "User"
|
|
id: ""
|
|
|
|
audio:
|
|
input_device: "default"
|
|
sample_rate: 16000
|
|
chunk_duration: 3.0
|
|
overlap_duration: 0.5 # Overlap between chunks to prevent word cutoff (seconds)
|
|
|
|
noise_suppression:
|
|
enabled: true
|
|
strength: 0.7
|
|
method: "noisereduce"
|
|
|
|
transcription:
|
|
model: "base"
|
|
device: "auto"
|
|
language: "en"
|
|
task: "transcribe"
|
|
|
|
processing:
|
|
use_vad: true
|
|
min_confidence: 0.5
|
|
|
|
server_sync:
|
|
enabled: false
|
|
url: "http://localhost/transcription/server.php"
|
|
room: "default"
|
|
passphrase: ""
|
|
|
|
display:
|
|
show_timestamps: true
|
|
max_lines: 100
|
|
font_family: "Courier"
|
|
font_size: 12
|
|
theme: "dark"
|
|
fade_after_seconds: 10 # Time before transcriptions fade out (0 = never fade)
|
|
|
|
web_server:
|
|
port: 8080
|
|
host: "127.0.0.1"
|