public static function CDLProceessFlavorsForCollection($cdlFlavorList)
 {
     $kdlFlavorList = array();
     foreach ($cdlFlavorList as $cdlFlavor) {
         $kdlFlavor = KDLWrap::ConvertFlavorCdl2Kdl($cdlFlavor);
         $kdlFlavorList[] = $kdlFlavor;
     }
     $xml = KDLProcessor::ProceessFlavorsForCollection($kdlFlavorList);
     KalturaLog::log(__METHOD__ . "-->" . $xml . "<--");
     return $xml;
 }
Exemplo n.º 2
0
 public static function CDLProceessFlavorsForCollection($cdlFlavorList)
 {
     $kdlFlavorList = array();
     foreach ($cdlFlavorList as $cdlFlavor) {
         $kdlFlavor = KDLWrap::ConvertFlavorCdl2Kdl($cdlFlavor);
         $kdlFlavorList[] = $kdlFlavor;
     }
     $xml = KDLProcessor::ProceessFlavorsForCollection($kdlFlavorList);
     KalturaLog::log(__METHOD__ . "-->" . $xml . "<--");
     foreach ($kdlFlavorList as $kdlFlavor) {
         $kdlFlavor->_cdlObject->setVideoBitrate($kdlFlavor->_video->_bitRate);
     }
     return $xml;
 }