提交 b4fe752b authored 作者: kongdywang's avatar kongdywang

Fix the issue where the texture is lost after actively exiting…

Fix the issue where the texture is lost after actively exiting Picture-in-Picture mode in Android live streaming.
上级 a44fa4fd
......@@ -332,7 +332,8 @@ public class FlutterPipImplActivity extends Activity implements TextureView.Surf
if (TextUtils.equals(action, FTXEvent.PIP_ACTION_START)) {
startPipVideo();
} else if (TextUtils.equals(action, FTXEvent.PIP_ACTION_EXIT)) {
exitPip(true);
mIsNeedToStop = true;
handlePipExitEvent();
} else if (TextUtils.equals(action, FTXEvent.PIP_ACTION_UPDATE)) {
Bundle data = intent.getBundleExtra("data");
if (null != data) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论