Files
Velix-MPV-Core/DOCS/PLAYBACK_ENGINE.md

713 B

PlaybackEngine

PlaybackEngine 是主 App 的唯一播放抽象,MpvPlaybackEngine 是 Core binding 的适配器,PlaybackController 负责页面状态刷新与生命周期编排。

业务层只使用:

  • PlaybackSource { kind, url, headers }
  • PlaybackState { state, position, duration, media, tracks, metrics }
  • play/pause/stop/release、seek、音量/倍速、音轨/字幕操作

provider 接口暂不绑定 Emby、Jellyfin、百度网盘等服务。HTTP(S) 源支持有限 headers;复杂 header 编辑器、登录与播放列表不在 v0 范围。

默认解码策略为软件解码;requestedDecoder=software 是主 App 的固定默认值,OHCodec GL mapper 不在本阶段启用。