Hi,
Please advise regarding MIPSDK as described below.
We have two questions, and we have also included the results of our investigation so far for your review.
[Issue]
When configuring video for release, we apply an evidence lock (protection of the original video) before exporting the video data.
If VideoOS.Platform.Data.MKVExporter.StartExport() is called immediately after EvidenceLock.WcfProxy.ServerCommandServiceClient.MarkedDataCreate(), StartExport() results in an error.
[Temporary Workaround]
The issue no longer occurs when a wait period is inserted between MarkedDataCreate() and StartExport().
[Question 1: Specifications / Restrictions]
Is there any restriction that prevents StartExport() from being called immediately after MarkedDataCreate()?
For example, is it necessary to wait until the evidence lock protection process has completed asynchronously?
[Investigation and Remaining Questions]
To determine whether such a restriction exists, we investigated the return value of MarkedDataCreate().
We found that the return value (success/failure) of MarkedDataCreate() indicates whether the execution request itself succeeded or failed, rather than whether the protection process itself has completed.
We also confirmed that the API has a Status output parameter.
We implemented logic to monitor Status after executing MarkedDataCreate() and call StartExport() when Status indicates “success.” We tested this implementation and confirmed that it works correctly.
However, since Status changes to “success” almost immediately after the API is executed, we have not been able to confirm the following points:
Is this Status value updated when the protection process has actually completed?
Or does it return “success” immediately when the request is accepted, meaning that it cannot be used to determine whether the protection process has completed?
[Question 2: Correct Method for Determining When to Call StartExport()]
If there is a restriction that prevents StartExport() from being called immediately after MarkedDataCreate(), what should we monitor to correctly determine when the protection process has completed?
Are there any properties or events other than Status that should be checked?
We would also like to confirm whether Status changes when the protection process has completed.
[Environment]
XProtect version: XProtect Corporate 2025R2
MIP SDK version: MIP-SDK2025R2
OS: Windows 11 LTSC
Language / Framework: C# / .NET Framework 4.8
[Reproducibility]
Occurs every time.
Thanks,
Best Regards,
NVS TechnicalSupport