AgoraIO-Community / VideoUIKit-Flutter

Flutter plugin to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
https://agora-flutter-uikit.vercel.app/
MIT License
141 stars 83 forks source link

[BUG] With Video Calls #6

Closed rlee1990 closed 3 years ago

rlee1990 commented 3 years ago

When using on Android Samsung Galaxy S20+ and Note 8 I came across an issue that the video for the Galaxy s20+ would disappear on the Note 8. I at first thought it only happened when pressing the mute button on the s20+ but it happens randomly when the devices are moved also.

Meherdeep commented 3 years ago

@rlee1990 Can you please share the Agora SDK logs and screenshot of the problem that you are describing?

tadaspetra commented 3 years ago

@rlee1990 Can you also share your code?

rlee1990 commented 3 years ago

@tadaspetra here is my code:

import 'package:agora_uikit/agora_uikit.dart';
import 'package:flutter/material.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';

class ChatVideoCall extends StatefulWidget {
  final Channel channel;
  ChatVideoCall({Key? key, required this.channel}) : super(key: key);

  @override
  _ChatVideoCallState createState() => _ChatVideoCallState();
}

class _ChatVideoCallState extends State<ChatVideoCall> {
  late final AgoraClient client;
  bool _loading = true;

  @override
  void initState() {
    client = AgoraClient(
        agoraConnectionData: AgoraConnectionData(
            appId: MyAppId,
            channelName: widget.channel.id!,
            tempToken:
                '006c1cc6f30444b4f628686efa644547e6eIACKk+Hb410A+xUQPv48rX3U1RQgMYu2huXzI2jUFCV2SwcLtscAAAAAEACqPfBqLGXTYAEAAQAsZdNg'),
        enabledPermission: [Permission.camera, Permission.microphone]);
    Future.delayed(Duration(seconds: 1)).then((value) {
      setState(() {
        _loading = false;
      });
    });
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: _loading
            ? Center(
                child: CircularProgressIndicator(),
              )
            : Stack(
                children: [
                  AgoraVideoViewer(client: client),
                  AgoraVideoButtons(client: client)
                ],
              ),
      ),
    );
  }
}

@Meherdeep I will send the other information in a moment.

rlee1990 commented 3 years ago

@Meherdeep here is my logs

D/SensorManager( 3381): registerListener :: 11, LSM6DSO Accelerometer, 66667, 0, android.view.OrientationEventListener$SensorEventListenerImpl@5e58d09
D/BluetoothHeadset( 3381): BTStateChangeCB is registed by 3381 @ com.nettechphilly.social
D/agora-jni( 3381): android bridge create done...
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/BpBinder( 3381): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
2
W/System  ( 3381): A resource failed to call release.
I/BpBinder( 3381): onLastStrongRef automatically unlinking death recipients: <uncached descriptor>
D/AudioManager( 3381): setBluetoothScoOn false
I/BluetoothHeadset( 3381): disconnectAudio() by 3381 @ com.nettechphilly.social
W/System.err( 3381): java.lang.reflect.InvocationTargetException
W/System.err( 3381):    at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.doStopBTSco(AudioRoutingController.java:1038)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.stopBtSco(AudioRoutingController.java:1066)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.doSetAudioOutputRouting(AudioRoutingController.java:892)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.resetAudioRouting(AudioRoutingController.java:1168)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.access$800(AudioRoutingController.java:29)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController$ControllerStartState.<init>(AudioRoutingController.java:464)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.changeState(AudioRoutingController.java:314)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.access$700(AudioRoutingController.java:29)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController$ControllerBaseState.setState(AudioRoutingController.java:338)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.startMonitoring(AudioRoutingController.java:836)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.nativeJoinChannel(Native Method)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.joinChannel(RtcEngineImpl.java:602)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.joinChannel(RtcEngineImpl.java:589)
W/System.err( 3381):    at io.agora.rtc.base.RtcEngineManager.joinChannel(RtcEngine.kt:423)
W/System.err( 3381):    at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 3381):    at io.agora.agora_rtc_engine.AgoraRtcEnginePlugin.onMethodCall(AgoraRtcEnginePlugin.kt:123)
W/System.err( 3381):    at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
W/System.err( 3381):    at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:85)
W/System.err( 3381):    at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:818)
W/System.err( 3381):    at android.os.MessageQueue.nativePollOnce(Native Method)
W/System.err( 3381):    at android.os.MessageQueue.next(MessageQueue.java:335)
W/System.err( 3381):    at android.os.Looper.loop(Looper.java:206)
W/System.err( 3381):    at android.app.ActivityThread.main(ActivityThread.java:8512)
W/System.err( 3381):    at java.lang.reflect.Method.invoke(Native Method)
W/System.err( 3381):    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602)
W/System.err( 3381):    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)
W/System.err( 3381): Caused by: java.lang.SecurityException: Need BLUETOOTH_ADMIN permission: Neither user 10645 nor current process has android.permission.BLUETOOTH_ADMIN.
W/System.err( 3381):    at android.os.Parcel.createExceptionOrNull(Parcel.java:2385)
W/System.err( 3381):    at android.os.Parcel.createException(Parcel.java:2369)
W/System.err( 3381):    at android.os.Parcel.readException(Parcel.java:2352)
W/System.err( 3381):    at android.os.Parcel.readException(Parcel.java:2294)
W/System.err( 3381):    at android.bluetooth.IBluetoothHeadset$Stub$Proxy.disconnectAudio(IBluetoothHeadset.java:1381)
W/System.err( 3381):    at android.bluetooth.BluetoothHeadset.disconnectAudio(BluetoothHeadset.java:1096)
W/System.err( 3381):    ... 27 more
D/AudioManager( 3381): setSpeakerphoneOn false
D/AudioManager( 3381): setSpeakerphoneOn true
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
D/EglBase14( 3381): SDK version: 30. isEGL14Supported: true
D/*WEBRTCN*( 3381): SetRenderAndroidVM
D/GDPGlUtil( 3381): EGLContext created, client version 3
10
I/GDPAndroid( 3381): cores:8
I/GDPAndroid( 3381): max freq:2841600
I/GDPAndroid( 3381): total mem:11049529344
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339618256 - Surface(name=com.nettechphilly.social/com.nettechphilly.social.MainActivity$_3381)/@0x483633e / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 android.view.ViewRootImpl.relayoutWindow:8953
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339618256]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339618256]
I/SurfaceControl( 3381): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xe8bfc72 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339632688 - Surface(name=Surface(name=96f48ad InputMethod)/@0x88a9630 - animation-leash)/@0x517c04 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339632688]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339632688]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339458272 - Surface(name=Surface(name=7437ab7 NavigationBar0)/@0xd68aff8 - animation-leash)/@0x59335ed / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339458272]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339458272]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339575840 - Surface(name=Surface(name=88028dd StatusBar)/@0xbfd6055 - animation-leash)/@0xc6a5c22 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339575840]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339575840]
I/ViewRootImpl@5e347e6[MainActivity]( 3381): Relayout returned: old=(0,0,1440,3200) new=(0,0,1440,3200) req=(1440,3200)0 dur=5 res=0x1 s={true -5476376638045183200} ch=false fn=36
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 0 status STATUS_PRESENT
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 1 status STATUS_PRESENT
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 2 status STATUS_PRESENT
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 3 status STATUS_PRESENT
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 4 status STATUS_PRESENT
I/flutter ( 3381): onJoinChannel: 5c1f3145-c2da-4daa-9d91-df7b6968e5e8, uid: 787558539
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 1 status STATUS_NOT_AVAILABLE
I/CameraManagerGlobal( 3381): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_OPEN for client com.nettechphilly.social API Level 2
W/MessageQueue( 3381): Handler (android.os.Handler) {67a43e9} sending message to a Handler on a dead thread
W/MessageQueue( 3381): java.lang.IllegalStateException: Handler (android.os.Handler) {67a43e9} sending message to a Handler on a dead thread
W/MessageQueue( 3381):  at android.os.MessageQueue.enqueueMessage(MessageQueue.java:560)
W/MessageQueue( 3381):  at android.os.Handler.enqueueMessage(Handler.java:778)
W/MessageQueue( 3381):  at android.os.Handler.sendMessageAtTime(Handler.java:727)
W/MessageQueue( 3381):  at android.os.Handler.sendMessageDelayed(Handler.java:697)
W/MessageQueue( 3381):  at android.os.Handler.post(Handler.java:427)
W/MessageQueue( 3381):  at android.hardware.camera2.impl.CameraDeviceImpl$CameraHandlerExecutor.execute(CameraDeviceImpl.java:2163)
W/MessageQueue( 3381):  at android.hardware.camera2.impl.CallbackProxies$SessionStateCallbackProxy.onClosed(CallbackProxies.java:104)
W/MessageQueue( 3381):  at android.hardware.camera2.impl.CameraCaptureSessionImpl.close(CameraCaptureSessionImpl.java:587)
W/MessageQueue( 3381):  at android.hardware.camera2.impl.CameraCaptureSessionImpl.finalize(CameraCaptureSessionImpl.java:878)
W/MessageQueue( 3381):  at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:291)
W/MessageQueue( 3381):  at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:278)
W/MessageQueue( 3381):  at java.lang.Daemons$Daemon.run(Daemons.java:139)
W/MessageQueue( 3381):  at java.lang.Thread.run(Thread.java:923)
D/chphilly.socia( 3381): PlayerBase::PlayerBase()
D/chphilly.socia( 3381): TrackPlayerBase::TrackPlayerBase()
I/libOpenSLES( 3381): Emulating old channel mask behavior (ignoring positional mask 0x3, using default mask 0x3 based on channel count of 2)
D/AudioTrack( 3381): createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST denied by server; frameCount 0 -> 1280
I/AudioTrack( 3381): Need throttle time for OpenSLES player
W/libOpenSLES( 3381): Conversion from OpenSL ES positional channel mask 0x4 to Android mask 0 loses channels
I/libOpenSLES( 3381): Emulating old channel mask behavior (ignoring positional mask 0x4, using default mask 0x10 based on channel count of 1)
D/AudioRecord( 3381): openRecord_l() remove fast or raw flag of voip calls, source=7, flags=5
I/CameraManagerGlobal( 3381): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_ACTIVE for client com.nettechphilly.social API Level 2
I/flutter ( 3381): Local audio state changed state: LocalVideoStreamState.Capturing and error: LocalVideoStreamError.OK
I/flutter ( 3381): Local audio state changed state: AudioLocalState.Encoding and error: AudioLocalError.Ok
I/Dialog  ( 3381): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
D/*WEBRTCN*( 3381): VideoRenderAndroid dtor
I/DecorView( 3381): [INFO] isPopOver=false, config=false
I/DecorView( 3381): updateCaptionType >> DecorView@b2d8721[], isFloating=false, isApplication=false, hasWindowDecorCaption=false, hasWindowControllerCallback=false
D/DecorView( 3381): setCaptionType = 0, this = DecorView@b2d8721[]
D/NativeCustomFrequencyManager( 3381): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
D/InputTransport( 3381): Input channel constructed: '8fb426a', fd=187
I/ViewRootImpl@dafc2a3[MainActivity]( 3381): setView = com.android.internal.policy.DecorView@b2d8721 TM=true
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......I. 0,0-0,0} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceControl( 3381): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xd2ef959 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
I/ViewRootImpl@dafc2a3[MainActivity]( 3381): Relayout returned: old=(0,0,1440,3050) new=(0,0,1440,3050) req=(1440,3050)0 dur=5 res=0x7 s={true -5476376638043413040} ch=true fn=-1
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050}
I/SurfaceView( 3381): surfaceChanged (1440,3050) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050}
I/AGORA_SDK( 3381): Surface changed to width 1440 height 3050
I/SurfaceView( 3381): applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@8cccfcc surfaceControl = Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0xa4cd215 frame = 1
D/OpenGLRenderer( 3381): GPIS:: SetUp Pid : 3381    Tid : 18377
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
I/flutter ( 3381): userJoined: 913629571
I/flutter ( 3381): Local audio state changed state: LocalVideoStreamState.Capturing and error: LocalVideoStreamError.OK
I/Dialog  ( 3381): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
D/*WEBRTCN*( 3381): VideoRenderAndroid dtor
I/DecorView( 3381): [INFO] isPopOver=false, config=false
I/DecorView( 3381): updateCaptionType >> DecorView@3438df6[], isFloating=false, isApplication=false, hasWindowDecorCaption=false, hasWindowControllerCallback=false
D/DecorView( 3381): setCaptionType = 0, this = DecorView@3438df6[]
D/NativeCustomFrequencyManager( 3381): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
D/InputTransport( 3381): Input channel constructed: '4aed959', fd=238
I/ViewRootImpl@57acad0[MainActivity]( 3381): setView = com.android.internal.policy.DecorView@3438df6 TM=true
I/Dialog  ( 3381): mIsSamsungBasicInteraction = false, isMetaDataInActivity = false
I/DecorView( 3381): [INFO] isPopOver=false, config=false
I/DecorView( 3381): updateCaptionType >> DecorView@f09c3fc[], isFloating=false, isApplication=false, hasWindowDecorCaption=false, hasWindowControllerCallback=false
D/DecorView( 3381): setCaptionType = 0, this = DecorView@f09c3fc[]
D/NativeCustomFrequencyManager( 3381): [NativeCFMS] BpCustomFrequencyManager::BpCustomFrequencyManager()
D/InputTransport( 3381): Input channel constructed: '8cb7571', fd=262
I/ViewRootImpl@4c960a6[MainActivity]( 3381): setView = com.android.internal.policy.DecorView@f09c3fc TM=true
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ........ 0,0-1440,3050} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ........ 0,0-1440,3050}
D/SurfaceControl( 3381): hide : mNativeObject = -5476376642339384704 - sc.mNativeObject = -5476376642339382944 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0xa4cd215
D/SurfaceControl( 3381): nativeSetFlags Done : Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0xa4cd215
I/SurfaceView( 3381): remove() from RT android.view.SurfaceView$2@b94eae7 Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0xa4cd215
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339382944 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0xa4cd215 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1561 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339382944]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339382944]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339712768 - Surface(name=Background for -SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@e35b9a0@0)/@0x3a49694 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1562 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339712768]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339712768]
I/ViewRootImpl@dafc2a3[MainActivity]( 3381): dispatchDetachedFromWindow
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339634096 - Surface(name=Bounds for - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@0)/@0xd6d653d / android.view.ViewRootImpl.destroySurface:2437 android.view.ViewRootImpl.dispatchDetachedFromWindow:5658 android.view.ViewRootImpl.doDie:9282 android.view.ViewRootImpl.die:9259
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339634096]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339634096]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339400192 - Surface(name=Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity$_3381)/@0x69ae132 / android.view.ViewRootImpl.destroySurface:2441 android.view.ViewRootImpl.dispatchDetachedFromWindow:5658 android.view.ViewRootImpl.doDie:9282 android.view.ViewRootImpl.die:9259
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339400192]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339400192]
D/InputTransport( 3381): Input channel destroyed: '8fb426a', fd=187
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......I. 0,0-0,0} of ViewRootImpl@57acad0[MainActivity]
E/BufferQueueProducer( 3381): [SurfaceTexture-0-3381-5](id:d3500000007,api:1,p:1070,c:3381) dequeueBuffer: BufferQueue has been abandoned
I/SurfaceControl( 3381): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xa7e8800 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
I/ViewRootImpl@57acad0[MainActivity]( 3381): Relayout returned: old=(0,0,1440,1525) new=(0,0,1440,1525) req=(1440,1525)0 dur=10 res=0x7 s={true -5476376638043413040} ch=true fn=-1
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525} of ViewRootImpl@57acad0[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@5501839 surfaceControl = Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0xf91de7e frame = 1
D/OpenGLRenderer( 3381): GPIS:: SetUp Pid : 3381    Tid : 18377
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......I. 0,0-0,0} of ViewRootImpl@4c960a6[MainActivity]
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
I/SurfaceControl( 3381): assignNativeObject: nativeObject = 0 Surface(name=null)/@0x769648a / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
I/ViewRootImpl@4c960a6[MainActivity]( 3381): Relayout returned: old=(0,0,1440,1525) new=(0,0,1440,1525) req=(1440,1525)0 dur=5 res=0x7 s={true -5476376638043386880} ch=true fn=-1
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525}
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
I/SurfaceView( 3381): applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@1bf9571 surfaceControl = Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x4813f56 frame = 1
D/OpenGLRenderer( 3381): GPIS:: SetUp Pid : 3381    Tid : 18377
I/flutter ( 3381): Remote video state changed for 913629571, state: VideoRemoteState.Starting and reason: VideoRemoteStateReason.Internal
I/flutter ( 3381): Remote video state changed for 913629571, state: VideoRemoteState.Decoding and reason: VideoRemoteStateReason.Internal
I/flutter ( 3381): Remote audio state changed for 913629571, state: AudioRemoteState.Starting and reason: AudioRemoteStateReason.Internal
I/flutter ( 3381): Remote audio state changed for 913629571, state: AudioRemoteState.Decoding and reason: AudioRemoteStateReason.Internal
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/flutter ( 3381): Local audio state changed state: LocalVideoStreamState.Encoding and error: LocalVideoStreamError.OK
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/flutter ( 3381): (2021-06-22 12:51:40.037659) ℹī¸ 🕒 received message : {id: 9, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, advice: Advice(retry, 0, 30000), successful: true}
I/flutter ( 3381): (2021-06-22 12:51:40.038198) ℹī¸ 🕒 Closed connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:51:40.039694) ℹī¸ 🕒 Initiating connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:51:40.040172) ℹī¸ 🕒 sending message : {id: a, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, connectionType: websocket}
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
2
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
I/flutter ( 3381): Active speaker: 913629571
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ........ 0,0-1440,1525} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ........ 0,0-1440,1525}
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......I. 0,0-0,0} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......ID 0,0-1440,1525}
D/SurfaceControl( 3381): hide : mNativeObject = -5476376642339691296 - sc.mNativeObject = -5476376642339436272 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x4813f56
D/SurfaceControl( 3381): nativeSetFlags Done : Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x4813f56
I/SurfaceView( 3381): remove() from RT android.view.SurfaceView$2@9ceecf Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x4813f56
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339436272 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x4813f56 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1561 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339436272]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339436272]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339514768 - Surface(name=Background for -SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@65a4fdf@0)/@0x6aef05c / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1562 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339514768]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339514768]
I/SurfaceView( 3381): applySurfaceTransforms: t = android.view.SurfaceControl$Transaction@8e08f65 surfaceControl = Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f30e32e@0)/@0x6c043a frame = 3
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
W/System  ( 3381): A resource failed to call release.
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/ViewRootImpl@5e347e6[MainActivity]( 3381): ViewPostIme pointer 0
I/ViewRootImpl@5e347e6[MainActivity]( 3381): ViewPostIme pointer 1
I/flutter ( 3381): Remote audio state changed for 913629571, state: AudioRemoteState.Stopped and reason: AudioRemoteStateReason.RemoteMuted
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
2
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
I/flutter ( 3381): (2021-06-22 12:52:10.056630) ℹī¸ 🕒 received message : {id: a, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, advice: Advice(retry, 0, 30000), successful: true}
I/flutter ( 3381): (2021-06-22 12:52:10.057011) ℹī¸ 🕒 Closed connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:52:10.058316) ℹī¸ 🕒 Initiating connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:52:10.058698) ℹī¸ 🕒 sending message : {id: b, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, connectionType: websocket}
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
2
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
I/flutter ( 3381): (2021-06-22 12:52:40.093702) ℹī¸ 🕒 received message : {id: b, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, advice: Advice(retry, 0, 30000), successful: true}
I/flutter ( 3381): (2021-06-22 12:52:40.094643) ℹī¸ 🕒 Closed connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:52:40.096564) ℹī¸ 🕒 Initiating connection for 1-69413958-2427-4235-a7ba-ed4741917691
I/flutter ( 3381): (2021-06-22 12:52:40.097012) ℹī¸ 🕒 sending message : {id: c, clientId: 1-69413958-2427-4235-a7ba-ed4741917691, channel: /meta/connect, connectionType: websocket}
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
3
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
E/libc    ( 3381): Access denied finding property "net.dns1"
E/libc    ( 3381): Access denied finding property "net.dns2"
E/libc    ( 3381): Access denied finding property "net.dns3"
E/libc    ( 3381): Access denied finding property "net.dns4"
I/GDPAndroid( 3381): getCpuTemperature valid path:/sys/class/thermal/thermal_zone0/temp
I/ViewRootImpl@5e347e6[MainActivity]( 3381): ViewPostIme pointer 0
I/ViewRootImpl@5e347e6[MainActivity]( 3381): ViewPostIme pointer 1
D/*WEBRTCN*( 3381): VideoRenderAndroid dtor
I/CameraManagerGlobal( 3381): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_IDLE for client com.nettechphilly.social API Level 2
I/CameraManagerGlobal( 3381): postSingleUpdate device: camera id 1 status STATUS_PRESENT
I/CameraManagerGlobal( 3381): Camera 1 facing CAMERA_FACING_FRONT state now CAMERA_STATE_CLOSED for client com.nettechphilly.social API Level 2
D/*WEBRTCN*( 3381): VideoRenderAndroid dtor
D/chphilly.socia( 3381): PlayerBase::stop() from IPlayer
D/AudioTrack( 3381): stop(1313): called with 1243200 frames delivered
D/*WEBRTCN*( 3381): SetRenderAndroidVM
D/SensorManager( 3381): unregisterListener :: android.view.OrientationEventListener$SensorEventListenerImpl@5e58d09
D/BluetoothHeadset( 3381): BTStateChangeCB is unregisted by 3381 @ com.nettechphilly.social
D/agora-jni( 3381): android bridge destroy done...
I/Choreographer( 3381): Skipped 37 frames!  The application may be doing too much work on its main thread.
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339460384 - Surface(name=com.nettechphilly.social/com.nettechphilly.social.MainActivity$_3381)/@0x483633e / android.view.SurfaceControl.assignNativeObject:567 android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1777 android.view.ViewRootImpl.relayoutWindow:8953
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339460384]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339460384]
I/SurfaceControl( 3381): assignNativeObject: nativeObject = 0 Surface(name=null)/@0xe8bfc72 / android.view.SurfaceControl.readFromParcel:1115 android.view.IWindowSession$Stub$Proxy.relayout:1787 android.view.ViewRootImpl.relayoutWindow:8953 android.view.ViewRootImpl.performTraversals:3312 android.view.ViewRootImpl.doTraversal:2575 android.view.ViewRootImpl$TraversalRunnable.run:9916 android.view.Choreographer$CallbackRecord.run:1010 android.view.Choreographer.doCallbacks:809 android.view.Choreographer.doFrame:744 android.view.Choreographer$FrameDisplayEventReceiver.run:995
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339363408 - Surface(name=Surface(name=96f48ad InputMethod)/@0x88a9630 - animation-leash)/@0xaa32366 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.ImeInsetsSourceConsumer.setControl:154
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339363408]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339363408]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339360592 - Surface(name=Surface(name=7437ab7 NavigationBar0)/@0xd68aff8 - animation-leash)/@0x32356a7 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339360592]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339360592]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339618256 - Surface(name=Surface(name=88028dd StatusBar)/@0xbfd6055 - animation-leash)/@0x69cf754 / android.view.-$$Lambda$Rl1VZmNJ0VZDLK0BAbaVGis0rrA.accept:2 android.view.InsetsSourceControl.release:170 android.view.InsetsSourceConsumer.setControl:202 android.view.InsetsController.onControlsChanged:833
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339618256]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339618256]
I/ViewRootImpl@5e347e6[MainActivity]( 3381): Relayout returned: old=(0,0,1440,3200) new=(0,0,1440,3200) req=(1440,3200)0 dur=5 res=0x1 s={true -5476376638045183200} ch=false fn=36
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ........ 0,0-1440,1525} of ViewRootImpl@57acad0[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ........ 0,0-1440,1525}
D/SurfaceControl( 3381): hide : mNativeObject = -5476376642339639904 - sc.mNativeObject = -5476376642339630048 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0xf91de7e
D/SurfaceControl( 3381): nativeSetFlags Done : Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0xf91de7e
I/SurfaceView( 3381): remove() from RT android.view.SurfaceView$2@32916fd Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0xf91de7e
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339630048 - Surface(name=SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0xf91de7e / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1561 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339630048]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339630048]
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339672464 - Surface(name=Background for -SurfaceView - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@f3b4e83@0)/@0x22e0ff2 / android.view.SurfaceControl$Transaction.remove:3449 android.view.SurfaceView$2.positionLost:1562 android.graphics.RenderNode$CompositePositionUpdateListener.positionLost:313 <bottom of call stack>
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339672464]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339672464]
I/ViewRootImpl@57acad0[MainActivity]( 3381): dispatchDetachedFromWindow
I/SurfaceControl( 3381): release : mNativeObject = -5476376642339634096 - Surface(name=Bounds for - Sys2030:com.nettechphilly.social/com.nettechphilly.social.MainActivity@0)/@0xda4b643 / android.view.ViewRootImpl.destroySurface:2437 android.view.ViewRootImpl.dispatchDetachedFromWindow:5658 android.view.ViewRootImpl.doDie:9282 android.view.ViewRootImpl.die:9259
I/SurfaceControl( 3381): nativeRelease nativeObject s[-5476376642339634096]
I/SurfaceControl( 3381): nativeRelease nativeObject e[-5476376642339634096]
rlee1990 commented 3 years ago

This one might look better not sure which one helps more:

D/agora-jni( 3381): android bridge destroy done...
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{9a82cb4 V.E...... ........ 0,0-1440,1525} of ViewRootImpl@1550869[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{9a82cb4 V.E...... ........ 0,0-1440,1525}
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{cf6a876 V.E...... ........ 0,0-1440,1525} of ViewRootImpl@2ee8587[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{cf6a876 V.E...... ........ 0,0-1440,1525}
D/agora-jni( 3381): android bridge create done...
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.doStopBTSco(AudioRoutingController.java:1038)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.stopBtSco(AudioRoutingController.java:1066)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.doSetAudioOutputRouting(AudioRoutingController.java:892)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.resetAudioRouting(AudioRoutingController.java:1168)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.access$800(AudioRoutingController.java:29)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController$ControllerStartState.<init>(AudioRoutingController.java:464)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.changeState(AudioRoutingController.java:314)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.access$700(AudioRoutingController.java:29)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController$ControllerBaseState.setState(AudioRoutingController.java:338)
W/System.err( 3381):    at io.agora.rtc.internal.AudioRoutingController.startMonitoring(AudioRoutingController.java:836)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.nativeJoinChannel(Native Method)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.joinChannel(RtcEngineImpl.java:602)
W/System.err( 3381):    at io.agora.rtc.internal.RtcEngineImpl.joinChannel(RtcEngineImpl.java:589)
W/System.err( 3381):    at io.agora.rtc.base.RtcEngineManager.joinChannel(RtcEngine.kt:423)
W/System.err( 3381):    at io.agora.agora_rtc_engine.AgoraRtcEnginePlugin.onMethodCall(AgoraRtcEnginePlugin.kt:123)
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......I. 0,0-0,0} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050}
I/SurfaceView( 3381): surfaceChanged (1440,3050) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ......ID 0,0-1440,3050}
I/AGORA_SDK( 3381): Surface changed to width 1440 height 3050
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ........ 0,0-1440,3050} of ViewRootImpl@dafc2a3[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{e35b9a0 V.E...... ........ 0,0-1440,3050}
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......I. 0,0-0,0} of ViewRootImpl@57acad0[MainActivity]
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525} of ViewRootImpl@57acad0[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......I. 0,0-0,0} of ViewRootImpl@4c960a6[MainActivity]
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
I/SurfaceView( 3381): windowStopped(false) true io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ......ID 0,0-1440,1525}
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ........ 0,0-1440,1525} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{65a4fdf V.E...... ........ 0,0-1440,1525}
I/SurfaceView( 3381): onWindowVisibilityChanged(0) true io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......I. 0,0-0,0} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceCreated 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......ID 0,0-1440,1525}
I/SurfaceView( 3381): surfaceChanged (1440,1525) 1 #8 io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ......ID 0,0-1440,1525}
I/AGORA_SDK( 3381): Surface changed to width 1440 height 1525
D/agora-jni( 3381): android bridge destroy done...
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ........ 0,0-1440,1525} of ViewRootImpl@57acad0[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{f3b4e83 V.E...... ........ 0,0-1440,1525}
I/SurfaceView( 3381): onWindowVisibilityChanged(8) false io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ........ 0,0-1440,1525} of ViewRootImpl@4c960a6[MainActivity]
I/SurfaceView( 3381): surfaceDestroyed callback.size 1 #2 io.agora.rtc.video.ViEAndroidGLES20{f30e32e V.E...... ........ 0,0-1440,1525}
rlee1990 commented 3 years ago

Here is an image of each device imageimage

rlee1990 commented 3 years ago

Today the video stops showing on the s20+ but the audio will still work like last night.

Meherdeep commented 3 years ago

Hey @rlee1990, Thanks for sharing all the logs. However, I was not able to reproduce the bug that you shared. Can you please try running our example code and see if you're getting the same error?

It would be great if you could share the steps to reproduce this bug? Also, if you could share your Flutter doctor and the android version that you're running on both your devices can help a lot in reproducing this error.

rlee1990 commented 3 years ago

Okay I will try all of that and let you know @Meherdeep

rlee1990 commented 3 years ago

Okay so I think the issue is only happening when the devices are so close that they start to give feedback sounds then they lose the video for each other but still has the audio. The note 8 is running android 9 and the s20+ is running android 11. I tested with the example project and also had the issue only at the above mentioned time. I doubt this would happen in a real world moment so unless you think it might be more it can be closed.

devanshkaria88 commented 3 years ago

Actually its a quite legit bug..

Its not just happening because of feedback sounds... I tried it with my friend who lives quite far from my area and we had the same problem in the release build... In debug build, it worked fine for first few tries, but then when I tried to move the devices, it went black either in one or in some cases both of the devices...

It is worth examining this issue.

Meherdeep commented 3 years ago

@devanshkaria88 Can you please help me with the steps to reproduce this error? If you can share your Agora SDK logs as well it would be great.

tadaspetra commented 3 years ago

Reopening issue for potential bug

andre-nk commented 3 years ago

Black Screen on Video Calls

When I use the AgoraUIKit on Samsung A52 (debug mode), I will always get a black screen, but after I do fast hot reload feature from Flutter, the camera is suddenly activated and working well.

Is this got something to do with the channel hasn't initialized? Because, I've tried to reinitialize engine via client.sessionController but with no avail. My source code for the Agora part is almost the same way with the demo app from the documentation and it does work for a few first try. But, it started to become black screen later.

Meherdeep commented 3 years ago

@fullstack-dre Can you please try the latest version 0.0.3

andre-nk commented 3 years ago

@Meherdeep I've tried the newest version (0.0.3) but it still has the same issue. Black screen for video on joined, while the AgoraClient is correct and then the camera will work when I do a fast hot reload or if I navigate to other page without terminating the channel and come back again.

Meherdeep commented 3 years ago

@fullstack-dre Can you please share which device you have been using along with your Samsung device and their OS versions. Also please share your Agora SDK logs.

tadaspetra commented 3 years ago

Closing for now, if you still have issues feel free to reopen.