def get_service_encoding(self, encoding: str) -> str:
        """Convert internal encoding format to AWS Transcribe format."""
        encoding_map = {
            "linear16": "pcm",  # AWS expects "pcm" for 16-bit linear PCM
        }
        return encoding_map.get(encoding, encoding)
Convert internal encoding format to AWS Transcribe format.
src/pipecat/services/aws/stt.py