11-06-2015 02:09 AM
Hi All,
I want to integrate an application with VSM 7, my requirements is to start recording based on application specific event then stop recording based on another event, the first part is very easy to achive, I can define soft-trigger with start recording action, then in my application I can trigger the event. but all recording actions (soft-trigger action, and recordNow api) are timer based, I can't find a way to control the end of recording other than defining a timeout in the VSM configuration. So is there a way to end recording on a Camera using a soft-trigger, api call or a hack of some sort?
Thanks,
Yazan
11-09-2015 05:32 AM
I realize this isn't ideal, and would indeed be a hack... but its the best I can think off of the cuff:
What about having your external application keep firing multiple Start Archiving soft-triggers on a relatively short interval (60 seconds for example) with archiving timeouts that are just slightly longer (65 seconds for example).
Once your 'stop condition' is met in the external application, simply cease re-firing the start archive soft-trigger event and let it time out.
Obviously the nasty part of this would be to de-duplicate all the superfluous events accrued over the span of your "actual Start/Stop" timeframe (from the perspective of the external app).
May or may not work for you, but just throwing it out there regardless.
Cheers!
11-09-2015 05:33 AM
... other than this... you may actually be into the realm of writing a custom application using the actual API and SDK.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide