The purpose of RecordingStream::setEndTime is to set a start time for an event stream. The timestamp has to be set before the stream is started. It is not possible to know in advance when events should arrive due to scheduling, load on machine etc., so it is hard to know what result to expect.