Updated MediaEncoder contract.