cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
497
Views
0
Helpful
2
Replies

VSM stop recording on event or using API call

yazan.jaber
Level 1
Level 1

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

2 Replies 2

Scott Olsen
Level 6
Level 6

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!

Scott Olsen Solutions Specialist Bulletproof Solutions Inc. Web: www.bulletproofsi.com

... other than this... you may actually be into the realm of writing a custom application using the actual API and SDK.  

Scott Olsen Solutions Specialist Bulletproof Solutions Inc. Web: www.bulletproofsi.com