Forces Media Server to synchronize its vehicle model training with the latest data in the database.

When you train Media Server, the database is updated with new training data. However, Media Server does not use this training in analysis operations until it has synchronized with the database.


Depending on the value of the parameter ScheduledSync, Media Server might automatically synchronize with the database. You can also configure whether Media Server synchronizes with the database before beginning an analysis operation, by setting the configuration parameter SyncDatabase.

You might use this action if you have set SyncDatabase=false and want to run analysis immediately after training. Media Server continues running process actions while synchronization takes place, so to ensure a vehicle model recognition task uses the latest training, run SyncVehicleModels and wait for the synchronization to complete before starting the task with the Process action.

You can also use this action to synchronize with the latest training while Media Server is processing a continuous video stream.

Type: synchronous

Parameter Description Required
database The name of the vehicle model database that you want Media Server to synchronize with. If you do not set this parameter, Media Server synchronizes with all vehicle model databases. No