src/Alexa.php
public function play($url, $token = null, $offsetInMilliseconds = null, $playBehavior = null, $expectedPreviousToken = null)
    {
        if(config('alexa.audio.proxy.enabled'))
        {
            $url = url(config('alexa.audio.proxy.route') . '/' . base64_encode($url));
        }
        
        $audio = new Play($url, $token, $offsetInMilliseconds, $playBehavior, $expectedPreviousToken);

        $response = new AlexaResponse();
        $response->setAudio($audio);

        // Cache the URL that belongs to the token so that we can resume later.
        cache([$audio->getToken() => $audio->getUrl()], 48*60);

        return $response;
    }
public function play($url, $token = null, $offsetInMilliseconds = null, $playBehavior = null, $expectedPreviousToken = null)
    {
        if(config('alexa.audio.proxy.enabled'))
        {
            $url = url(config('alexa.audio.proxy.route') . '/' . base64_encode($url));
        }
        
        $audio = new Play($url, $token, $offsetInMilliseconds, $playBehavior, $expectedPreviousToken);

        $response = new AlexaResponse();
        $response->setAudio($audio);

        // Cache the URL that belongs to the token so that we can resume later.
        cache([$audio->getToken() => $audio->getUrl()], 48*60);

        return $response;
    }
@param $url
@param null $token
@param null $playBehavior
@param null $offsetInMilliseconds
@param null $expectedPreviousToken

@return AlexaResponse