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