Sync Media Player Init Options
data class SyncMediaPlayerInitOptions(val addDefaultMediaObjectRenderers: Boolean = true, val preloadAheadMs: Int = 20000, val preloadBehindMs: Int = 5000)
Used when creating a new SyncMediaPlayer using ReadingSystemEngine.createSyncMediaPlayer()
. These options cannot be changed after the SyncMediaPlayer has been created.
Properties
Link copied to clipboard
If the SyncMediaPlayer should add the default MediaObjectRenderers from the SyncMediaTimeline. You can manually add MediaObjectRenderer instances using SyncMediaPlayer.addMediaObjectRenderer().
Link copied to clipboard
The minimum amount of milliseconds the MediaObjectRenderers used with this media player will preload ahead of its current position.
Link copied to clipboard
The minimum amount of milliseconds the MediaObjectRenderers used with this media player will preload behind of its current position.