feat: time offset playback
This commit is contained in:
@@ -29,6 +29,7 @@ const MEDIA_RETRY_DELAY_MS = 700
|
||||
const MEDIA_MAX_RETRIES = 2
|
||||
const CAMERA_STARTUP_DELAY_MS = 250
|
||||
const MAX_SYNC_OFFSET_MS = 2000
|
||||
const KARAOKE_LEAD_S = 0.18
|
||||
|
||||
const toSeconds = (v) => {
|
||||
const n = Number(v ?? 0)
|
||||
@@ -1008,6 +1009,7 @@ const RecordPlayback = ({ route }) => {
|
||||
<KaraokeLyrics
|
||||
alignedWords={alignedWords}
|
||||
currentTimeS={pos}
|
||||
timeOffsetS={KARAOKE_LEAD_S}
|
||||
mode="teleprompter"
|
||||
teleprompterLines={6}
|
||||
teleprompterAnchorLine={1}
|
||||
|
||||
Reference in New Issue
Block a user