Giter VIP home page Giter VIP logo

lmnplayer's People

Contributors

thiagooo0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

lmnplayer's Issues

加载视频前为什么要判断有没有surfaceView

*/
private void createSurfaceView() {
//生成一个新的surface view
surfaceView = new SurfaceView(mContext);
surfaceView.getHolder().addCallback(new LmnSurfaceCallback());
LayoutParams layoutParams = new LayoutParams(LayoutParams.MATCH_PARENT
, LayoutParams.MATCH_PARENT, Gravity.CENTER);
surfaceView.setLayoutParams(layoutParams);
this.addView(surfaceView);
}
这个方法直接放在构造方法内调用就行了,每次都只是创建一次啊,

不会回调onCompletion方法

你好,我运行了一下项目,发现ijkplayerdemo这个module不会回调onCompletion。不知道是什么原因,但是log中有看到ijk给出的log是有complete的。log如下:

07-12 11:15:40.682 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 12626 us
07-12 11:15:40.762 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 12181 us
07-12 11:15:40.843 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 12959 us
07-12 11:15:40.921 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 11613 us
07-12 11:15:41.003 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 13775 us
07-12 11:15:41.081 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 11071 us
07-12 11:15:41.241 24981-25109/com.ehang.ijkpleyerdemo W/ACodec: mNativeWindow->dequeueBuffer() took 10981 us
07-12 11:15:41.591 24981-25098/com.ehang.ijkpleyerdemo I/IJKMEDIA: ffp_toggle_buffering: completed: OK
07-12 11:15:41.702 24981-25098/com.ehang.ijkpleyerdemo I/IJKMEDIA: ffp_toggle_buffering: eof

不知道为何没有回调OnCompletionListener的onCompletion方法

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.