Skip to main content

ve_live 1.47.5-rc.5 copy "ve_live: ^1.47.5-rc.5" to clipboard
ve_live: ^1.47.5-rc.5 copied to clipboard

ve live flutter sdk

ve_live #

火山引擎直播 SDK Flutter plugin

Getting Started #

  • SDK 简介:https://www.volcengine.com/docs/6469/81141

iOS 画中画:隐藏快进和快退 #

从 ve_live: 1.47.5-rc.5 起,可按播放器实例设置:

if (Platform.isIOS) {
  await player.setPictureInPictureRequiresLinearPlayback(true);
}

在进入画中画前设置;播放期间也可切换,false 恢复原有控件策略。此方法仅支持 iOS,其他平台会返回 UnsupportedError。

完整的初始化、起播、首帧等待、进入小窗及清理示例见 PiP 示例。源码 Demo 的 Single Instance 页面提供实时切换开关。