Timecode the first frame of the media should display as (FFOM).
TAMS timestamps are absolute, so the time of day mediaStartTime falls on is what the source was
stamped with. Only the time of day is kept - timecode wraps at 24h - and the date is dropped.
Formatted with the frame rate the media will actually be loaded with, because the player parses
the string back against that same rate and rejects a mismatch. Returns undefined if the rate
cannot produce a timecode, leaving the media on a 0 based one rather than failing the load.
Parameters
mediaStartTime: number
frameRate: string|number
dropFrame: boolean
hasVideo: boolean
OptionalffomTimeZoneOffset: number
whole hours to shift by. The timestamp carries no zone, so this is the
caller's way of turning UTC into the wall clock the material was stamped with.
Timecode the first frame of the media should display as (FFOM).
TAMS timestamps are absolute, so the time of day
mediaStartTimefalls on is what the source was stamped with. Only the time of day is kept - timecode wraps at 24h - and the date is dropped.Formatted with the frame rate the media will actually be loaded with, because the player parses the string back against that same rate and rejects a mismatch. Returns
undefinedif the rate cannot produce a timecode, leaving the media on a 0 based one rather than failing the load.