We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if (Build.VERSION.SDK_INT >= 18) { outputSurface.drawImage(false); inputSurface.setPresentationTime(info.presentationTimeUs * 1000); //进度监听 if (callback != null) { // 这里的时间是 毫秒 presentationTimeUs 的时间是累加的 以微秒进行一帧一帧的累加 callback.onProgress((float) info.presentationTimeUs / (float) duration * 100); } inputSurface.swapBuffers(); } else { 我在这点加的监听 感觉不是很准
if (Build.VERSION.SDK_INT >= 18) { outputSurface.drawImage(false); inputSurface.setPresentationTime(info.presentationTimeUs * 1000); //进度监听 if (callback != null) { // 这里的时间是 毫秒 presentationTimeUs 的时间是累加的 以微秒进行一帧一帧的累加 callback.onProgress((float) info.presentationTimeUs / (float) duration * 100); } inputSurface.swapBuffers(); } else {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
if (Build.VERSION.SDK_INT >= 18) { outputSurface.drawImage(false); inputSurface.setPresentationTime(info.presentationTimeUs * 1000); //进度监听 if (callback != null) { // 这里的时间是 毫秒 presentationTimeUs 的时间是累加的 以微秒进行一帧一帧的累加 callback.onProgress((float) info.presentationTimeUs / (float) duration * 100); } inputSurface.swapBuffers(); } else {
我在这点加的监听 感觉不是很准
The text was updated successfully, but these errors were encountered: