new AudioResponseStreamAction($audio), StreamingMethod::NGINX => new AudioNginxStreamAction($audio), default => throw new RuntimeException('AUDIO_STREAMING_METHOD must be specified in your .env file'), }; return $action->stream(); } }