tencent_calls_uikit:1.8.3 open camera not working
Closed this issue · 1 comments
tencent_calls_engine open camera not working in android, ios as well. May i know how to fix this error?
when i click open camera in the tencent_calls_engine example, it shows the error:
|method=openCamera|arguments={viewId=0, camera=0}|error=java.lang.reflect.InvocationTargetException
after i track the code, it seems the error occur in the code inside TUICallEnginePlugin.java:
TUIVideoView videoView = (TUIVideoView) PlatformVideoViewFactory.mVideoViewMap.get(viewId).getView();
Flutter 3.13.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2524052335 (7 days ago) • 2023-09-06 14:32:31 -0700
Engine • revision b8d35810e9
Tools • Dart 3.1.1 • DevTools 2.25.0
tencent_calls_uikit: ^1.8.3
when the view is close, it didn't open the camera