Based on experiments I assumed that footage was recorded, but only the datasource does not reflect that there is recording. If this is a bad assumption please correct me.
Please clarify -
The camera is recorded but the data in datasource does not show it?
The camera is not recorded?
If you experience the same as I; that video is recorded and the datasource fails to tell, I have found a workaround.
I assume you have a call like this -
override List VideoOS.Platform.Data.SequenceDataSource.GetData (DateTime dateTime, TimeSpan maxTimeBefore, int maxCountBefore, TimeSpan maxTimeAfter, int maxCountAfter )
(or the equivalent GetDataAsync)
This uses the default type of sequences.
For e-code you can use something different. Use instead
override List VideoOS.Platform.Data.SequenceDataSource.GetData (DateTime dateTime, TimeSpan maxTimeBefore, int maxCountBefore, TimeSpan maxTimeAfter, int maxCountAfter, Guid sequenceTypeGuid )
and put in VideoOS.Platform.Data.DataType.SequenceTypeGuids.TimelineRecording
as the SequenceTypeGUID
I did a test and made standalone application with
SequenceDataSource dataSource2 = new SequenceDataSource(_item);
List<object> list2 = dataSource2.GetData(DateTime.Now, new TimeSpan(24, 0, 0), 5, new TimeSpan(24, 0, 0), 5, VideoOS.Platform.Data.DataType.SequenceTypeGuids.TimelineRecording);
Because of e-code server inability to do a sequence data source this sequence type has been made. You will notice that all sequences are of duration one minute from this type of source, in essence the source is made from asking whether there is any recorded data within the minute.
References
http://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_sequence_data_source.html&tree=tree_search.html?search=sequencedatasource
http://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_data_1_1_data_type_1_1_sequence_type_guids.html&tree=tree_search.html?search=sequencedatasource