diff --git a/server/env.example b/server/env.example index 1d0ec29f..3ce1e342 100644 --- a/server/env.example +++ b/server/env.example @@ -76,14 +76,14 @@ DIARIZATION_URL=https://monadical-sas--reflector-diarizer-web.modal.run ## Video Platform Configuration ## ======================================================= -## Whereby (existing provider) +## Whereby #WHEREBY_API_KEY=your-whereby-api-key #WHEREBY_WEBHOOK_SECRET=your-whereby-webhook-secret #AWS_WHEREBY_ACCESS_KEY_ID=your-aws-key #AWS_WHEREBY_ACCESS_KEY_SECRET=your-aws-secret #AWS_PROCESS_RECORDING_QUEUE_URL=https://sqs.us-west-2.amazonaws.com/... -## Daily.co (new provider) +## Daily.co #DAILY_API_KEY=your-daily-api-key #DAILY_WEBHOOK_SECRET=your-daily-webhook-secret #DAILY_SUBDOMAIN=your-subdomain @@ -91,7 +91,7 @@ DIARIZATION_URL=https://monadical-sas--reflector-diarizer-web.modal.run #AWS_DAILY_S3_REGION=us-west-2 #AWS_DAILY_ROLE_ARN=arn:aws:iam::ACCOUNT:role/DailyRecording -## Platform Selection (Feature Flags) +## Platform Selection #DAILY_MIGRATION_ENABLED=false # Enable Daily.co support #DAILY_MIGRATION_ROOM_IDS=[] # Specific rooms to use Daily #DEFAULT_VIDEO_PLATFORM=whereby # Default platform for new rooms diff --git a/server/reflector/video_platforms/daily.py b/server/reflector/video_platforms/daily.py index 74a8e8fb..54666173 100644 --- a/server/reflector/video_platforms/daily.py +++ b/server/reflector/video_platforms/daily.py @@ -7,14 +7,10 @@ from typing import Any, Dict, Optional import httpx from reflector.db.rooms import Room +from reflector.platform_types import Platform -from .base import ( - MeetingData, - Platform, - RecordingType, - VideoPlatformClient, - VideoPlatformConfig, -) +from .base import VideoPlatformClient +from .models import MeetingData, RecordingType, VideoPlatformConfig class DailyClient(VideoPlatformClient): @@ -169,6 +165,7 @@ class DailyClient(VideoPlatformClient): if enable_recording: data["properties"]["start_cloud_recording"] = True + data["properties"]["enable_recording_ui"] = False async with httpx.AsyncClient() as client: response = await client.post(