Как с помощью Kaltura VPaaS API получить статус ГОТОВ после загрузки видео?

После загрузки видео статус мультимедиа - ПРЕОБРАЗОВАНИЕ. на приборной панели KMC. через некоторое время статус будет ГОТОВ, как я могу проверить статус? Я имею ввиду как получить статус ГОТОВ.

1 ответ

Check for it;-)

Goto https://developer.kaltura.com/console/service/media/action/list

And add a filter:

Scroll all the way to the bottom to find status:

Finally...see the "Sample Code" Section, which auto-generates sample code for whatever options you choose in the api console.

In this case, for node.js, it is:

       let filter = new kaltura.objects.MediaEntryFilter();
filter.statusEqual = kaltura.enums.EntryStatus.READY;
let pager = new kaltura.objects.FilterPager();

kaltura.services.media.listAction(filter, pager)
.execute(client)
.then(result => {
    console.log(result);
});
Другие вопросы по тегам