Code Monkey home page Code Monkey logo

hikvisionforandroid's Introduction

这个是使用 海康威视 Android 平台 SDK 访问网络摄像头的简单例子

使用时请根据自己的网路摄像头 IP地址、用户名、密码替换代码中的参数

更新历史

  • 项目针对在 Android Studio 3.2 上面做了改动
  • 项目针对在 Android 7.0 系统上做了适配,在 jniLibs/armeabi-v7a/下增加了 Android 系统下的动态库文件:libcrypto.so,libnativeloader.so,libssl.so
  • 之前是预览一路,现在由于项目要求,要预览 2 路。所以我借了一个摄像头,实现了 2 路。 HikUtil.java 改用创建对象实例,再调用。但是 SDK 初始化,还是直接类调用。

效果图

2路海康

hikvisionforandroid's People

Contributors

kamaihamaiha 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

hikvisionforandroid's Issues

Access Using SurfaceTexture

I need to get frames capture inside a Service(No matter app is foreground or background). The Player SDK play method requires a parameter surfaceHolder.
My surfaceView is active only when the app is in foreground.
To capture image I use captureFrame method that require Player and player require surfaceHolder.

I start using SurfaceTexture but it require holder.
Am I in the correct direction or play method should use parameter surface instead of surfaceHolder

not working

it working perfectly for targetSdkVersion < 23 ;
but not working for targetSdkVersion above 23 ,
any solution ?

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.