Some checks failed
build / build (push) Has been cancelled
- fix: stop playback when anchor block entity unloads (BLOCK_ENTITY_UNLOAD) so deleting a video while audio is playing actually silences it. - fix: force-stop SourceDataLine and grabber from outside the worker thread so a blocked line.write() / grab() unblocks immediately on close. - perf: tune FFmpeg streaming options (buffer_size, probesize, analyzeduration, max_delay, fflags=+genpts, reconnect_delay_max) and pre-size audio line buffer to ~0.5s to smooth out mid-stream stutter. - feat: /videopreload <url> broadcasts a S2C PreloadPayload to all clients; each client downloads the URL to <gameDir>/video_player_cache/<sha256> and subsequent playback reads from the local file instead of streaming. Gated by COMMANDS_GAMEMASTER (op level 2), so command blocks can invoke it.
17 lines
456 B
Properties
17 lines
456 B
Properties
org.gradle.jvmargs=-Xmx2G
|
|
org.gradle.parallel=true
|
|
# Config cache disabled — new loom + IntelliJ aren't fully compatible yet
|
|
org.gradle.configuration-cache=false
|
|
|
|
# Mod
|
|
mod_id=video_player
|
|
mod_version=0.4.4
|
|
maven_group=com.ejclaw.videoplayer
|
|
archives_base_name=video_player
|
|
|
|
# Minecraft / Fabric (26.1.2 — single target, intermediary/Yarn retired)
|
|
minecraft_version=26.1.2
|
|
loader_version=0.19.2
|
|
loom_version=1.16-SNAPSHOT
|
|
fabric_version=0.149.0+26.1.2
|