Need getMediaTimeForFrame() clarification
What is the purpose and use of this call:
public Time getMediaTimeForFrame(String name, Time mt, int direction) in DVRAPIImpl.java which implements DVRAPIManager?
The 'Time mt' param is a media time or a system time?
How is the the 'int direction' parameter used?
This is how I am interpreting it:
Given a DVR recording name, fetch the frame time (in mediaTime) at the specified time 'mt' which is a random media Time into the DVR recording (assuming it's not a system time), and if this is the case, the time itself allows us to seek to a particular location in the recording, than what's the use for direction?