Code Monkey home page Code Monkey logo

afplayer's Introduction

AFPlayer 安防播放器

基于ijkplayer的播放器

参考与引用:

基本功能

功能 支持 说明
rtsp播放,h264流播放 部分功能修改
录像、截图 添加功能
实时kbs统计 添加功能

ijkplayer播放实时流

ijkplayer使用起来比较的简单,比如播放rtsp视频的时候只需要定义好最初的网络地址调用mVideoView.setVideoURI(uri)就可以进行播放了。网络、视频处理都做了很好的封装,但是这也给我们自定义功能带来了些许的麻烦,有时候我们并不需要播放器的网络部分功能,我们只需要解码的那部分功能。

实现方式:通过IAndroidIO实现

问题记录

截屏失败的问题

两种情况截屏会出现闪退:

1、分辨率不匹配的时候

2、使用硬解码的时候

afplayer's People

Contributors

chezi008 avatar

Watchers

 avatar

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.