public function stopRecording($liveCallUuid, $url = null)
    {
        if (empty($liveCallUuid)) {
            throw new PlivoValidationException(
                "Which call to stop recording? No callUuid given");
        }

        $params = [];
        
        if (!empty($url)) {
            $params = ['URL' => $url];
        }
        
        
        $this->client->delete(
            $this->uri . $liveCallUuid . '/Record/',
            $params
        );
    }