mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
Owner: machong
打印 prevThread nextThread

mpu二次开发问题

[copyURL]

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
51#
 Owner| poston 2018-6-26 11:52 | authorOnly
xuwei post on2018-6-25 10:44
调用MPUService中的controlRender方法,参数BVPU_VideoControl_Render中的iRotate可以填写0,90,270值来, ...

surfaceview显示眼镜获取的图像  这部分代码在哪里?
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
52#
poston 2018-6-26 13:44 | authorOnly
machong post on2018-6-26 11:52
surfaceview显示眼镜获取的图像  这部分代码在哪里?

调用MPUService中的render实现的
reply agree Against

使用道具 report

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
53#
 Owner| poston 2018-7-2 09:15 | authorOnly
xuwei post on2018-6-26 13:44
调用MPUService中的render实现的

如何获取眼镜的对比度?
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
54#
poston 2018-7-2 10:25 | authorOnly
machong post on2018-7-2 09:15
如何获取眼镜的对比度?

目前不支持获取UVC的对比度
reply agree Against

使用道具 report

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
55#
 Owner| poston 2018-7-2 12:51 | authorOnly
xuwei post on2018-7-2 10:25
目前不支持获取UVC的对比度
在Android 8.1系统上启动mpu会报Bad notification for startForeground: java.lang.RuntimeException: invalid channel for service notification: Notification  
/**
* 启动前台服务
*/
private void startForegroundService() {
    Notification.Builder builder = new Notification.Builder(this);
    PendingIntent contentIntent = PendingIntent.getActivity(this, 0,
            new Intent(this, VideoPreviewActivity.class), 0);
    builder.setContentIntent(contentIntent);
    builder.setSmallIcon(com.tushikeji.facecar.R.drawable.icon);
    builder.setTicker("Foreground Service Start");
    builder.setContentTitle("Foreground Service");
    builder.setContentText("Make this service run in the foreground.");
    Notification notification = builder.getNotification();

    startForeground(1234, notification);
}
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
56#
poston 2018-7-2 13:56 | authorOnly
machong post on2018-7-2 12:51
在Android 8.1系统上启动mpu会报Bad notification for startForeground: java.lang.RuntimeException: inva ...

不调用就可以了
reply agree Against

使用道具 report

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
57#
 Owner| poston 2018-7-2 13:59 | authorOnly
xuwei post on2018-7-2 13:56
不调用就可以了

Android8.1上运行app无法连接眼镜
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
58#
poston 2018-7-2 14:10 | authorOnly
machong post on2018-7-2 13:59
Android8.1上运行app无法连接眼镜

目前我们这边测试机最新Android版本为8.0,MPU测试使用UVC没有问题,如果需要适配8.1,麻烦寄台测试机过来
reply agree Against

使用道具 report

3

主题

78

帖子

219

积分

midMem

Rank: 3Rank: 3

积分
219
59#
 Owner| poston 2018-7-3 12:10 | authorOnly
xuwei post on2018-7-2 14:10
目前我们这边测试机最新Android版本为8.0,MPU测试使用UVC没有问题,如果需要适配8.1,麻烦寄台测试机过 ...

如何修改MPUService中onPreviewFrame2回调的分辨率?
reply agree Against

使用道具 report

2

主题

414

帖子

1188

积分

vipMem

Rank: 6Rank: 6

积分
1188
60#
poston 2018-7-3 12:23 | authorOnly
machong post on2018-7-3 12:10
如何修改MPUService中onPreviewFrame2回调的分辨率?

mpu.getCameraParam()中修改分辨率,然后调MPUCameraUtil中的closeCamera后再调用openExtcamCamera
reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-4 11:10 , Processed in 0.084965 second(s), 18 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList