I have checked the documentation and i didn’t find any solution to my issue yet.
I have a video DDBB in a mobile Server and I’m trying to get the specified playback video frames of a required period of time (begin and end date) from this video using Mobile Server Protocol. The problem is that the given dates of the video are being ignored in the ‘requestStream’ request.
I ask how I have to configure the ‘requestStream’ request to receive frames from a given date and time. At the moment i’m using this request:
var begindatetime = new Date(‘28 Nov 2017 14:58:10 GMT’);// new Date(‘2017-11-28T14:58:10’);
var enddatetime = new Date('28 Nov 2017 14:58:20 GMT');//new Date('2017-11-28T14:58:20');
var requestStreamXMLMessage = generateXMLMessage({
sequenceId: 1,
connectionId: player.connectionId,
command: 'RequestStream',
inputParams: {
CameraId: player.cameraId,
DestWidth: targetWidth,
DestHeight: targetHeight,
MethodType: 'Pull',
SignalType: 'Playback',
Fps: 10,
ComprLevel: 70,
TimeRestrictionStart: begindatetime, // StartTime stamp in ms (Unix)
TimeRestrictionEnd: enddatetime, // StartTime stamp in ms (Unix)
KeyFramesOnly: 'No'
}
});
But the video I’m receiving does not correspond to this dates. I have tried with different configurations of date and time and still the video received does not correspond to the request.
Could you please give me a tip on how to solve it?
Thanks in advanced.