常见问题
Read time: 1 minute(s)
默认配置下 Video 图层不显示
Luban-Lite SDK UI alpha 默认使用 pixel alpha 模式,检查是否启用了 alpha 配置,并确保 Video 图层的 alpha 模式正确。
-
pixel alpha 为 0xFF
-
framebuffer 缺失 alpha 分量
Framebuffer RGB565/RGB888 格式设置 UI pixel alpha 模式不生效 。
确保 framebuffer 格式支持 alpha 分量,例如,RGB565/RGB888 格式不支持 alpha,需要使用 RGBA8888 或其它支持 alpha 的格式。framebuffer 16/24 bit RGB 格式缺失 pixel alpha,ui_alpha 默认为 255,UI 图层不透明,Video 图层不可见。