# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
这个Demo是从别人项目中获取的,只是那个大神的分太贵,我这个下载好后再上传一下,给分不多的朋友~测试是绝对可用的。 可以实时预览,点击视频可以放大并横屏。 支持云台操控,可以8方向移动、自转、缩放、调焦。 云台操控需要设备支持,不支持的设备点了也没用。 播放库版本7.0.2.2 网络库版本4.2 存在问题: 1 在网络条件不好的情况下在全屏和竖屏两个Activity之间切换可能会出错退出,原因是官方播放库中的线程没有做线程分离,在log中可以看到错误信息,这个问题在应用层没法改。如果只是在一个页面播放而不跳新页面则没问题。 2 Demo中连接的设备是海康官方APK中反编译查到的,经常连不上,具体信息看log。而且这是固定摄像头,不支持云台操控,有条件的最好是用自己项目中的设备进行连接测试。 3 没有做错误处理,错误信息请看log,根据实际需要发广播到页面去处理。 4 targetSdkVersion为10,不能用10以上版本,因为JNI调用发生了改变,海康的SDK又没做处理,会导致错误强退。
资源推荐
资源详情
资源评论
收起资源包目录
Android调用海康威视SDK实现网络实时播放 (102个子文件)
HC_DVRManager.class 38KB
MonitorActivity.class 7KB
MonitorFullScreenActivity.class 6KB
MonitorFullScreenActivity$3.class 2KB
MonitorFullScreenActivity$2.class 2KB
MonitorActivity$5.class 2KB
R$drawable.class 2KB
HC_DVRManager$2.class 2KB
MonitorActivity$6.class 2KB
MonitorFullScreenActivity$StartRenderingReceiver.class 2KB
MonitorActivity$StartRenderingReceiver.class 2KB
DeviceBean.class 2KB
MonitorFullScreenActivity$4.class 1KB
MonitorFullScreenActivity$3$1.class 1KB
MonitorActivity$2.class 1KB
MonitorActivity$7.class 1KB
MonitorActivity$8.class 1KB
MonitorActivity$7$1.class 1KB
MonitorFullScreenActivity$4$1.class 1KB
MonitorActivity$1.class 979B
R$id.class 952B
HC_DVRManager$1.class 893B
MonitorFullScreenActivity$1.class 816B
MonitorActivity$8$1.class 767B
MonitorActivity$3.class 760B
MonitorActivity$4.class 756B
R$layout.class 534B
R.class 517B
R$string.class 474B
BuildConfig.class 341B
R$attr.class 334B
.classpath 475B
HCNetSDK.jar 46KB
PlayerSDK.jar 15KB
HC_DVRManager.java 55KB
MonitorActivity.java 14KB
MonitorFullScreenActivity.java 12KB
R.java 4KB
DeviceBean.java 1KB
BuildConfig.java 158B
bg_general.jpg 123KB
ic_launcher-web.png 47KB
ic_launcher.png 12KB
btn_focusnear_pressed.png 8KB
btn_zoomin_pressed.png 8KB
btn_focusfar_pressed.png 7KB
btn_zoomout_pressed.png 7KB
ic_launcher.png 7KB
btn_auto_pressed.png 6KB
ic_launcher.png 5KB
btn_left_pressed.png 5KB
btn_right_pressed.png 5KB
btn_down_pressed.png 5KB
btn_downright_pressed.png 5KB
btn_up_pressed.png 5KB
btn_downleft_pressed.png 5KB
btn_upleft_pressed.png 4KB
btn_upright_pressed.png 4KB
btn_zoomin_normal.png 3KB
btn_focusnear_normal.png 3KB
btn_focusfar_normal.png 3KB
ic_launcher.png 3KB
btn_zoomout_normal.png 3KB
btn_auto_normal.png 3KB
btn_down_normal.png 2KB
btn_right_normal.png 2KB
btn_left_normal.png 2KB
btn_up_normal.png 2KB
btn_downleft_normal.png 2KB
btn_downright_normal.png 2KB
btn_upleft_normal.png 2KB
btn_upright_normal.png 2KB
org.eclipse.core.resources.prefs 57B
.project 856B
project.properties 563B
libPlayCtrl.so 1.67MB
libPlayCtrl_noneon.so 1.67MB
libhcnetsdk.so 1.6MB
libMPCtrl.so 963KB
libSystemTransform.so 272KB
libCpuFeatures.so 13KB
proguard-project.txt 781B
include_ctrl.xml 5KB
include_ctrl_fullscreen.xml 4KB
activity_monitor.xml 1KB
AndroidManifest.xml 1KB
AndroidManifest.xml 1KB
activity_monitor_fullscreen.xml 990B
btn_focusnear.xml 321B
btn_downright.xml 321B
btn_downleft.xml 319B
btn_focusfar.xml 319B
btn_zoomout.xml 317B
btn_upright.xml 317B
btn_zoomin.xml 315B
btn_upleft.xml 315B
btn_right.xml 313B
btn_left.xml 311B
btn_down.xml 311B
btn_auto.xml 311B
共 102 条
- 1
- 2
BeCreativeExplorer
- 粉丝: 16
- 资源: 17
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
前往页