async def _get_room_from_name(self, room_name: str) -> DailyRoomObject:
        """Internal method to get room details by name.

        Args:
            room_name: Name of the room

        Returns:
            DailyRoomObject: DailyRoomObject instance for the room

        Raises:
            Exception: If room is not found or response is invalid
        """
        headers = {"Authorization": f"Bearer {self.daily_api_key}"}
        async with self.aiohttp_session.get(
            f"{self.daily_api_url}/rooms/{room_name}", headers=headers
        ) as r:
            if r.status != 200:
                raise Exception(f"Room not found: {room_name}")

            data = await r.json()

        try:
            room = DailyRoomObject(**data)
        except ValidationError as e:
            raise Exception(f"Invalid response: {e}")

        return room
Internal method to get room details by name.

        Args:
            room_name: Name of the room

        Returns:
            DailyRoomObject: DailyRoomObject instance for the room

        Raises:
            Exception: If room is not found or response is invalid
        
src/pipecat/transports/services/helpers/daily_rest.py