def get_default_candidate(self, component):
        """
        Gets the default local candidate for the specified component.
        """
        for candidate in sorted(self._local_candidates, key=lambda x: x.priority):
            if candidate.component == component:
                return candidate
Gets the default local candidate for the specified component.