coolxtc
coolxtc
视频播放进度条跳动问题
视频播放切换到全屏,暂停后退出全屏,点击开始按钮后进度条和当前的播放时间都会有跳动 比如第六秒暂停,点击开始后进度条和显示的时间会跳到九秒,然后再跳回去。但是视频播放没有问题,不会跳帧。不同机型上的表现情况不同,有的跳的快有的跳的慢。魅族mx4上跳的比较慢,现象较明显
找了一圈,好像没看到具体的方法,能提供下简单思路吗? 谢谢
java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.ImageView.setImageResource(int)' on a null object reference at com.shuyu.gsyvideoplayer.utils.OrientationUtils$1.onOrientationChanged(OrientationUtils.java) at android.view.OrientationEventListener$SensorEventListenerImpl.onSensorChanged(OrientationEventListener.java:143) at android.hardware.SystemSensorManager$SensorEventQueue.dispatchSensorEvent(SystemSensorManager.java:496) at android.os.MessageQueue.nativePollOnce(MessageQueue.java) at android.os.MessageQueue.next(MessageQueue.java:330) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5546) at java.lang.reflect.Method.invoke(Method.java) at...
关于代理抓包问题
我是这样设置代理的: dio = new Dio(options); dio.onHttpClientCreate = (HttpClient client) { client.findProxy = (uri) { return "proxy localhost:8888"; }; }; 但是pc端的charles还是抓不到包,报的异常是HttpException: Invalid proxy configuration proxy localhost:8888。 改成pc的ip(proxy 10.7.10.28:8888)后则可以抓包。 请问下如果不改成目标pc的ip,我该怎么做才能抓到包呢?
It seems that in the commit (https://github.com/juliansteenbakker/mobile_scanner/pull/1645/changes/64809055f5a4bcd858a6445669d69fd8169b0c16), the timing of assigning the isPause field is incorrect. It should be assigned after ``` if (camera?.cameraInfo != null && preview != null...