Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【Unity】-【8.7.0.20203】【Android平台 sendCustomVideoData 闪退】 #441

Open
jiaming233 opened this issue Jun 30, 2021 · 1 comment

Comments

@jiaming233
Copy link

jiaming233 commented Jun 30, 2021

【当前现象】
Android平台 sendCustomVideoData 闪退, Windows平台正常

【集成包】
TRTC精简版 Unity

【SDKAppID】
1400538835

【房间号】
122222

【useID】
1

【问题时间段】
2021-06-30 14:17:00~2021-06-30 14:17:09

【机型】
雷电模拟器 Android 7.1.2

【之前版本有无此问题】

【复现概率】
必现

【复现途径】
TRTCVideoFrame frame = new TRTCVideoFrame();
frame.videoFormat = TRTCVideoPixelFormat.TRTCVideoPixelFormat_I420;
frame.data = frameData;
frame.width = 640;
frame.height = 360;
frame.length = (uint)frameData.Length;
frame.bufferType = TRTCVideoBufferType.TRTCVideoBufferType_Buffer;

调用 sendCustomVideoData API
闪退

【Demo 复现途径】
可复现

【Logcat】
2021-06-30 18:34:27.263 11244-11333/com.Tencent.TRTCUnityDemo I/JNI_UTIL: JniHelper::cacheEnv when no cache in thread = -1722296032
2021-06-30 18:34:27.263 11244-11333/com.Tencent.TRTCUnityDemo D/JNI_UTIL: JniHelper:: PR_GET_NAME thread name UnityMain
2021-06-30 18:34:27.264 11244-11333/com.Tencent.TRTCUnityDemo D/JNI_UTIL: JniHelper::AttachCurrentThread Success save env 0x104306cc
2021-06-30 18:34:27.299 1393-6548/system_process D/sensor_hal: cb_setDelay handle=0 delay-ns=200000000
2021-06-30 18:34:27.300 1393-1644/system_process I/ActivityManager: Process com.Tencent.TRTCUnityDemo (pid 11244) has died
2021-06-30 18:34:27.300 1393-1644/system_process D/ActivityManager: cleanUpApplicationRecord -- 11244
2021-06-30 18:34:27.300 1393-1644/system_process W/ActivityManager: Force removing ActivityRecord{6687018 u0 com.Tencent.TRTCUnityDemo/com.unity3d.player.UnityPlayerActivity t21}: app died, no saved state
2021-06-30 18:34:27.301 1393-1405/system_process I/WindowManager: WIN DEATH: Window{2a7ab06 u0 com.Tencent.TRTCUnityDemo/com.unity3d.player.UnityPlayerActivity}
2021-06-30 18:34:27.301 1393-1405/system_process W/WindowManager: Force-removing child win Window{4c2189a u0 SurfaceView - com.Tencent.TRTCUnityDemo/com.unity3d.player.UnityPlayerActivity} from container Window{2a7ab06 u0 com.Tencent.TRTCUnityDemo/com.unity3d.player.UnityPlayerActivity}
2021-06-30 18:34:27.312 1393-1861/system_process W/WindowManager: Failed looking up window
java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@423d5c7 does not exist
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9459)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9450)
at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1807)
at android.os.BinderProxy.sendDeathNotice(Binder.java:688)
2021-06-30 18:34:27.312 1393-1861/system_process I/WindowManager: WIN DEATH: null
2021-06-30 18:34:27.316 1203-1203/? I/Zygote: Process 11244 exited due to signal (11)
2021-06-30 18:34:27.321 1788-1788/com.android.coreservice W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.coreservice.CoreBroadcastReceiver.onReceive:44 android.app.ActivityThread.handleReceiver:3045
2021-06-30 18:34:27.376 1788-1788/com.android.coreservice W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1357 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.coreservice.CoreBroadcastReceiver.onReceive:53 android.app.ActivityThread.handleReceiver:3045
2021-06-30 18:34:27.380 1788-1788/com.android.coreservice W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:892 android.content.ContextWrapper.sendBroadcast:426 com.android.coreservice.TabManager.notifyClosing:345 com.android.coreservice.TabManager.updateInner:182 com.android.coreservice.TabManager.onUpdate:217
2021-06-30 18:34:27.380 1788-1788/com.android.coreservice I/CoreService: notifyClosing notify tab closed taskPackageName:com.Tencent.TRTCUnityDemo
2021-06-30 18:34:27.457 1812-1909/com.android.launcher3 E/EGL_adreno: tid 1909: eglSurfaceAttrib(1334): error 0x3009 (EGL_BAD_MATCH)
2021-06-30 18:34:27.458 1812-1909/com.android.launcher3 W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0xa8aeba80, error=EGL_BAD_MATCH
2021-06-30 18:34:27.465 1812-1909/com.android.launcher3 D/EGL_adreno: eglMakeCurrent: 0xbd746e80: ver 3 0 (tinfo 0xa8ab5730)
2021-06-30 18:34:27.980 1812-1909/com.android.launcher3 W/OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
2021-06-30 18:34:30.289 1204-1244/? D/audio_hw_hal: log_func, out_standby
2021-06-30 18:34:30.289 1204-1244/? D/audio_hw_hal: raw_close_output_stream, dev=0xc7d640c0, stream =0xc7d5f140
2021-06-30 18:34:30.289 1204-1244/? D/audio_hw_hal: raw_close_output_stream, stream=0xc7d5f140, success!
2021-06-30 18:35:33.569 1393-1447/system_process D/WifiStateMachine: setScanResults mScanResults.size=1

@Tencent-Alice
Copy link

您好,根据您的问题,可尝试新文件,替换下Plugins/Androidb这个目录,已和您沟通过,闪退情况已解决
如还有技术问题, 欢迎继续交流 q2562367495 注明来意

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants