feat: enhance LiveKit service URL handling and add clipboard support for Electron
This commit is contained in:
@@ -105,12 +105,14 @@ export function useCallService(options?: UseCallServiceOptions): CallContextValu
|
||||
console.log('Call service init - Using configured LiveKit URL:', livekitServiceUrl);
|
||||
}
|
||||
|
||||
// If still no URL, log warning but allow service to initialize
|
||||
// Individual rooms may have their own LiveKit configs
|
||||
if (!livekitServiceUrl) {
|
||||
// eslint-disable-next-line no-console
|
||||
console.log('Call service init - No LiveKit service found, calls not supported');
|
||||
setCallSupported(false);
|
||||
setCallSupportLoading(false);
|
||||
return;
|
||||
console.log('Call service init - No global LiveKit URL found');
|
||||
console.log('Call service init - Will check for room-level configs when joining calls');
|
||||
// Use a placeholder URL - room-level config will override this
|
||||
livekitServiceUrl = 'https://placeholder.invalid/livekit';
|
||||
}
|
||||
|
||||
service = new CallService(
|
||||
|
||||
Reference in New Issue
Block a user