apps/meteor/client/hooks/roomActions/useWebRTCVideoRoomAction.ts
Function useWebRTCVideoRoomAction
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const useWebRTCVideoRoomAction = () => {
const enabled = useSetting('WebRTC_Enabled', false);
const room = useRoom();
const federated = isRoomFederated(room);
const callProvider = useSetting<string>('Omnichannel_call_provider', 'default-provider');