ChillingVan

Results 56 comments of ChillingVan

I use PotPlayer and press F many times to analyse frame by frame. But only feels a little bit difference. You may use this: ``` extends GLMultiTexProducerView @Override protected int...

因为这个只是录画面的例子,音频的话参考TestAudioEncoder

The not continuous could be caused by echo. Could you provide some advise?

> 我这里也遇到了这个问题 ![image](https://user-images.githubusercontent.com/7963191/258638859-32ca3b9a-dae2-4ec1-a930-3ead56256860.png) 第一行是用cropfilter(0f,0f,0.5f,1f)的效果,第二行是用Bitmap.createBitmap裁剪一半的效果 @PopMain 你好,请问可以贴一下源代码或者demo吗?

AndroidCanvasHelper只能用软件绘制的,原理是用android自己的Canvas生成一个Bitmap再绘制到TextureView里。就性能上可能没有特别好的优化方式。 可能可以试试用SurfaceView开启硬件加速试试。 又或者单独只用一个View覆盖在上层只做显示处理,绘制完后再单独获取Bitmap来做数据处理或传输

不可以的,这里只是参考了Canvas的API,并不是Android原有的Canvas

> > 不可以的,这里只是参考了Canvas的API,并不是Android原有的Canvas > > 多谢回复,请问未来有打算支持的计划吗? 噢,这个估计做了没太大用,因为Android的Canvas不是接口。而且就算我自己实现了自己的一个Drawable,也和原本的Drawable完全不一样,本质上还是只画bitmap

And here is the code snippet: ``` override fun onViewCreated(view: View, savedInstanceState: Bundle?) { super.onViewCreated(view, savedInstanceState) mViewPager2.adapter = object : FragmentStateAdapter(this) { override fun createFragment(position: Int): Fragment { return when...

> > > Any update on this?, i'm having exactly the same problem. is there a workaround or how can we save the state correctly ? Hey, I found a...