Skip to main content

seek_to_time

Function seek_to_time 

Source
pub fn seek_to_time(flo_data: &[u8], time_ms: u32) -> Result<JsValue, JsValue>
Expand description

Seek to a specific time in milliseconds

§Arguments

  • flo_data - Complete flo file bytes
  • time_ms - Target time in milliseconds

§Returns

Seek result object containing frame index, byte offset, timestamp, sample offset, and next timestamp.