flutter-webrtc / flutter-webrtc-demo

Demo for flutter-webrtc
MIT License
1.15k stars 417 forks source link

Android example lookback cannot run #168

Closed au-top closed 2 years ago

au-top commented 2 years ago

Android example lookback cannot run

Show black

Android API 29

flutter doctor


[✓] Flutter (Channel dev, 2.6.0-11.0.pre, on macOS 11.6 20G165 darwin-x64, locale en-CN)
    • Flutter version 2.6.0-11.0.pre at /Users/autop/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 4b330ddbed (9 weeks ago), 2021-09-16 17:29:58 -0700
    • Engine revision 5b81c6d615
    • Dart version 2.15.0 (build 2.15.0-116.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/autop/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✗] Xcode - develop for iOS and macOS
    ✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
      Download at: https://developer.apple.com/xcode/download/
      Or install Xcode via the App Store.
      Once installed, run:
        sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
        sudo xcodebuild -runFirstLaunch
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] IntelliJ IDEA Community Edition (version 2021.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.62.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.28.0

[✓] Connected device (3 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Android SDK built for x86 (mobile) • emulator-5556 • android-x86    • Android 10 (API 29) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 95.0.4638.69

! Doctor found issues in 1 category.

running log

I/org.webrtc.Logging(19760): EglRenderer: Initializing EglRenderer
I/org.webrtc.Logging(19760): EglRenderer: EglBase.create shared context
D/HostConnection(19760): HostConnection::get() New Host Connection established 0xdf29d560, tid 20167
D/HostConnection(19760): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
I/org.webrtc.Logging(19760): EglBase14Impl: Using OpenGL ES version 2
D/EGL_emulation(19760): eglCreateContext: 0xdf204700: maj 3 min 0 rcv 3
D/EGL_emulation(19760): eglMakeCurrent: 0xdf204700: ver 3 0 (tinfo 0xd3b96ac0)
I/org.webrtc.Logging(19760): EglRenderer: Initializing EglRenderer
I/org.webrtc.Logging(19760): EglRenderer: EglBase.create shared context
D/HostConnection(19760): HostConnection::get() New Host Connection established 0xbb8d8a90, tid 20168
D/HostConnection(19760): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
I/org.webrtc.Logging(19760): EglBase14Impl: Using OpenGL ES version 2
D/EGL_emulation(19760): eglCreateContext: 0xdf213fa0: maj 3 min 0 rcv 3
D/EGL_emulation(19760): eglMakeCurrent: 0xdf213fa0: ver 3 0 (tinfo 0xd3c087b0)
I/FlutterWebRTCPlugin(19760): getUserMedia(audio): mandatory: [], optional: [googNoiseSuppression: true, googEchoCancellation: true, echoCancellation: true, googEchoCancellation2: true, googDAEchoCancellation: true]
I/FlutterWebRTCPlugin(19760): getUserMedia(video): com.cloudwebrtc.webrtc.utils.ConstraintsMap@38ea1ff
D/FlutterWebRTCPlugin(19760): Creating video capturer using Camera2 API.
D/FlutterWebRTCPlugin(19760): Create front camera 1 succeeded
D/HostConnection(19760): HostConnection::get() New Host Connection established 0xd714d0e0, tid 20172
D/HostConnection(19760): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
I/org.webrtc.Logging(19760): EglBase14Impl: Using OpenGL ES version 2
D/EGL_emulation(19760): eglCreateContext: 0xba0dfd80: maj 3 min 0 rcv 3
D/EGL_emulation(19760): eglMakeCurrent: 0xba0dfd80: ver 3 0 (tinfo 0xafefb530)
E/EGL_emulation(19760): eglQueryContext 32c0  EGL_BAD_ATTRIBUTE
E/EGL_emulation(19760): tid 20172: eglQueryContext(1903): error 0x3004 (EGL_BAD_ATTRIBUTE)
I/org.webrtc.Logging(19760): CameraCapturer: startCapture: 640x480@30
I/org.webrtc.Logging(19760): Camera2Session: Create new camera2 session on camera 1
I/org.webrtc.Logging(19760): Camera2Session: start
I/org.webrtc.Logging(19760): Camera2Session: Available preview sizes: [1280x720, 640x480, 320x240, 176x144, 1920x1080]
I/org.webrtc.Logging(19760): Camera2Session: Available fps ranges: [[15.0:30.0], [30.0:30.0]]
I/org.webrtc.Logging(19760): Camera2Session: Using capture format: 640x480@[15.0:30.0]
I/org.webrtc.Logging(19760): Camera2Session: Opening camera 1
D/FlutterWebRTCPlugin(19760): CameraEventsHandler.onCameraOpening: cameraName=1
D/FlutterWebRTCPlugin(19760): changeCaptureFormat: 640x480@30
D/FlutterWebRTCPlugin(19760): MediaStream id: 15c1f944-716a-443b-a802-7a3e50c7d9af
W/FlutterWebRTCPlugin(19760): FlutterRTCVideoRenderer.setVideoTrack, set video track to bba0d43f-610f-449b-b8e9-643eb0443956
I/org.webrtc.Logging(19760): EglRenderer: Releasing.
I/org.webrtc.Logging(19760): EglRenderer: eglBase detach and release.
I/org.webrtc.Logging(19760): EglRenderer: Releasing done.
I/org.webrtc.Logging(19760): EglRenderer: Quitting render thread.
I/org.webrtc.Logging(19760): EglRenderer: Initializing EglRenderer
I/org.webrtc.Logging(19760): EglRenderer: EglBase.create shared context
D/HostConnection(19760): HostConnection::get() New Host Connection established 0xdf29d560, tid 20175
D/HostConnection(19760): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
I/org.webrtc.Logging(19760): EglBase14Impl: Using OpenGL ES version 2
D/EGL_emulation(19760): eglCreateContext: 0xdf204700: maj 3 min 0 rcv 3
D/EGL_emulation(19760): eglMakeCurrent: 0xdf204700: ver 3 0 (tinfo 0xd3b66fd0)
I/flutter (19760): RenegotiationNeeded
I/org.webrtc.Logging(19760): Camera2Session: Camera opened.
I/flutter (19760): sdp = v=0
I/flutter (19760): o=- 8142424160958015394 2 IN IP4 127.0.0.1
I/flutter (19760): s=-
I/flutter (19760): t=0 0
I/flutter (19760): a=group:BUNDLE 0 1
I/flutter (19760): a=extmap-allow-mixed
I/flutter (19760): a=msid-semantic: WMS 15c1f944-716a-443b-a802-7a3e50c7d9af
I/flutter (19760): m=audio 9 RTP/SAVPF 111 103 104 9 102 0 8 106 105 13 110 112 113 126
I/flutter (19760): c=IN IP4 0.0.0.0
I/flutter (19760): a=rtcp:9 IN IP4 0.0.0.0
I/flutter (19760): a=ice-ufrag:RFHY
I/flutter (19760): a=ice-pwd:My0FMJazKceOKKS2SY7hmyL0
I/flutter (19760): a=ice-options:trickle renomination
I/flutter (19760): a=mid:0
I/flutter (19760): a=extmap:1 urn:ietf:params:rtp-hdrext:ssrc-audio-level
I/flutter (19760): a=extmap:2 http://www.webrtc.org/experiments/rtp-hdrext/abs-send-time
I/flutter (19760): a=extmap:3 http://www.ietf.org/id/draft-holmer-rmcat-transport-wide-cc-extensions-01
I/flutter (19760): a=extmap:4 urn:ietf:params:rtp-hdrext:sdes:mid
I/flutter (19760): a=extmap:5 urn:ietf:params:rtp-hdrext:sdes:rtp-stream-id
I/flutter (19760): a=extmap:6 urn:ietf:params:rtp-hdrext:sdes:repaired-rtp-stream-id
I/flutter (19760): a=sendrecv
I/flutter (19760): a=msid:15c1f944-716a-443b-a802-7a3e50c7d9af c81400d9-8d70-420b-8b86-18725626cf75
I/flutter (19760): a=rtcp-mux
I/flutter (19760): a=crypto:0 AES_CM_128_HMAC_SHA1_80 inline:2WgEWalb3zXZ5cAmSsCMk1mI3psgG5KKDgsve8BM
I/flutter (19760): a=rtpmap:111 opus/48000/2
I/flutter (19760): a=rtcp-fb:111 transport-cc
I/flutter (19760): a=fmtp:111 m
I/org.webrtc.Logging(19760): Camera2Session: Camera capture session configured.
I/org.webrtc.Logging(19760): Camera2Session: Stabilization not available.
I/org.webrtc.Logging(19760): Camera2Session: Using continuous video auto-focus.
I/org.webrtc.Logging(19760): Camera2Session: Camera device successfully started.
I/org.webrtc.Logging(19760): CameraCapturer: Create session done. Switch state: IDLE
I/org.webrtc.Logging(19760): SurfaceTextureHelper: Setting listener to org.webrtc.-$$Lambda$Camera2Session$CaptureSessionCallback$_XbqUL6ihfYRgME_EfDLZtLmkGA@a95e8b8
I/org.webrtc.Logging(19760): NetworkMonitor: Start monitoring with native observer -686016000
D/FlutterWebRTCPlugin(19760): onIceGatheringChangeGATHERING
I/flutter (19760): RTCSignalingState.RTCSignalingStateHaveLocalOffer
I/flutter (19760): RTCIceGatheringState.RTCIceGatheringStateGathering
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: Network becomes available: 101
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: capabilities changed: [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&CAPTIVE_PORTAL&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -30]
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: link properties changed
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: Network becomes available: 100
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: initPlayout(sampleRate=44100, channels=1, bufferSizeFactor=1.0)
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: byteBuffer.capacity: 882
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: minBufferSizeInBytes: 4232
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: createAudioTrackOnLollipopOrHigher
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: nativeOutputSampleRate: 44100
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrack: session ID: 329, channels: 1, sample rate: 44100, max gain: 1.0
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrack: buffer size in frames: 2116
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrack: buffer capacity in frames: 2116
I/org.webrtc.Logging(19760): VolumeLogger: start@[name=worker_thread - 19806, id=591]
I/org.webrtc.Logging(19760): VolumeLogger: audio mode is: MODE_IN_COMMUNICATION
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: capabilities changed: [ Transports: CELLULAR Capabilities: MMS&SUPL&DUN&FOTA&IMS&CBS&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&CAPTIVE_PORTAL&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=51200Kbps LinkDnBandwidth>=102400Kbps Specifier: <1>]
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: startPlayout
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrackThread@[name=AudioTrackJavaThread, id=681]
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: link properties changed
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: doAudioTrackStateCallback: 0
I/org.webrtc.Logging(19760): VolumeLogger: VOICE_CALL stream volume: 1 (max=5)
D/FlutterWebRTCPlugin(19760): onAddTrack
D/FlutterWebRTCPlugin(19760): onAddTrack
D/FlutterWebRTCPlugin(19760): onIceCandidate
I/chatty  (19760): uid=10121(com.example.example) signaling_threa identical 2 lines
D/FlutterWebRTCPlugin(19760): onIceCandidate
I/flutter (19760): RTCSignalingState.RTCSignalingStateStable
D/FlutterWebRTCPlugin(19760): onIceCandidate
D/FlutterWebRTCPlugin(19760): onIceCandidate
I/flutter (19760): RTCIceConnectionState.RTCIceConnectionStateChecking
I/flutter (19760): onTrack
W/FlutterWebRTCPlugin(19760): FlutterRTCVideoRenderer.setVideoTrack, set video track to 666881d8-55a4-4981-963e-59ad21ccf2ac
I/org.webrtc.Logging(19760): EglRenderer: Releasing.
I/org.webrtc.Logging(19760): EglRenderer: eglBase detach and release.
I/flutter (19760): onTrack
I/flutter (19760): onCandidate: candidate:841689039 1 udp 2122260223 10.0.2.16 32795 typ host generation 0 ufrag RFHY network-id 5 network-cost 10
I/flutter (19760): onCandidate: candidate:361502126 1 udp 2122187263 fec0::15:b2ff:fe00:0 45043 typ host generation 0 ufrag RFHY network-id 6 network-cost 10
I/org.webrtc.Logging(19760): EglRenderer: Quitting render thread.
I/org.webrtc.Logging(19760): EglRenderer: Releasing done.
I/org.webrtc.Logging(19760): EglRenderer: Initializing EglRenderer
I/flutter (19760): onCandidate: candidate:841689039 1 udp 2122129151 10.0.2.16 44776 typ host generation 0 ufrag RFHY network-id 3 network-cost 900
I/flutter (19760): onCandidate: candidate:361502126 1 udp 2122056191 fec0::15:b2ff:fe00:0 56128 typ host generation 0 ufrag RFHY network-id 4 network-cost 900
I/flutter (19760): onCandidate: candidate:559267639 1 udp 2122005759 ::1 54827 typ host generation 0 ufrag RFHY network-id 2
I/flutter (19760): onCandidate: candidate:1510613869 1 udp 2121932543 127.0.0.1 46989 typ host generation 0 ufrag RFHY network-id 1
I/org.webrtc.Logging(19760): EglRenderer: EglBase.create shared context
D/HostConnection(19760): HostConnection::get() New Host Connection established 0xbb8d8a90, tid 20201
D/HostConnection(19760): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_async_unmap_buffer ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0
I/org.webrtc.Logging(19760): EglBase14Impl: Using OpenGL ES version 2
D/EGL_emulation(19760): eglCreateContext: 0xdf2127a0: maj 3 min 0 rcv 3
D/FlutterWebRTCPlugin(19760): onConnectionChangeCONNECTING
D/EGL_emulation(19760): eglMakeCurrent: 0xdf2127a0: ver 3 0 (tinfo 0xd3c084b0)
I/flutter (19760): RTCPeerConnectionState.RTCPeerConnectionStateConnecting
D/FlutterWebRTCPlugin(19760): onIceCandidate
D/FlutterWebRTCPlugin(19760): onIceCandidate
I/flutter (19760): onCandidate: candidate:1876313031 1 tcp 1518025983 ::1 45941 typ host tcptype passive generation 0 ufrag RFHY network-id 2
I/flutter (19760): onCandidate: candidate:344579997 1 tcp 1517952767 127.0.0.1 37331 typ host tcptype passive generation 0 ufrag RFHY network-id 1
D/FlutterWebRTCPlugin(19760): onIceGatheringChangeCOMPLETE
D/FlutterWebRTCPlugin(19760): onSelectedCandidatePairChanged
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: initRecording(sampleRate=44100, channels=1)
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: byteBuffer.capacity: 882
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: AudioRecord.getMinBufferSize: 2688
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: bufferSizeInBytes: 5376
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: createAudioRecordOnMOrHigher
I/flutter (19760): RTCIceGatheringState.RTCIceGatheringStateComplete
I/flutter (19760): RTCIceConnectionState.RTCIceConnectionStateConnected
I/org.webrtc.Logging(19760): WebRtcAudioEffectsExternal: enable(audioSession=337)
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: AudioRecord: session ID: 337, channels: 1, sample rate: 44100
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: AudioRecord: buffer size in frames: 2688
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: Number of active recording sessions: 0
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: startRecording
D/FlutterWebRTCPlugin(19760): CameraEventsHandler.onFirstFrameAvailable
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: scheduleLogRecordingConfigurationsTask
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: AudioRecordThread@[name=AudioRecordJavaThread, id=685]
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: doAudioRecordStateCallback: START
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: Number of active recording sessions: 1
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: AudioRecordingConfigurations:
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal:   client audio source=VOICE_COMMUNICATION, client session id=337 (337)
I/org.webrtc.Logging(19760):   Device AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=16000
I/org.webrtc.Logging(19760):   Client AudioFormat: channel count=1, channel index mask=0, channel mask=IN_MONO, encoding=PCM_16BIT, sample rate=44100
I/org.webrtc.Logging(19760):   AudioDevice: type=TYPE_BUILTIN_MIC, id=5
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: verifyAudioConfig: PASS
D/FlutterWebRTCPlugin(19760): onSelectedCandidatePairChanged
D/FlutterWebRTCPlugin(19760): onSelectedCandidatePairChanged
I/flutter (19760): RTCIceConnectionState.RTCIceConnectionStateCompleted
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 26.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4002 ms. Frames received: 109. Dropped: 0. Rendered: 109. Render fps: 27.2. Average render time: 2068 us. Average swapBuffer time: 1749 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4003 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 30.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4002 ms. Frames received: 117. Dropped: 0. Rendered: 117. Render fps: 29.2. Average render time: 960 us. Average swapBuffer time: 745 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4004 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4001 ms. Frames received: 117. Dropped: 0. Rendered: 116. Render fps: 29.0. Average render time: 970 us. Average swapBuffer time: 740 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 30.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4004 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture: Nulling session
I/org.webrtc.Logging(19760): Camera2Session: Stop camera2 session on camera 1
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture done
I/org.webrtc.Logging(19760): CameraCapturer: dispose
I/org.webrtc.Logging(19760): Camera2Session: Stop internal
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture
I/org.webrtc.Logging(19760): SurfaceTextureHelper: stopListening()
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture: No session open
I/org.webrtc.Logging(19760): CameraCapturer: Stop capture done
D/FlutterWebRTCPlugin(19760): onConnectionChangeCLOSED
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: stopRecording
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: stopThread
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: doAudioRecordStateCallback: STOP
I/org.webrtc.Logging(19760): WebRtcAudioEffectsExternal: release
I/org.webrtc.Logging(19760): WebRtcAudioRecordExternal: releaseAudioResources
I/org.webrtc.Logging(19760): VolumeLogger: stop@[name=worker_thread - 19806, id=591]
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: stopPlayout
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: underrun count: 0
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: stopThread
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: Stopping the AudioTrackThread...
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrackThread has now been stopped.
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: Calling AudioTrack.stop...
D/AudioTrack(19760): stop(82): called with 600201 frames delivered
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: AudioTrack.stop is done.
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: doAudioTrackStateCallback: 1
I/org.webrtc.Logging(19760): WebRtcAudioTrackExternal: releaseAudioResources
I/org.webrtc.Logging(19760): NetworkMonitor: Stop monitoring with native observer -686016000
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: Unregister network callback
I/org.webrtc.Logging(19760): NetworkMonitorAutoDetect: Unregister network callback
I/flutter (19760): RTCIceConnectionState.RTCIceConnectionStateClosed
W/FlutterWebRTCPlugin(19760): FlutterRTCVideoRenderer.setVideoTrack, set video track to null
W/FlutterWebRTCPlugin(19760): FlutterRTCVideoRenderer.setVideoTrack, set video track to null
I/flutter (19760): RTCPeerConnectionState.RTCPeerConnectionStateClosed
I/flutter (19760): RTCSignalingState.RTCSignalingStateClosed
I/org.webrtc.Logging(19760): Camera2Session: Stop done
W/example.exampl(19760): Long monitor contention with owner main (20172) at boolean android.os.BinderProxy.transactNative(int, android.os.Parcel, android.os.Parcel, int)(BinderProxy.java:-2) waiters=0 in void android.hardware.camera2.impl.CameraDeviceImpl$CameraDeviceCallbacks.onCaptureStarted(android.hardware.camera2.impl.CaptureResultExtras, long) for 361ms
I/org.webrtc.Logging(19760): Camera2Session: Camera device closed.
D/FlutterWebRTCPlugin(19760): CameraEventsHandler.onFirstFrameAvailable

why is

I/org.webrtc.Logging(19760): EglRenderer: Duration: 4004 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.


I/org.webrtc.Logging(19760): EglRenderer: Duration: 4002 ms. Frames received: 109. Dropped: 0. Rendered: 109. Render fps: 27.2. Average render time: 2068 us. Average swapBuffer time: 1749 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4003 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 30.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4002 ms. Frames received: 117. Dropped: 0. Rendered: 117. Render fps: 29.2. Average render time: 960 us. Average swapBuffer time: 745 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4004 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 29.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4001 ms. Frames received: 117. Dropped: 0. Rendered: 116. Render fps: 29.0. Average render time: 970 us. Average swapBuffer time: 740 us.
I/org.webrtc.Logging(19760): CameraStatistics: Camera fps: 30.
I/org.webrtc.Logging(19760): EglRenderer: Duration: 4004 ms. Frames received: 0. Dropped: 0. Rendered: 0. Render fps: .0. Average render time: NA. Average swapBuffer time: NA.