mobile CCTV,mobile surveillance,police body worn cameras

 forgetPW
 registerNow
search
view: 4921|reply: 42
打印 prevThread nextThread

视频过程中,出现系统崩溃弹窗

[copyURL]

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
jumpTo
owner
poston 2020-7-30 17:05 | 显示全部楼层 回帖奖励 |倒序浏览 |阅读模式
视频过程中 不断回调OnpasvDialogCmd 和OnPasvDialogEvent接口  回调数次后,出现程序停止运行,但实际上,程序仍在联通,pc端依然可看到移动端的视频画面。
据分析 OnpasvDialogCmd 和OnPasvDialogEvent接口  应该只在切换通道 或者开关视频时会调用  --这点需要咱们这里再核实下。 但目前会不断触发,不知道原因。如果 这些接口不被反复触发,则推测不出现系统崩溃弹窗
reply

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
sofa
 Owner| poston 2020-7-30 17:12 | 显示全部楼层

是demo程序 集成在了我们系统里

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
bench
 Owner| poston 2020-7-31 10:27 | 显示全部楼层
昨天在后续的测试中  出现了 刚刚接收到视频请求 打开视频界面,但秒断开的情况,打印代码 走了:
  1. OnSessionEvent方法的:
  2. if (iEventCode == BVCU_EventCode.BVCU_EVENT_SESSION_CLOSE) {
  3.     boolean isLogout = false;
  4.     if (iResult == BVCU_Result.BVCU_RESULT_S_OK) {
  5.         showToastByHandler("退出成功");
  6.         isLogin = false;
  7.         isLogout = true;
  8.     } else {
  9.         Log.i("ttt","-----------iResult:"+iResult);
  10.         showToastByHandler("退出失败");
  11.         isLogout = false;
  12.         //2020.7.30莫名奇妙出现问题  登陆秒退 顾添加
  13.         isLogin = false;
  14.     }
copycode
里的 else方法 今天测试依然每次都调这个。。无法正常视频
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
ground
 Owner| poston 2020-7-31 10:28 | 显示全部楼层
想问下 什么情况可能导致这个问题出现,暂时我们这块没排查出来问题产生的原因
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
5#
 Owner| poston 2020-7-31 10:46 | 显示全部楼层
wanzongyong post on2020-7-31 10:43
OnSessionEvent是登录状态回调,iEventCode == BVCU_EventCode.BVCU_EVENT_SESSION_CLOSE表示下线,iResu ...

-65517
基本就是一打开视频 就掉 或者 视频10s上下 就掉线 就出现了 -65517  每次都是先出现这个  然后之后 不断的回调我之前反应的关闭接口,又打印出别的值
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
6#
 Owner| poston 2020-8-5 08:59 | 显示全部楼层
wanzongyong post on2020-7-31 10:56
每次下线后还一直回调OnPasvDialogEvent,pParam.pDialogParam.pTarget[0].iIndexMajor == BVCU_SUBDEV_I ...

之前 一直是 先打印了 -65517  然后紧接着会不断的打印65536
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
7#
 Owner| poston 2020-8-5 09:01 | 显示全部楼层
今天我们的内网通道刚好,我测试了下 ,刚刚没有报-65517  它是不断的在回调
OnPasvDialogEvent hDialog :14 iEventCode : 3 pParam : {"iResult":0,"pDialogParam":{"iAVStreamDir":0,"iSize":0,"iTargetCount":1,"pTarget":[{"iIndexMajor":65536,"iIndexMinor":0,"szID":""}],"pUserData":0.0}}
08-05 09:00:27.818 8805-8882/com.longway.xianchang D/ttt: DIALOG_CLOSE命令  channelIndex=65536
    (channelIndex == BVCU_SubDev.BVCU_SUBDEV_INDEXMAJOR_MIN_CHANNEL):false
    (channelIndex == BVCU_SubDev.BVCU_SUBDEV_INDEXMAJOR_MIN_GPS && dir == 0) :true
这个gps的信息,然后会出现 很抱歉,“”已停止运行
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
8#
 Owner| poston 2020-8-5 09:03 | 显示全部楼层
我打印了下报错
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
9#
 Owner| poston 2020-8-5 09:09 | 显示全部楼层
王.studio post on2020-8-5 09:03
我打印了下报错

111111111111

本帖子中包含更多资源

pls login 才可以下载或查看,没有帐号?registerNow

x
reply agree Against

使用道具 report

3

主题

115

帖子

295

积分

midMem

Rank: 3Rank: 3

积分
295
10#
 Owner| poston 2020-8-5 09:23 | 显示全部楼层

直接看 verbose  打印了这些:
  1. give LatencyToken 37654, 775
  2. 08-05 09:17:33.686 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  3. 08-05 09:17:33.691 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 12 w/ time 1596590253686000 eos 0 mode 1 err 0
  4. 08-05 09:17:33.700 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 12
  5. 08-05 09:17:33.702 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37655, 1528
  6. 08-05 09:17:33.703 8805-8824/com.longway.xianchang I/art: Background sticky concurrent mark sweep GC freed 158(7KB) AllocSpace objects, 8(3MB) LOS objects, 8% free, 38MB/42MB, paused 8.666ms total 17.814ms
  7. 08-05 09:17:33.738 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  8. 08-05 09:17:33.746 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 1 w/ time 1596590253740000 eos 0 mode 1 err 0
  9. 08-05 09:17:33.748 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 13
  10. 08-05 09:17:33.752 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37656, 4797
  11. 08-05 09:17:33.774 8805-8898/com.longway.xianchang I/PUDialog: close a dialog! hDialog = 31,channelIdx = 65536
  12. 08-05 09:17:33.776 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  13. 08-05 09:17:33.780 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 2 w/ time 1596590253777000 eos 0 mode 1 err 0
  14. 08-05 09:17:33.782 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 14
copycode
  1. I/CUGlobal: pMsg->iAction = 11
  2.     File:jni-r19c/../jni/CUGlobal.cpp,Func = handleThreadMsg, begin
  3. 08-05 09:17:33.784 8805-8880/com.longway.xianchang I/PUDialog: test1 SAVCodec_Close res = -65535
  4.     file = jni-r19c/../jni/PUDialog.cpp, Error line = 574,result = -65535
  5.     pID = gps dialog close**********************
  6. 08-05 09:17:33.784 8805-8880/com.longway.xianchang I/YateMsgHandler: ------------------>PostToJavaHandler prot.sm.dialog.pasv.event
  7. 08-05 09:17:33.786 8805-8880/com.longway.xianchang I/YateMsgHandler: ------------------>S_ID -> prot.sm.dialog.pasv.event
  8. 08-05 09:17:33.787 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37657, 970
  9. 08-05 09:17:33.787 8805-8880/com.longway.xianchang I/YateMsgHandler: ------------------>S_RESULT -> {
  10.             "iResult":        0,
  11.             "pDialogParam":        {
  12.                     "iAVStreamDir":        0,
  13.                     "iTargetCount":        1,
  14.                     "pUserData":        0,
  15.                     "pTarget":        [{
  16.                                     "szID":        "",
  17.                                     "iIndexMajor":        65536,
  18.                                     "iIndexMinor":        0
  19.                             }]
  20.             }
  21.     }
  22. 08-05 09:17:33.789 8805-8880/com.longway.xianchang I/YateMsgHandler: ------------------>I_METHOD -> 3
  23. 08-05 09:17:33.804 8805-8880/com.longway.xianchang I/YateMsgHandler: ------------------>I_TOKEN -> 31
  24. 08-05 09:17:33.805 8805-8880/com.longway.xianchang I/YateMsgHandler: <------------------PostToJavaHandler
  25. 08-05 09:17:33.805 8805-8880/com.longway.xianchang I/CUGlobal: File:jni-r19c/../jni/CUGlobal.cpp,Func = handleThreadMsg, end
  26. 08-05 09:17:33.806 8805-8882/com.longway.xianchang D/callback: get it prot.sm.dialog.pasv.event
  27. 08-05 09:17:33.827 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  28. 08-05 09:17:33.838 8805-8882/com.longway.xianchang D/ttt: 被动 OnPasvDialogEvent hDialog :31 iEventCode : 3 pParam : {"iResult":0,"pDialogParam":{"iAVStreamDir":0,"iSize":0,"iTargetCount":1,"pTarget":[{"iIndexMajor":65536,"iIndexMinor":0,"szID":""}],"pUserData":0.0}}
  29. 08-05 09:17:33.839 8805-8882/com.longway.xianchang D/ttt: DIALOG_CLOSE命令  channelIndex=65536
  30.     (channelIndex == BVCU_SubDev.BVCU_SUBDEV_INDEXMAJOR_MIN_CHANNEL):false
  31.     (channelIndex == BVCU_SubDev.BVCU_SUBDEV_INDEXMAJOR_MIN_GPS && dir == 0) :true
  32. 08-05 09:17:33.839 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 3 w/ time 1596590253833000 eos 0 mode 1 err 0
  33. 08-05 09:17:33.841 8805-8882/com.longway.xianchang I/callback: prot.sm.dialog.pasv.event
copycode
  1. [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID d
  2. 08-05 09:17:33.845 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37658, 3996
  3. 08-05 09:17:33.884 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  4. 08-05 09:17:33.886 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 4 w/ time 1596590253885000 eos 0 mode 1 err 0
  5. 08-05 09:17:33.888 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID e
  6. 08-05 09:17:33.892 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37659, 1058
  7. 08-05 09:17:33.940 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  8. 08-05 09:17:33.949 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 5 w/ time 1596590253941000 eos 0 mode 1 err 0
  9. 08-05 09:17:33.953 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID f
  10. 08-05 09:17:33.955 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37660, 5555
  11. 08-05 09:17:34.011 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  12. 08-05 09:17:34.018 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 6 w/ time 1596590254015000 eos 0 mode 1 err 0
  13. 08-05 09:17:34.026 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 10
  14. 08-05 09:17:34.026 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37661, 1009
  15. 08-05 09:17:34.071 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  16. 08-05 09:17:34.078 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 7 w/ time 1596590254072000 eos 0 mode 1 err 0
  17. 08-05 09:17:34.079 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 11
  18. 08-05 09:17:34.084 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37662, 1710
  19. 08-05 09:17:34.109 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  20. 08-05 09:17:34.114 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 8 w/ time 1596590254112000 eos 0 mode 1 err 0
  21. 08-05 09:17:34.116 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 12
  22. 08-05 09:17:34.120 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37663, 3664
  23. 08-05 09:17:34.157 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  24. 08-05 09:17:34.161 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 9 w/ time 1596590254158000 eos 0 mode 1 err 0
  25. 08-05 09:17:34.163 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 13
  26. 08-05 09:17:34.167 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37664, 1169
  27. 08-05 09:17:34.206 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  28. 08-05 09:17:34.211 8805-8898/com.longway.xianchang I/CUGlobal: iEventCode = 1,hDialog = 32, channelIndex =65536
  29. 08-05 09:17:34.211 8805-8898/com.longway.xianchang I/YateMsgHandler: ------------------>PostToJavaHandler prot.sm.dialog.pasv.cmd
  30. 08-05 09:17:34.212 8805-8898/com.longway.xianchang I/YateMsgHandler: ------------------>S_ID -> prot.sm.dialog.pasv.cmd
  31.     ------------------>S_RESULT -> {
  32.             "iAVStreamDir":        16,
  33.             "iTargetCount":        1,
  34.             "pUserData":        0,
  35.             "pTarget":        [{
  36.                             "szID":        "UA_23018572",
  37.                             "iIndexMajor":        65536,
  38.                             "iIndexMinor":        0
  39.                     }],
  40.             "szMyselfVideo":        {
  41.                     "codec":        0,
  42.                     "iWidth":        0,
  43.                     "iHeight":        0,
  44.                     "iExtraDataSize":        0
  45.             },
  46.             "szTargetVideo":        {
  47.                     "codec":        0,
  48.                     "iWidth":        0,
  49.                     "iHeight":        0,
  50.                     "iExtraDataSize":        0
  51.             },
  52.             "szTargetAudio":        {
  53.                     "codec":        0,
  54.                     "iBitrate":        0,
  55.                     "iChannelCount":        0,
  56.                     "iSampleRate":        0,
  57.                     "eSampleFormat":        0,
  58.                     "iExtraDataSize":        0
  59.             },
  60.             "szMyselfAudio":        {
  61.                     "codec":        0,
  62.                     "iBitrate":        0,
  63.                     "iChannelCount":        0,
  64.                     "iSampleRate":        0,
  65.                     "eSampleFormat":        0,
  66.                     "iExtraDataSize":        0
  67.             }
  68.     }
  69.     ------------------>I_PERCENT -> -563846011
  70.     ------------------>I_METHOD -> 1
  71.     ------------------>I_TOKEN -> 32
  72.     <------------------PostToJavaHandler
  73. 08-05 09:17:34.213 8805-8882/com.longway.xianchang D/callback: get it prot.sm.dialog.pasv.cmd
copycode
  1. [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 10 w/ time 1596590254207000 eos 0 mode 1 err 0
  2. 08-05 09:17:34.223 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37665, 7209
  3. 08-05 09:17:34.225 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 14
  4. 08-05 09:17:34.232 8805-8882/com.longway.xianchang I/ttt: OnPasvDialogCmd() hDialog :32 iEventCode : 1 pParam : {"iAVStreamDir":16,"iSize":0,"iTargetCount":1,"pTarget":[{"iIndexMajor":65536,"iIndexMinor":0,"szID":"UA_23018572"}],"pUserData":0.0,"szMyselfAudio":{"codec":0,"eSampleFormat":0,"iBitrate":0,"iChannelCount":0,"iExtraDataSize":0,"iSampleRate":0},"szMyselfVideo":{"codec":0,"iExtraDataSize":0,"iHeight":0,"iWidth":0},"szTargetAudio":{"codec":0,"eSampleFormat":0,"iBitrate":0,"iChannelCount":0,"iExtraDataSize":0,"iSampleRate":0},"szTargetVideo":{"codec":0,"iExtraDataSize":0,"iHeight":0,"iWidth":0}}
  5. 08-05 09:17:34.233 8805-8882/com.longway.xianchang D/ttt: OnPasvDialogCmd ------channelIndex=65536,avDir=16
  6. 08-05 09:17:34.239 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->PostMessageToNative prot.sm.dialog.cmd
  7. 08-05 09:17:34.239 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->S_ID -> prot.sm.dialog.cmd
  8.     ----------------->I_RESULT -> -563846011
  9. 08-05 09:17:34.239 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->S_RESULT -> {"iAVStreamDir":16,"iSize":0,"iTargetCount":1,"pTarget":[{"iIndexMajor":65536,"iIndexMinor":0,"szID":"UA_23018572"}],"pUserData":0.0,"szMyselfAudio":{"codec":0,"eSampleFormat":0,"iBitrate":0,"iChannelCount":0,"iExtraDataSize":0,"iSampleRate":0},"szMyselfVideo":{"codec":0,"iExtraDataSize":0,"iHeight":0,"iWidth":0},"szTargetAudio":{"codec":0,"eSampleFormat":0,"iBitrate":0,"iChannelCount":0,"iExtraDataSize":0,"iSampleRate":0},"szTargetVideo":{"codec":0,"iExtraDataSize":0,"iHeight":0,"iWidth":0}}
  10. 08-05 09:17:34.239 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->I_PERCENT -> 0
  11. 08-05 09:17:34.240 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->I_METHOD -> 1
  12. 08-05 09:17:34.240 8805-8882/com.longway.xianchang I/CoreSDK: ----------------->I_TOKEN -> 32
  13. 08-05 09:17:34.240 8805-8882/com.longway.xianchang I/CoreSDK: <-----------------PostMessageToNative
  14. 08-05 09:17:34.240 8805-8882/com.longway.xianchang I/YateMsgHandler: hDialog =  32, dir = 16
  15.     0 0 0 0 0
  16.     line = 567
  17. 08-05 09:17:34.240 8805-8882/com.longway.xianchang I/CoreSDK: 2020-08-05_09:17:34.240778 <FAIL> RefObject [0xdcbf3274] destroyed with count=2
  18. 08-05 09:17:34.241 8805-8882/com.longway.xianchang I/callback: prot.sm.dialog.cmd res: 0
  19. 08-05 09:17:34.244 8805-11201/com.longway.xianchang I/PUDialog: new a dialog,hDialog = 32,channelIdx = 65536
  20.     processInviteGPS+++++++++++++++++++++++
  21. 08-05 09:17:34.249 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
  22. 08-05 09:17:34.253 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onInputBufferFilled ID 11 w/ time 1596590254250000 eos 0 mode 1 err 0
  23. 08-05 09:17:34.256 8805-9075/com.longway.xianchang D/ACodec: [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID d
  24. 08-05 09:17:34.260 8805-9075/com.longway.xianchang D/ACodec: give LatencyToken 37666, 1276
  25. 08-05 09:17:34.297 8805-8805/com.longway.xianchang I/CameraFramework: handleMessage: 16
copycode

reply agree Against

使用道具 report

creditRule

QQ|wireless surveillance

GMT+8, 2024-5-17 16:14 , Processed in 0.069339 second(s), 20 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

QuickReply backToTop BackToList