Recently @viettel-solutions have been so kind to add a lot of recording functionality (via this PR) to this repository.
But I have a few questions about this:
I would like to tell my camera to start a recording of N seconds (with resolution X, ...). But to be honest it is not clear to me how to implement it. Would appreciate if an example code snippet with comments could be shared, to clarify which steps need to be done (with the scheduleToken, recordingToken, ...).
I see in the Onvif Recording Control specification that there is both a createRecording and a createRecordingJob function. Only the second function has been implemented in the pull request. Is this because the first function is optional in the specification, and everything can also be done with the second function?
It is a very cool addition to this library! Looking forward to see it in action. Although the getRecordings most probably won't work for me, since I don't have an SD card in my camera. Instead I have setup an FTP destination in my cam, which means all the recordings are stored on my FTP server. And if I am not mistaken, the getRecordings only works with recordings (and their corresponding recordingTokens) stored locally in the cam...
Hi everybody,
Recently @viettel-solutions have been so kind to add a lot of recording functionality (via this PR) to this repository. But I have a few questions about this:
I would like to tell my camera to start a recording of N seconds (with resolution X, ...). But to be honest it is not clear to me how to implement it. Would appreciate if an example code snippet with comments could be shared, to clarify which steps need to be done (with the
scheduleToken
,recordingToken
, ...).I see in the Onvif Recording Control specification that there is both a
createRecording
and acreateRecordingJob
function. Only the second function has been implemented in the pull request. Is this because the first function is optional in the specification, and everything can also be done with the second function?It is a very cool addition to this library! Looking forward to see it in action. Although the
getRecordings
most probably won't work for me, since I don't have an SD card in my camera. Instead I have setup an FTP destination in my cam, which means all the recordings are stored on my FTP server. And if I am not mistaken, thegetRecordings
only works with recordings (and their corresponding recordingTokens) stored locally in the cam...Thanks in advance!!! Bart