AgoraIO-Extensions / Agora-Flutter-SDK

Flutter plugin of Agora RTC SDK for Android/iOS/macOS/Windows
https://pub.dev/packages/agora_rtc_engine
MIT License
739 stars 382 forks source link

Agora RawData CRASHES!! #1144

Closed Executer13 closed 1 year ago

Executer13 commented 1 year ago

I am facing the crash when i try to either run the example in the Agora RawData repository. The error trace is: ' Launching lib\main.dart on vivo 1907 19 in debug mode... √ Built build\app\outputs\flutter-apk\app-debug.apk. I/flutter (10806): The Dart VM service is listening on **** I/BufferQueueProducer(10806): ViewRootImpl[MainActivity]#0(BLAST Consumer)0 disconnect: api 1 I/GED (10806): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 24, oppidx_max 24, oppidx_min 0 I/GED (10806): ged_boost_gpu_freq, level 100, eOrigin 2, final_idx 24, oppidx_max 24, oppidx_min 0 Connecting to VM Service at ws://127.0.0.1:51485/UaC-TMbhJeE=/ws E/spdlog (10806): [2023-06-14 15:51:43.225] [10806] [error] [iris_logger.cc:114] reset logger with path /iris.log exception Failed opening file /iris.log for writing: Read-only file system I/rawdata_exampl(10806): Thread[1,tid=10806,Native,Thread*=0xb400007016e93010,peer=0x72427a08,"main"] recursive attempt to load library "/data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libAgoraRtcWrapper.so" I/spdlog (10806): [2023-06-14 15:51:43.523] [10806] [info] [iris_logger.cc:116] reset logger with path /storage/emulated/0/Android/data/com.example.agora_rtc_rawdata_example/files/agora-iris-rtc.log I/Choreographer(10806): Skipped 76 frames! The application may be doing too much work on its main thread. E/ion (10806): ioctl c0044901 failed with code -1: Invalid argument D/hw-ProcessState(10806): Binder ioctl to enable oneway spam detection failed: Invalid argument I/spdlog (10806): [2023-06-14 15:51:44.220] [10806] [info] [iris_rtc_engine_impl.cc:53] IrisRtcEngineImpl Initialize I/spdlog (10806): [2023-06-14 15:51:44.222] [10806] [info] [iris_logger.cc:116] reset logger with path /storage/emulated/0/Android/data/com.example.agora_rtc_rawdata_example/files/agora-iris-rtc.log E/OpenGLRenderer(10806): Device claims wide gamut support, cannot find matching config, error = EGL_SUCCESS W/OpenGLRenderer(10806): Failed to initialize 101010-2 format, error = EGL_SUCCESS I/BufferQueueProducer(10806): ViewRootImpl[MainActivity]#0(BLAST Consumer)0 connect: api=1 producerControlledByApp=true E/OpenGLRenderer(10806): fbcNotifyFrameComplete error: undefined symbol: fbcNotifyFrameComplete E/OpenGLRenderer(10806): fbcNotifyNoRender error: undefined symbol: fbcNotifyNoRender I/spdlog (10806): [2023-06-14 15:51:44.503] [10806] [info] [iris_rtc_engine_impl.cc:95] api name RtcEngine_initialize params {"context":{"appId":"fb7*1e4","channelProfile":1}} I/spdlog (10806): [2023-06-14 15:51:44.506] [10806] [info] [iris_logger.cc:116] reset logger with path /storage/emulated/0/Android/data/com.example.agora_rtc_rawdata_example/files/agora-iris-rtc.log I/spdlog (10806): [2023-06-14 15:51:44.508] [10806] [info] [iris_logger.cc:116] reset logger with path /storage/emulated/0/Android/data/com.example.agora_rtc_rawdata_example/files/agora-iris-rtc.log I/agora.io(10806): [AGS]: Agora SDK ver 4.2.0 build 265260 I/agora.io(10806): [AGS]: Agora SDK git ver: and branch: I/agora.io(10806): (00000000): RtcEngine::initialize(this:0x6fa7268670, {"context":{"eventHandler":"0x6ee6f51af0", "areaCode":4294967295, "logConfig":{"filePath":""}, "autoRegisterAgoraExtensions":1}}) I/agora.io(10806): (00000001): RtcEngine::initializeEx(this:0x6fa7268670, context:(isPassThruMode:0 maxOutputBitrateKpbs:30000, channelProfile:1, audioScenario:0, areaCode:4294967295)) I/agora.io(10806): (00000002): RtcEngine::startService(this:0x6fa7268670, context:(isPassThruMode:0, maxOutputBitrateKpbs:30000)) I/agora.io(10806): (00000003): RtcEngine::initLowLevelModules(this:0x6fa7268670, void) I/agora.io(10806): (00000004): AgoraService::initializeEx(this:0x6f56ef17d0, configEx:(engineType:0, enableAudioProcessor:1, enableAudioDevice:1, enableVideo:1, context:0x30fa, bitrateConstraints:(min_bitrate_bps:0, start_bitrate_bps:300000, min_bitrate_bps:0), logDir: , domainLimit:0)) I/agora.io(10806): [AudioRoute] initialize + D/CompatibilityChangeReporter(10806): Compat change id reported: 147600208; UID 10711; state: ENABLED I/agora.io(10806): WebRtcAudioRecord [JavaAdm]: [USB] Set AudioRecordRouteCallback I/agora.io(10806): WebRtcAudioTrack [JavaAdm]: [USB] Set AudioTrackRouteCallback I/agora.io(10806): [AudioRoute] AudioDeviceCallbackImpl ctor! W/rawdata_example(10806): type=1400 audit(0.0:292166): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example W/rawdata_example(10806): type=1400 audit(0.0:292167): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example W/libc (10806): Access denied finding property "net.dns1" W/libc (10806): Access denied finding property "net.dns2" W/libc (10806): Access denied finding property "net.dns3" W/libc (10806): Access denied finding property "net.dns4" I/agora.io(10806): [AudioRoute] Headset setup: Plugged = false mHeadsetType -1 I/agora.io(10806): [AudioRoute] BT Headset setup: Plugged = false I/AudioManager(10806): In isBluetoothScoOn(), calling application: com.example.agora_rtc_rawdata_example D/AudioManager(10806): isBluetoothScoOn()=false I/agora.io(10806): [AudioRoute] initial Bluetooth SCO state disable I/agora.io(10806): [AudioRoute] Monitor stopped I/AudioManager(10806): In isBluetoothScoOn(), calling application: com.example.agora_rtc_rawdata_example D/AudioManager(10806): isBluetoothScoOn()=false I/agora.io(10806): [AudioRoute] initialize - W/rawdata_example(10806): type=1400 audit(0.0:292168): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example I/agora.io(10806): [PIP]: AreaCode set by parameter: -1 I/agora.io(10806): [AudioRoute] not handle this route 1 yet! I/agora.io(10806): [AudioRoute] processDevicesChanged : 1 connect I/agora.io(10806): [AudioRoute] not handle this route 3 yet! I/agora.io(10806): [AudioRoute] processDevicesChanged : 3 connect I/agora.io(10806): [AudioRoute] not process connect output device type: 18 I/agora.io(10806): [AudioRoute] not process connect input device type: 15 I/agora.io(10806): [AudioRoute] not process connect input device type: 18 I/agora.io(10806): [AudioRoute] not process connect input device type: 15 I/agora.io(10806): [AudioRoute] not process connect input device type: 25 I/agora.io(10806): [AudioRoute] not process connect input device type: 16 I/agora.io(10806): [AudioRoute] not process connect input device type: 28 I/agora.io(10806): [AudioRoute] BT ACTION_SCO_AUDIO_STATE_UPDATED prev -1,0 I/agora.io(10806): [AudioRoute] Bluetooth SCO state disconnected I/agora.io(10806): [cache-certs] load aut certs size: 0 W/agora.io(10806): set_priorities not supported!! W/AgMajor (10806): type=1400 audit(0.0:292169): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example W/AgMajor (10806): type=1400 audit(0.0:292170): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example W/libc (10806): Access denied finding property "net.dns1" W/libc (10806): Access denied finding property "net.dns2" W/libc (10806): Access denied finding property "net.dns3" W/libc (10806): Access denied finding property "net.dns4" W/AgMajor (10806): type=1400 audit(0.0:292171): avc: granted { nlmsg_readpriv } for scontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tcontext=u:r:untrusted_app_29:s0:c199,c258,c512,c768 tclass=netlink_route_socket app=com.example.agora_rtc_rawdata_example I/agora.io(10806): RtcAndroidBridge notifyNetworkChange I/agora.io(10806): [ipstack]: start ipv4 detecting I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap1-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap4.agora.io I/agora.io(10806): [ap-base] queryDns ap1-ipv6.agora.io I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap-tds-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [CS]: initialized ap list I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap-tds-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [ap-6][tds] client: SendRequest I/agora.io(10806): [ap-6][tds] client: DoProcess, now: 267623153, retry times: 0 I/agora.io(10806): create session builder 0x6fa72196e0 I/agora.io(10806): [ap-6][tds] send message to: 3.**.78:8443, with opid: 1643810158, transport type = aut(5), send ts = 267623153 I/agora.io(10806): create session builder 0x6fa721b510 I/agora.io(10806): [ap-6][tds] send message to: 50.**.121:8443, with opid: 1643810159, transport type = aut(5), send ts = 267623153 I/agora.io(10806): create session builder 0x6fa71f5500 I/agora.io(10806): [ap-6][tds] send message to: 52.**.244:8443, with opid: 1643810160, transport type = aut(5), send ts = 267623153 I/agora.io(10806): tcp_client connecting *:8443 I/agora.io(10806): [ap-6][tds] connect to: 101.**.165:8443, with opid: 1643810161, transport type = tcp(1), send ts = 267623153 I/agora.io(10806): [CS]: Send AP Request, service_id = 6 I/agora.io(10806): [CommonUtility] manufacturer = vivo I/agora.io(10806): [CommonUtility] suspectCount = 0, hardware = mt6768, arch = aarch64, baseBandVersion = , buildFlavor = full_k68v1_64-user, productBoard = k68v1_64, boardPlatform = mt6768, manufacturer = vivo I/AudioManager(10806): In isSpeakerphoneOn(), calling application: com.example.agora_rtc_rawdata_example I/AudioManager(10806): In isBluetoothScoOn(), calling application: com.example.agora_rtc_rawdata_example D/AudioManager(10806): isBluetoothScoOn()=false W/rawdata_exampl(10806): Accessing hidden method Landroid/media/AudioManager;->getDevicesForStream(I)I (unsupported, reflection, allowed) I/agora.io(10806): [AudioRoute] System playout device: 2 I/agora.io(10806): [RS] queryDns domain is report-edge.agora.io I/agora.io(10806): [BS]: dns not match in cache, domain is report-edge.agora.io I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap1-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap4.agora.io I/agora.io(10806): [ap-base] queryDns ap1-ipv6.agora.io I/agora.io(10806): [ap-0][unknown] client: StopRequest I/agora.io(10806): [ap-5][report] client: SendRequest I/agora.io(10806): [ap-5][report] client: DoProcess, now: 267623173, retry times: 0 I/agora.io(10806): create session builder 0x6fa7189c50 I/agora.io(10806): [ap-5][report] send message to: 3.**.78:8443, with opid: 142780127, transport type = aut(5), send ts = 267623173 I/agora.io(10806): tcp_client connecting ***:8443 I/agora.io(10806): [ap-5][report] connect to: 101.**.165:8443, with opid: 142780128, transport type = tcp(1), send ts = 267623173 I/agora.io(10806): [rlbs] Send AP Request, service_id = 5 I/agora.io(10806): [xdump]: xdump setting, enabled:1, upload enabled:1, save enabled:1, use config:0 I/agora.io(10806): [xdump]: will check last crash context from /data/user/0/com.example.agora_rtc_rawdata_example/cache/crash_context_v1 I/agora.io(10806): [xdump]: no crash or hang found about last time I/agora.io(10806): ExtensionControlImpl::Extension Control is initialized 0x6f26f92f40 I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%noise_suppression_local_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%equalization_local_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%pitch_local_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%formant_local_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%local_voice_reverb_local_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%equalization_post exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%pitch_post exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%formant_post exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%local_voice_reverb_post exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%sound_position_remote_playback exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%sound_position_pcm exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%pitch_pcm exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%formant_pcm exist I/agora.io(10806): ExtensionControlImpl::Get Extension Control 0x6f26f92f40 I/agora.io(10806): ExtensionProviderRegistry::extension:agora.builtin%%headphone_equalizer_remote_mixed_playback exist I/agora.io(10806): metering collector is working, internal = 10s. I/agora.io(10806): (00000005): AgoraService::setLogFilter(this:0x6f56ef17d0, filters:15) I/agora.io(10806): [AGS]: TDS value found for adm_android_mode : -1 I/agora.io(10806): [RERA]: initialize event rule for space id:0 I/agora.io(10806): audio options factoryname ==default: vector===6 I/agora.io(10806): audio options factoryname ==default: vector===6 I/agora.io(10806): [AuEng]: Audio layer get from audio options: 6 I/agora.io(10806): [AuEng]: Audio layer get from audio routing: 6 I/agora.io(10806): audio_device_impl.cc: (line 54): Create I/agora.io(10806): audio_device_buffer.cc: (line 66): AudioDeviceBuffer::ctor I/agora.io(10806): audio_device_impl.cc: (line 90): AudioDeviceModuleImpl I/agora.io(10806): audio_device_impl.cc: (line 95): CheckPlatform I/agora.io(10806): audio_device_impl.cc: (line 103): current platform is Android I/agora.io(10806): audio_device_impl.cc: (line 125): CreatePlatformSpecificObjects I/agora.io(10806): audio_device_impl.cc: (line 1533): PlatformAudioLayer W/agora.io(10806): set_priorities not supported!! W/agora.io(10806): audio_device_generic_worker_wrapper.cc: (line 93): audio_layer_in is: 6 I/agora.io(10806): jvm_android.cc: (line 74): AttachCurrentThreadIfNeeded::ctor I/agora.io(10806): jvm_android.cc: (line 266): JVM::environment I/agora.io(10806): jvm_android.cc: (line 188): JNIEnvironment::ctor I/agora.io(10806): audio_manager.cc: (line 126): ctor I/agora.io(10806): jvm_android.cc: (line 200): JNIEnvironment::RegisterNatives: io/agora/base/internal/voiceengine/WebRtcAudioManager I/agora.io(10806): jvm_android.cc: (line 136): NativeRegistration::ctor I/agora.io(10806): jvm_android.cc: (line 148): NativeRegistration::NewObject I/agora.io(10806): WebRtcAudioManager: ctor@[name=AudioDeviceWorker, id=17913] W/agora.io(10806): WebRtcAudioManager: bufferPeriodMs is: 10 I/agora.io(10806): WebRtcAudioManager: Sample rate is set to 48000 Hz I/AudioEffect(10806): queryNumberEffects(): *numEffects = 19, ret = 0 I/agora.io(10806): WebRtcAudioEffects: canUseAcousticEchoCanceler: true I/agora.io(10806): WebRtcAudioEffects: canUseNoiseSuppressor: true W/agora.io(10806): WebRtcAudioManager: AAudio support is currently disabled on all devices! I/agora.io(10806): audio_manager.cc: (line 416): OnCacheAudioParameters: hardware_aec: 1, hardware_agc: 0, hardware_ns: 1, low_latency_output: 1, low_latency_input: 1, pro_audio: 0, a_audio: 0, sample_rate: 48000, output_channels: 2, input_channels: 1, output_buffer_size: 480, input_buffer_size: 480, buffer_period_ms: 10 I/agora.io(10806): WebRtcAudioManager: Android SDK: 31, Release: 12, Brand: vivo, Device: 1907, Id: SP1A.210812.003, Hardware: mt6768, Manufacturer: vivo, Model: vivo 1907_19, Product: 1907 I/AudioManager(10806): In isSpeakerphoneOn(), calling application: com.example.agora_rtc_rawdata_example I/AudioManager(10806): In isBluetoothScoOn(), calling application: com.example.agora_rtc_rawdata_example D/AudioManager(10806): isBluetoothScoOn()=false I/agora.io(10806): WebRtcAudioManager: Audio State: audio mode: MODE_NORMAL, has mic: true, mic muted: false, music active: false, speakerphone: false, BT SCO: false I/agora.io(10806): WebRtcAudioManager: Audio State: I/agora.io(10806): WebRtcAudioManager: fixed volume=false I/agora.io(10806): WebRtcAudioManager: STREAM_VOICE_CALL: volume=6, max=6, muted=false I/agora.io(10806): WebRtcAudioManager: STREAM_MUSIC: volume=15, max=15, muted=false I/agora.io(10806): WebRtcAudioManager: STREAM_RING: volume=0, max=7, muted=true I/agora.io(10806): WebRtcAudioManager: STREAM_ALARM: volume=0, max=7, muted=true I/agora.io(10806): WebRtcAudioManager: STREAM_NOTIFICATION: volume=0, max=7, muted=true I/agora.io(10806): WebRtcAudioManager: STREAM_SYSTEM: volume=0, max=7, muted=true I/agora.io(10806): WebRtcAudioManager: Audio Devices: I/agora.io(10806): WebRtcAudioManager: TYPE_BUILTIN_EARPIECE(out): channels=[1], encodings=[2, 4, 22], sample rates=[48000, 44100], id=2 I/agora.io(10806): WebRtcAudioManager: TYPE_BUILTIN_SPEAKER(out): channels=[2], encodings=[2, 4, 22], sample rates=[48000, 44100], id=3 I/agora.io(10806): WebRtcAudioManager: TYPE_TELEPHONY(out): channels=[2], encodings=[2, 4, 22], sample rates=[48000, 44100], id=10 I/agora.io(10806): WebRtcAudioManager: TYPE_BUILTIN_MIC(in): channels=[1, 2], encodings=[2], sample rates=[8000, 16000, 32000, 48000, 44100], id=13 I/agora.io(10806): WebRtcAudioManager: TYPE_TELEPHONY(in): channels=[1, 2], encodings=[2], sample rates=[8000, 16000, 32000, 48000, 44100], id=16 I/agora.io(10806): WebRtcAudioManager: TYPE_BUILTIN_MIC(in): channels=[1, 2], encodings=[2], sample rates=[8000, 16000, 32000, 48000, 44100], id=14 I/agora.io(10806): WebRtcAudioManager: TYPE_UNKNOWN(in): channels=[2], encodings=[2], sample rates=[48000], id=21 I/agora.io(10806): WebRtcAudioManager: TYPE_FM_TUNER(in): channels=[1, 2], encodings=[2], sample rates=[8000, 16000, 32000, 48000, 44100], id=18 I/agora.io(10806): WebRtcAudioManager: TYPE_UNKNOWN(in): channels=[1, 2], encodings=[2], sample rates=[8000, 16000, 32000, 48000, 44100], id=19 I/agora.io(10806): jvm_android.cc: (line 99): GlobalRef::ctor I/agora.io(10806): audio_manager.cc: (line 50): JavaAudioManager::ctor W/ratelimit(10806): Single process limit 200/s drop 69 lines. I/agora.io(10806): fixed_gain_controller.cc:59 - Gain to apply: 0 db. I/agora.io(10806): [AFC]: AudioFilterCompositeWithExtension name:remote_mixed_playback, extensionTypeSet size:1 I/agora.io(10806): [AFC]: create extension audio filters, extensionTypeSet size:1 I/agora.io(10806): [AFC]: create extension audio filter, extension type:10006 extension_list size:1 I/agora.io(10806): [AFC]: create extension audio filter, extension type:10006 internal_id:agora.builtin%%headphone_equalizer_remote_mixed_playback filter:headphone_equalizer_remote_mixed_playback auto_enable:0 I/agora.io(10806): [AFC]: add extension audio filter:headphone_equalizer_remote_mixed_playback to filter composite:remote_mixed_playback I/agora.io(10806): WebrtcAudioEngine: CreateTxMixer W/agora.io(10806): set_priorities not supported!! I/agora.io(10806): audio_processing_impl.cc:254 - [Default_APM] AudioProcessingImpl::ctor(0x7096FB7840) I/agora.io(10806): echo_cancellation_impl.cc:225 - EchoCancellationImpl::ctor(0x6FA717B7C0) I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): audio_processing_impl.cc:280 - [Default_APM] Capture post processor activated: 0 I/agora.io(10806): Render pre processor activated: 0 I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): [Default_APM] [ANS CONFIG] ngkPostFilterMargin = -1 I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -0.010000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): [Default_APM] [ED CONFIG] howlingActivaty = 1 I/agora.io(10806): [Default_APM] [ED CONFIG] howlingLife = -1 I/agora.io(10806): [Default_APM] [ED CONFIG] howlingSuppression = 1 I/agora.io(10806): [Default_APM] [ED CONFIG] howlingBound = 10 I/agora.io(10806): [Default_APM] [ED CONFIG] howlingTrustfactor = 3 I/agora.io(10806): audio_processing_impl.cc:254 - [Default_Loopback_APM] AudioProcessingImpl::ctor(0x7096FE0290) I/agora.io(10806): echo_cancellation_impl.cc:225 - EchoCancellationImpl::ctor(0x6FA7277C40) I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): audio_processing_impl.cc:280 - [Default_Loopback_APM] Capture post processor activated: 0 I/agora.io(10806): Render pre processor activated: 0 I/agora.io(10806): ains extension not enable I/agora.io(10806): ains factory is nullptr I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -1.000000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): [Default_Loopback_APM] [ANS CONFIG] ngkPostFilterMargin = -1 I/agora.io(10806): NSNG: route -1, delaymode 1, fftsize 512, postfiltermargin -0.010000, enhai 1.000000, enhsta 2.000000, stabound 0.050000, gainboost 2.000000, finalmask 0.030000,staStartupLong 125,staStartupShort 31,staQuantile 0.250000,staNoiseUpdateFactor 0.844900,staSpeechUpdateFactor 0.984000,staOverdrive 1.100000 I/agora.io(10806): [Default_Loopback_APM] [ED CONFIG] howlingActivaty = 1 I/agora.io(10806): [Default_Loopback_APM] [ED CONFIG] howlingLife = -1 I/agora.io(10806): [Default_Loopback_APM] [ED CONFIG] howlingSuppression = 1 I/agora.io(10806): [Default_Loopback_APM] [ED CONFIG] howlingBound = 10 I/agora.io(10806): [Default_Loopback_APM] [ED CONFIG] howlingTrustfactor = 3 I/agora.io(10806): audio_device_buffer.cc: (line 66): AudioDeviceBuffer::ctor I/agora.io(10806): audio_device_buffer.cc: (line 212): SetRecordingSampleRate(48000) I/agora.io(10806): audio_device_buffer.cc: (line 260): SetRecordingChannels(1) W/agora.io(10806): set_priorities not supported!! I/agora.io(10806): audio_transport_impl.cc: (line 59): SetPlaybackDataExtraProcessing processing = 0x6f36ea6958. I/agora.io(10806): audio_transport_impl.cc: (line 52): SetRecordedDataExtraProcessing processing = 0x6f36eab998. I/agora.io(10806): uplink_audio_processing_proxy.cc: (line 331): SetRecordedDataExtraProcessing processing = 0x6f36eab998. I/agora.io(10806): audio_transport_impl.cc: (line 65): SetRecordedDataExtraProcessingEnable enable = 1. I/agora.io(10806): uplink_audio_processing_proxy.cc: (line 339): SetRecordedDataExtraProcessingEnable enable = 1. I/agora.io(10806): audio_device_impl.cc: (line 1227): RegisterAudioCallback I/agora.io(10806): audio_device_buffer.cc: (line 92): RegisterAudioCallback I/agora.io(10806): audio options factoryname ==default: vector===6 I/agora.io(10806): [AOF]: Current chatModeIsEnabled: 0 W/agora.io(10806): [AOF]: Restart adm for recording channels changed, 1 - > 2 W/agora.io(10806): [AOE]: update hardware ear monitor to: 1 W/agora.io(10806): [AOF]: enable preferred aec delay: 1 I/agora.io(10806): [AOF]: ADM will be restarted I/agora.io(10806): audio_device_impl.cc: (line 354): Reconfigure I/agora.io(10806): audio_device_impl.cc: (line 362): Reconfigure audio_layer = 6, audiolayer = 6, active audio layer = 6 W/agora.io(10806): audio_device_impl.cc: (line 370): Reconfigure with same audio layer. I/agora.io(10806): [AOE]: EnableAudioChatMode: 0 I/agora.io(10806): audio_device_impl.cc: (line 1321): EnableAudioChatMode(0) I/agora.io(10806): audio_device_impl.cc: (line 1325): output: 0 I/agora.io(10806): [AOE]: set adm input params, audioSource: 1, inputSampleRate: 48000, inputChannels: 2, enableEstimatedDeviceDelay: 1, enableBuiltin3a: 0, extraRecordLatency: 0 I/agora.io(10806): [AOE]: update input sampleRate 48000 I/agora.io(10806): audio_device_impl.cc: (line 1280): SetRecordParameters W/agora.io(10806): audio_device_generic_worker_wrapper.cc: (line 850): SetRecordParameters(0x6ceeaaa878) I/agora.io(10806): audio_device_impl.cc: (line 1287): output: 0 I/agora.io(10806): [AOE]: set adm output params, playoutBufSizeFactor: 100, ontputSampleRate: 48000, outputChannels: 2, enableEstimatedDeviceDelay: 1, enableLowlatencyPlayout: 0, extraPlayoutLatency: 0 I/agora.io(10806): audio_device_template.h: (line 241): EnableAudioChatMode I/agora.io(10806): audio_device_impl.cc: (line 1292): SetPlayoutParameters W/agora.io(10806): audio_device_generic_worker_wrapper.cc: (line 894): SetPlayoutParameters(0x6ceeaaa880) I/agora.io(10806): audio_device_impl.cc: (line 1299): output: 0 I/agora.io(10806): [AOF]: enable_aec: 0, enable_agc: 0, enable_ns: 0, enable_md: 0 W/agora.io(10806): [AOF]: Reset apm capture state as adm restarted or route changed I/agora.io(10806): audio_processing_impl.cc:1459 - [Default_APM] reset_apm_capture_state(0x7096FB7840) I/agora.io(10806): audio_processing_impl.cc:1459 - [Default_Loopback_APM] reset_apm_capture_state(0x7096FE0290) I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.linear_filter_length_ms = 0 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.pure_aec_processing = 0 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.ainlp_perf_profile_method = 1 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.ainlp_reset_period_in_ms = 6400 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.ainlp_reset_ratio = 90 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.ainlp_fallback_period_in_micro_second = 8000 I/agora.io(10806): [AOE]: update_apm_audio_routing, changed to route=1 I/agora.io(10806): [Default_APM] [ANS CONFIG] ans_config.routing = 1 I/agora.io(10806): [Default_APM] [AGC CONFIG] agc_config.target_level_dbfs = 6 I/agora.io(10806): [Default_APM] [AGC CONFIG] agc_config.compression_gain_db = 12 I/agora.io(10806): [Default_APM] [AGC CONFIG] agc_config.limiter_enabled = 0 I/agora.io(10806): [Default_APM] [AGC CONFIG] agc_config.routing = 1 I/agora.io(10806): [Default_APM] [AEC CONFIG] aec_config.linear_filter_length_ms = 48 I/agora.io(10806): [AOF]: mic selection: 0 I/agora.io(10806): uplink_audio_processing_proxy.cc: (line 318): EnableMicSelection enable = 0. W/agora.io(10806): apm_ains_mode already set to -1 I/agora.io(10806): [Default_APM] [HPF CONFIG] high_pass_filter.enabled = 1 I/agora.io(10806): uplink_audio_processing_proxy.cc: (line 324): EnableAnalogAGC enable = 0. I/agora.io(10806): WebRtcAudioManager: set audio mode to: MODE_NORMAL curr: MODE_NORMAL W/agora.io(10806): [BW]: (long time task) [ExternalThread ==> AgMajor] agora_service_impl.cpp:473: pickup time 0, execute time 420, overall time 420 I/agora.io(10806): RtcAndroidBridge notifyNetworkChange W/agora.io(10806): [BW]: (long time task) [ExternalThread --> AgMajor] android_rtc_bridge.cpp:183: pickup time 280, execute time 0, overall time 280 I/agora.io(10806): [network]: 'NETWORK_UNKOWN' -> 'WIFI' ipv4/v6 '192.**.13'/'' gw '192.**.1'/'' subtype 100 level 4 ssid '' bssid '' rssi -50 asu -100 I/agora.io(10806): [SHIM] NotifyNetworkPreChang I/agora.io(10806): [ipstack]: start ipv4 detecting I/agora.io(10806): [ap-base] network is changed, reinitizlize ap list I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap1-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap4.agora.io I/agora.io(10806): [ap-base] queryDns ap1-ipv6.agora.io I/agora.io(10806): [ap-base] network is changed, reinitizlize ap list I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap-tds-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [ap-base] queryDns ap1-tds.agora.io I/agora.io(10806): [SHIM] NotifyNetworkChanged from -1 to 2 I/agora.io(10806): [ap-6][tds] client: StopRequest I/agora.io(10806): destroy session builder 0x6fa721b510 I/agora.io(10806): destroy session builder 0x6fa71f5500 I/agora.io(10806): destroy session builder 0x6fa72196e0 I/agora.io(10806): [ap-6][tds] client: SendRequest I/agora.io(10806): [ap-6][tds] client: DoProcess, now: 267623389, retry times: 0 I/agora.io(10806): create session builder 0x6fa7252920 I/agora.io(10806): [ap-6][tds] send message to: 3.**.78:8443, with opid: 1643810162, transport type = aut(5), send ts = 267623389 I/agora.io(10806): create session builder 0x6fa7203540 I/agora.io(10806): [ap-6][tds] send message to: 50.**.121:8443, with opid: 1643810163, transport type = aut(5), send ts = 267623389 I/agora.io(10806): create session builder 0x6fa71e2b70 I/agora.io(10806): [ap-6][tds] send message to: 52.**.244:8443, with opid: 1643810164, transport type = aut(5), send ts = 267623389 I/agora.io(10806): tcp_client connecting *:8443 I/agora.io(10806): [ap-6][tds] connect to: 101.**.165:8443, with opid: 1643810165, transport type = tcp(1), send ts = 267623389 I/agora.io(10806): [CS]: Send AP Request, service_id = 6 I/agora.io(10806): [ap-base] initialize ap list I/agora.io(10806): [ap-base] append predefined ip: 101.**.165, 18.**.64, 184.**.217, 3.**.239, 168.**.216, 3.**.108, 15.**.208, 18.**.59, 54.**.11, 123.**.221, 13.**.184, 52.**.111, 52.**.238, 20.**.143, 3.**.253, 18.**.254, 54.**.178, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] append predefined ip: 3.**.78, 50.**.121, 52.**.244, 54.**.72, 15.**.129, 13.**.137, 199.**.132, 52.**.59, 52.**.170, 35.**.187, 13.**.196, 13.**.235, 23.**.152, 47.**.93, 112.**.46, 106.**.130, 118.**.38, 2600:**:121, 2406:**:59, I/agora.io(10806): [ap-base] queryDns ap1-tls.agora.io I/agora.io(10806): [ap-base] queryDns ap4.agora.io I/agora.io(10806): [ap-base] queryDns ap1-ipv6.agora.io I/agora.io(10806): [ap-5][report] client: StopRequest I/agora.io(10806): destroy session builder 0x6fa7189c50 I/agora.io(10806): [RS] queryDns domain is report-edge.agora.io I/agora.io(10806): [BS]: dns not match in cache, domain is report-edge.agora.io I/agora.io(10806): [ap-5][report] client: StopRequest I/agora.io(10806): [ap-5][report] client: SendRequest I/agora.io(10806): [ap-5][report] client: DoProcess, now: 267623403, retry times: 0 I/agora.io(10806): create session builder 0x6fa7124280 I/agora.io(10806): [ap-5][report] send message to: 3.**.78:8443, with opid: 142780129, transport type = aut(5), send ts = 267623403 I/agora.io(10806): tcp_client connecting *:8443 I/agora.io(10806): [ap-5][report] connect to: 101.**.165:8443, with opid: 142780130, transport type = tcp(1), send ts = 267623403 I/agora.io(10806): [rlbs] Send AP Request, service_id = 5 W/agora.io(10806): [BW]: (long time task) [AgMajor --> AgMajor] network_monitor.cpp:88: pickup time 253, execute time 24, overall time 277 I/agora.io(10806): (00000006): AgoraService::createAudioDeviceManager(this:0x6f56ef17d0, void) I/agora.io(10806): (00000007): AudioDeviceManagerImpl::setDefaultAudioRouting(this:0x6ef6f62f30, route:3) I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): create dangling client connection 0x6fc6f07420 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): (00000008): AgoraService::setAudioSessionPreset(this:0x6f56ef17d0, scenario:0) I/agora.io(10806): [AudioRoute] User set default routing to:Speakerphone I/agora.io(10806): (00000009): AgoraService::registerAgoraServiceObserver(this:0x6f56ef17d0, observer:0x6f16f986b8) I/agora.io(10806): [remote:3.**.78:8443] start 0th connect, send client hello 3954678|syn, early data: 0, tags: SNI :332d302d3136...(24), PDMD:, CPTO:4e4f4e432000...(129), CID: 3855983057277000109 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): create dangling client connection 0x6fc6f6a050 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [remote:50.**.121:8443] start 0th connect, send client hello 3867535|syn, early data: 0, tags: SNI :35302d31372d...(27), PDMD:, CPTO:4e4f4e432000...(129), CID: 15933751439824461930 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): create dangling client connection 0x6fc6f6c110 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [remote:52.**.244:8443] start 0th connect, send client hello 4719720|syn, early data: 0, tags: SNI :35322d35382d...(26), PDMD:, CPTO:4e4f4e432000...(129), CID: 16338390351033537218 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): create dangling client connection 0x6fc6f6d170 I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [SHIM] IsCryptoEnabled() = true I/agora.io(10806): [remote:3.**.78:8443] start 0th connect, send client hello 1439575|syn, early data: 0, tags: SNI :332d302d3136...(24), PDMD:, CPTO:4e4f4e432000...(129), CID: 13017045734393027708 I/agora.io(10806): [dns] parsed ip ** I/agora.io(10806): [dns] parsed ip ** I/agora.io(10806): [dns] parsed ip *** I/agora.io(10806): [ap-base] OnParsedDns ap-tds-tls.agora.io with err 0, 150.**.16, 152.**.146, 129.**.189, I/agora.io(10806): [ap-6][tds] client: OnSetDnsResult, will try to use DNS to connect I/agora.io(10806): [ap-base] OnParsedDns ap1-ipv6.agora.io with err 0, 2406:**:86, 2406:**:72, I/agora.io(10806): [ap-5][report] client: OnSetDnsResult, will try to use DNS to connect I/agora.io(10806): [RTC]: No TDS value found for video.set_remote_video_stream_type I/agora.io(10806): (00000010): AgoraService::createMediaNodeFactory(this:0x6f56ef17d0, void) W/ratelimit(10806): Single process limit 200/s drop 991 lines. W/AudioTrack(10806): restartIfDisabled(9191): releaseBuffer() track 0x6fb6f2adc0 disabled due to previous underrun, restarting W/agora.io(10806): [AudioDeviceEventHandlerAndroid] AudioDeviceMalfunctionCheck: unknown adm type W/agora.io(10806): paced_sender.cc: (line 286): Elapsed time (2133 ms) longer than expected, limiting to 2000 ms W/agora.io(10806): opensles_player.cc: (line 575): [OpenslAdm] EnqueuePlayoutData In OpenSL ES playout callback, dT=1740 [ms] I/agora.io(10806): SaveSystemExtraLog /storage/emulated/0/Android/data/com.example.agora_rtc_rawdata_example/files/391E9DC0CEB24917CCE92189BBD1951C.logcat E/agora.io(10806): SaveSystemExtraLog error Success ! F/libc (10806): Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffffff9b7a79a6 in tid 11194 (AgMajor), pid 10806 (rawdata_example) Softversion: PD1913F_EX_A_9.9.20 Time: 2023-06-14 15:51:48


Build fingerprint: 'vivo/1907/1907:12/SP1A.210812.003/compiler04241648:user/release-keys' Revision: '0' ABI: 'arm64' Timestamp: 2023-06-14 15:51:47.818117257+0500 Process uptime: 0s Cmdline: com.example.agora_rtc_rawdata_example pid: 10806, tid: 11194, name: AgMajor >>> com.example.agora_rtc_rawdata_example <<< uid: 10711 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xffffff9b7a79a6 x0 0000006f16fa17b0 x1 0000006f66edfab0 x2 ffffffff9b7a79a6 x3 0000006ea0c9d5ed x4 0000006ceeaae518 x5 0000006ee6f84278 x6 0000007160c93000 x7 000000000700d50c x8 0000006ceeaae6b8 x9 ffffffff9b7a79a6 x10 00000000fffffffe x11 000000000000002b x12 0000000000000010 x13 00000003e8000000 x14 0020bc015b138dde x15 00003922809d9879 x16 0000006cf72fec70 x17 0000006cf72d5760 x18 0000000000000000 x19 0000006ef6f6d1a0 x20 0000006ef6f6d190 x21 0000006eb6f61ef0 x22 0000006f86f19720 x23 0000006f86f19600 x24 0000006f86f196b8 x25 0000006ceeaaf000 x26 0000000000000001 x27 0000000000000000 x28 0000006cf217f000 x29 0000006ceeaae5d0 lr 0000006cf72d5ce8 sp 0000006ceeaae560 pc 0000006cf72d578c pst 0000000000000000 backtrace:

00 pc 000000000001578c /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libcpp.so (agora::VideoFrameObserver::NativeToJavaByteArray(_JNIEnv*, agora::media::base::VideoFrame&)+44) (BuildId: 61392b8cb339444b6995e5bc850d8584b490eff7)

  #01 pc 0000000000015ce4  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libcpp.so (agora::VideoFrameObserver::onRenderVideoFrame(char const*, unsigned int, agora::media::base::VideoFrame&)+116) (BuildId: 61392b8cb339444b6995e5bc850d8584b490eff7)
  #02 pc 00000000013c68ec  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #03 pc 0000000000dfbc64  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #04 pc 0000000000dfc334  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #05 pc 0000000000e0ac84  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #06 pc 0000000000e0b328  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #07 pc 0000000000e0afb8  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-rtc-sdk.so (BuildId: 7dfc2929ae6d3be3d84083484ecbc4c862800f51)
  #08 pc 0000000000020a88  /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libagora-core.so (BuildId: 81c2d6eb6ac9c26ca4d9963bd2730640e8a345ef)

Lost connection to device. Exited (sigterm)

'

A platform view has been registered and is working when i use AndroidVIew(viewType: 'OpenGLDisplayView') But it doesn't work when i initiate an observer like this:

var handle = await engine.getNativeHandle(); await AgoraRtcRawdata.registerVideoFrameObserver(handle); Here is configuration of PlatformView in .kt file: mGLDisplayViewFactory = GLDisplayViewFactory(messenger) binding.platformViewRegistry .registerViewFactory("OpenGLDisplayView", mGLDisplayViewFactory)

NOTE: I am performing this configuration in a local package which i am accessing via path. Do i need to change my mainActivity.java ?

How to Actively use 'OpenGLDisplayView' as a custom video stream? agora_rtc_rawdata: ^0.1.0 agora_rtc_engine: ^6.1.1

littleGnAl commented 1 year ago

I'm so sorry that I'm not sure what "OpenGLDisplayView" is, the agora_rtc_rawdata demo only work with the AgoraVideoView. The crash happens here:

#00 pc 000000000001578c /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libcpp.so (agora::VideoFrameObserver::NativeToJavaByteArray(_JNIEnv*, agora::media::base::VideoFrame&)+44) (BuildId: 61392b8cb339444b6995e5bc850d8584b490eff7)
#1 pc 0000000000015ce4 /data/app/~~XUmclAAgZ4nIAmFKqwyvkw==/com.example.agora_rtc_rawdata_example-e6KmpXYdqu_a1SJR_j53ZA==/lib/arm64/libcpp.so (agora::VideoFrameObserver::onRenderVideoFrame(char const*, unsigned int, agora::media::base::VideoFrame&)+116) (BuildId: 61392b8cb339444b6995e5bc850d8584b490eff7)

Since the demo plugin is built in your locally, you can de-symbol the crash stack by using the ndk-stack or address2line tool.

Executer13 commented 1 year ago

The issue is resolved thanks.

github-actions[bot] commented 1 year ago

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.