Note: Kaltura.com SaaS users - Please contact your Kaltura Account Manager to add new flavor params to your account. Configuration of the transcoding layer requires specialized encoding expertise.
 

To add flavor params, call the flavorParams.add API action:

<?php
require_once('lib/KalturaClient.php');
$config = new KalturaConfiguration($partnerId);
$config->serviceUrl = 'https://www.kaltura.com/';
$client = new KalturaClient($config);
$client->setKs('AddYourKS');
$flavorParams = new KalturaFlavorParams();
$flavorParams->name = 'YourflavorParamsName';
$flavorParams->systemName = 'YourflavorParamssystemName';
$flavorParams->description = 'YourflavorParamsDescription';
$flavorParams->tags = 'YourflavorParamsTag1, YourflavorParamsTag2';
$flavorParams->videoCodec = KalturaVideoCodec::FLV;
$results = $client->flavorParams->add($flavorParams);