You need to call either media->list() or baseEntry->list()
Also, note that you will not get all entries due to paging.
Here is how to obtain all entries using the API: https://www.kaltura.org/demos/listentries/
Full code for this demo is here:
The short flow is:
// get total count
$total_media_entries = $client->media->count($filter);
// init a pager object
$pager = new KalturaFilterPager();
$page_index=1;
$pager->pageSize = 500;
$processed_entries=0;
// iterate over entries
while ($processed_entries < $total_media_entries){
// page index incremented at each iteration:
$pager->pageIndex=$page_index;
$result = $client->media->listAction($filter, $pager);
foreach ($result->objects as $entry) {
$processed_entries++;
// do something more interesting with the entry
var_dump($entry);
}
$page_index++;
}