屏幕共享 screencapturesource的没有消费者回调

11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app D/ScreenSharingService: onFrameAvailable ImgTexFrame{mFormat=ImgTexFormat{mColorFormat=3, mWidth=1080, mHeight=1920}, mTextureId=1, mTexMatrix=[1.0, 0.0, 0.0, 0.0, 0.0, -1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 0.0, 1.0]} 83310011
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: java.lang.NullPointerException: Attempt to invoke interface method ‘void io.agora.rtc.mediaio.IVideoFrameConsumer.consumeTextureFrame(int, int, int, int, int, long, float[])’ on a null object reference
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.impl.ScreenSharingService$2.onFrameAvailable(ScreenSharingService.java:92)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.impl.ScreenSharingService$2.onFrameAvailable(ScreenSharingService.java:78)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.gles.SrcConnector.onFrameAvailable(SrcConnector.java:40)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.impl.ScreenCapture$2.onDrawFrame(ScreenCapture.java:315)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.gles.GLRender.drawFrame(GLRender.java:301)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.gles.GLRender.access$300(GLRender.java:23)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at io.agora.rtc.ss.gles.GLRender$5.handleMessage(GLRender.java:384)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at android.os.Handler.dispatchMessage(Handler.java:107)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at android.os.Looper.loop(Looper.java:207)
11-12 18:46:37.916 23140-23416/io.agora.rtc.ss.app W/System.err: at android.os.HandlerThread.run(HandlerThread.java:61)

使用的是什么设备呢
isplay = projection.createVirtualDisplay(name, width, height, dpi, flags, surface, callback, handler);
可能是设备获取的宽高不对