AlphaPlayer icon indicating copy to clipboard operation
AlphaPlayer copied to clipboard

最新版本Exoplayer报线程异常

Open lic2050 opened this issue 2 years ago • 0 comments

升级了exoplayer版本,新版本Exoplayer setVideoSurface、setMediaSource、playWhenReady、stop、release等方法都需要在在主线程调用,当前PlayerController都是sendMessage将消息转到HandlerThread("alpha-play-thread", Process.THREAD_PRIORITY_BACKGROUND) 后台线程处理的,会崩溃

lic2050 avatar Jul 06 '22 07:07 lic2050