def get_speaker_volume(self):
        """Return the volume setting of the speaker."""
        if not self.camera_extended_properties:
            return None

        speaker = self.camera_extended_properties.get('speaker')
        if not speaker:
            return None

        return speaker.get('volume')
Return the volume setting of the speaker.