Changing the Video Export type to MKV

Hi, I am using MIP SDK Mobile version 2018 R2 for Web (Javascript). I am exporting the recording from my recording server by calling the XPMobileSDK.startVideoExport followed by the XPMobileSDK.getExport to get the exported video details. I have configured the library to support footages (XPMobileSDKSettings.supportsFootages). My question is how do I change the exported video type from Avi to MKV?

Hi Clinton :slight_smile:

Currently the “XPMobileSDK.startVideoExport” command supports only “Avi” exports. We will try to include all supported video formats for the exports in the future.

Here is a piece of sample code which will do the job:

var params = {CameraId: “dd46fd7f-d6fa-4549-998c-e1a90281df51”,

                                           StartTime: "1531135970506",

                                           EndTime: "1531135989346",

                                           Type: 'Mkv'

                               };

var conRequest = XPMobileSDK.library.Connection.sendCommand(‘StartExport’, params , {});

The newly created export ID is in:

conRequest.response.outputParameters.ExportId

That’s great! Thanks Lyubomir Mladenov Valchanov! :slight_smile: