Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 632 Bytes

UPGRADE-1.1.md

File metadata and controls

41 lines (30 loc) · 632 Bytes

Upgrade from 1.0 to 1.1

The encodeVideoByUrl() and encodeVideoFile() method got additional parameters. If you implement this interface, you'll have to reflect these changes.

Before:

// ...

public function encodeVideoByUrl($url)
{
    // ...
}

public function encodeVideoFile($localPath)
{
    // ...
}

// ...

After:

// ...

public function encodeVideoByUrl($url, array $profiles = array(), $pathFormat = null, $payload = null)
{
    // ...
}

public function encodeVideoFile($localPath, array $profiles = array(), $pathFormat = null, $payload = null)
{
    // ...
}

// ...