【发布时间】:2014-12-09 06:13:21
【问题描述】:
我们的团队开始使用 quickblox android SDK 构建视频聊天应用程序。我们要求将OpponentView 调整为全屏,同时使OwnSurfaceView 更小并覆盖在顶部。使用此布局和方法,quickblox iOS SDK 按预期工作。
我们注意到,在我们测试的大多数 Android 设备上(与操作系统级别无关;但这发生在 5.0 和 4.4 上),调用将被连接,OwnSurfaceView 不会显示。在此之后不久,视频就会崩溃。
我们在日志中看到以下内容:
invalid address or address of corrupt block 0xb7b00a07 passed to dlfree
Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 10326 (Thread-1113)
PROFILE HAL: stopPreview(): E: 1417779352.559218326
config_MSG_ID_STOP_ACK: streamon_mask is not clear. Should not call PP_Release_HW
android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t*):Received Setting NULL preview window
android::status_t android::QCameraHardwareInterface::setPreviewWindow(preview_stream_ops_t*): mPreviewWindow = 0x0x0, mStreamDisplay = 0x0xb82edc10
Setting NULL preview window
Destroying camera 1
virtual android::QCameraHardwareInterface::~QCameraHardwareInterface() First stop the polling threads before deleting instances
config_shutdown_pp Camera not in streaming mode. Returning.
vfe_ops_deinit: E
E/qcom_sensors_hal﹕ hal_process_report_ind: Bad item quality: 11
I/OpenGLRenderer﹕ Initialized EGL, version 1.4
D/audio_hw_primary﹕ disable_audio_route: reset and update mixer path: audio-record
D/audio_hw_primary﹕ disable_snd_device: snd_device(16: handset-mic)
D/NuPlayerDriver﹕ reset(0xb82e4480)
D/NuPlayerDriver﹕ notifyResetComplete(0xb82e4480)
D/NuPlayerDriver﹕ reset(0xb8355c10)
D/NuPlayerDriver﹕ notifyResetComplete(0xb8355c10)
Process 10109 exited due to signal (11)
qcom_sensors_hal﹕ hal_process_report_ind: Bad item quality: 11
【问题讨论】: