Hi.
how can I schedule sending snapshots via ftp on XProtect Professional with SDK?
Hi.
how can I schedule sending snapshots via ftp on XProtect Professional with SDK?
I suggest you develop a client application or a service that will retrieve a JPEG image from the server, and then send it. Use JPEGVideoSource, perhaps you can find inspiration in the MediaPlaybackViewer sample
I can’t find JPEGVideoSource
What integration options should i use ?
how can i test it ?
Thanks
In the MIP Documentation you can look it up. (VideoOS.Platform.Data.JPEGVideoSource Class Reference) By default, the MIP SDK installs in the following location: [C:\Program](file:C:/Program) Files (x86)\Milestone\MIPSDK\Html\index.hta (or index.html)
You can also look up the MediaPlaybackViewer sample in the documentation or find it where the MIP SDK is installed.
I realize I have assumed you have the MIP SDK, if you have not, first step is to download and install the MIP SDK.
Thanks for reply
In index.html i didn’t find JPEGVideoSource , but i found MediaLiveService C++ in Component Integration —> Samples
it seems to do what i need , store a JPEG frame
but clicking MediaLiveServiceJPEG.vcxproj i get an alert
“Could not start Visual Studio 2010”
now, since I’ve VS2013 i tried to open
[C:\Program](file:C:/Program) Files (x86)\Milestone\MIPSDK\ComponentSamples\MediaLiveServiceJPEG_cpp\MediaLiveServiceJPEG.vcxproj
but my VS version can’t open it so i’ll install VS2010 to retry
once that i edited it , i compile it then i get an .exe which could be scheduled by windows right ?
where i have to put it since it has many includes?
Thanks
“VideoOS.Platform.Data.JPEGVideoSource Class Reference” should be in the MIP Documentation. Did you use the search in the top of the MIP Documentation start page? I feel it is very important that you have the documentation. More so as it also gives you the answer about dependent files.. See “.NET Library Initialization”. Even if not using .NET this is the page that holds the information about the Milestone dlls.
Ok. In the .hta the search works . but in “VideoOS.Platform.Data.JPEGVideoSource Class Reference” there’s only a list of functions. To store e.g. the last frame from a Milestone db in a JPEG image i could use "VideoOS.Platform.Data.JPEGVideoSource.GetEnd ( ) " Right?
but how can i use it in a C++ application ? I must use VS2010 ?
i think i have to authenticate to Milestone’s server in someway.
Thanks
Not using .NET but using c++ I have been leading you in the wrong direction. Using c++ and starting with the MediaLiveServiceJPEG_cpp sample you have the login in place.
Look in the MultiMedia Toolkit (Reference Manual) or perhaps given the last question from you search for the MoveLast() command.
I finally compiled successfully MediaLiveServiceJPEG C++ but i have some problem with authentication credentials.
I taken GUID in “[C:\ProgramData\Milestone\Milestone](file:C:/ProgramData/Milestone/Milestone) Surveillance\configuration.xml”
but i’m not sure of these 2 :
short vmsServerPort = 80; // The port you logon to
utf8_string_t vmsRecorderUri = “http://localhost:7563”; // The recorder where the camera is
Moreover i have to change these to XProtect Professional ?
// try login as if it is a Enterprise product
client->SetServerProduct(XProtectEnterpriseFamily);
// Then try as a Corporate product
client->SetServerProduct(XProtectCorporateFamily);
Thanks