[000:037] [2023-09-23 13:16:47 +0000.
884555][601b] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-09-
23 13:16:47 +0000
[000:037] [2023-09-23 13:16:47 +0000.884679][601b] dump file m_prefix:-04-21-
feaf968
[000:040] [2023-09-23 13:16:47 +0000.887822][601b] dump filename:trace.txt dump
time:1695475007
[000:041] [2023-09-23 13:16:47 +0000.888019][601b] set AppID=50011 old AppID=-1
[000:041] [2023-09-23 13:16:47 +0000.888070][601b] Init the android object with
jvm:0xb400007be3975380 env:0x7b3c450080 context:0x7aeaca4308
[000:041] [2023-09-23 13:16:47 +0000.888102][601b] SetAndroidMediaCodecObjects
time:225977716 enter.
[000:041] [2023-09-23 13:16:47 +0000.888120][601b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[000:041] [2023-09-23 13:16:47 +0000.888134][601b] SetAndroidMediaCodecObjects
time:225977716 enter.
[000:041] [2023-09-23 13:16:47 +0000.888146][601b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb400007be3975380
[000:041] [2023-09-23 13:16:47 +0000.888158][601b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007be3975380 address:0x7b4ac02760
[000:041] [2023-09-23 13:16:47 +0000.888169][601b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007be3975380
address:0x7b4ac02760
[000:041] [2023-09-23 13:16:47 +0000.888181][601b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[000:041] [2023-09-23 13:16:47 +0000.888202][601b] Set the android objects with
jvm:0xb400007be3975380 env:0x7b3c450080 context:0x7aeaca4308
[000:042] [2023-09-23 13:16:47 +0000.889242][601b] audio jni debug :manager
SetAndroidAudioDeviceObjects env:0x7b3c450080
[000:042] [2023-09-23 13:16:47 +0000.889286][601b] SystemUtil Init done
[000:043] [2023-09-23 13:16:47 +0000.890598][601b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:045] [2023-09-23 13:16:47 +0000.892242][601b] MediaFilterCamera
[000:045] [2023-09-23 13:16:47 +0000.892293][601b] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:045] [2023-09-23 13:16:47 +0000.892396][601b] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:045] [2023-09-23 13:16:47 +0000.892432][601b] Recording session using default
bitrate support by app:31457280
[000:045] [2023-09-23 13:16:47 +0000.892458][63b6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aaaba1ec0
[000:045] [2023-09-23 13:16:47 +0000.892634][63b6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:045] [2023-09-23 13:16:47 +0000.892707][601b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:046] [2023-09-23 13:16:47 +0000.893224][601b] Error(ini.cc:191): Open the file
failed. error:2
[000:046] [2023-09-23 13:16:47 +0000.893259][601b]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:046] [2023-09-23 13:16:47 +0000.893273][601b] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:050] [2023-09-23 13:16:47 +0000.897103][601b] Error(ini.cc:191): Open the file
failed. error:2
[000:050] [2023-09-23 13:16:47 +0000.897173][601b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:050] [2023-09-23 13:16:47 +0000.897197][601b] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:050] [2023-09-23 13:16:47 +0000.897211][601b] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:050] [2023-09-23 13:16:47 +0000.897224][601b] Using Default AEC type: software
AEC
[000:051] [2023-09-23 13:16:47 +0000.898209][601b] The device model: redmi note 8
pro enum value: 0
[000:051] [2023-09-23 13:16:47 +0000.898715][601b] GetMachineModel is Redmi Note 8
Pro
[000:051] [2023-09-23 13:16:47 +0000.898759][601b] GetMachineInfo: Redmi Note 8
Pro
[000:051] [2023-09-23 13:16:47 +0000.898784][601b] Construct BeautifyReader
begin...
[000:051] [2023-09-23 13:16:47 +0000.898803][601b] dumpStickerRgba:0
dumpStickerYuv:0
[000:051] [2023-09-23 13:16:47 +0000.898859][601b] Construct BeautifyReader done.
[000:055] [2023-09-23 13:16:47 +0000.902158][601b] Error(ini.cc:191): Open the file
failed. error:2
[000:055] [2023-09-23 13:16:47 +0000.902204][601b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:055] [2023-09-23 13:16:47 +0000.902291][601b] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:055] [2023-09-23 13:16:47 +0000.902311][601b] AppDeviceManager telnet server
for statistics started......
[000:055] [2023-09-23 13:16:47 +0000.902326][63b9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7aaac780a0
[000:055] [2023-09-23 13:16:47 +0000.902657][601b] CpuOverloadDetect time:225977730
enter.
[000:055] [2023-09-23 13:16:47 +0000.902731][601b] CpuOverloadDetect leave. expire
time = 0 ms
[000:055] [2023-09-23 13:16:47 +0000.902755][63ba] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7addd5f080
[000:056] [2023-09-23 13:16:47 +0000.903312][601b] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:056] [2023-09-23 13:16:47 +0000.903341][601b] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:056] [2023-09-23 13:16:47 +0000.903561][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:056] [2023-09-23 13:16:47 +0000.903865][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:057] [2023-09-23 13:16:47 +0000.904457][601b] CreatePlatformSpecificObjects:
[000:057] [2023-09-23 13:16:47 +0000.904498][601b] audio device use opensle input
and opensl output
[000:057] [2023-09-23 13:16:47 +0000.904517][601b] Create OpenSLES output module
with java VM support.
[000:057] [2023-09-23 13:16:47 +0000.904646][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:058] [2023-09-23 13:16:47 +0000.904935][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:058] [2023-09-23 13:16:47 +0000.905376][601b] Create OpenSLES output module
with buffer num:1
[000:058] [2023-09-23 13:16:47 +0000.905743][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:059] [2023-09-23 13:16:47 +0000.906002][601b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:059] [2023-09-23 13:16:47 +0000.906194][601b] Create OpenSLES input module
with java VM support.
[000:059] [2023-09-23 13:16:47 +0000.906228][601b] Create OpenSLES input module
with buffer num:1
[000:059] [2023-09-23 13:16:47 +0000.906269][601b] Error(trace.cc:40): Init the
output and input for audio device template.
[000:059] [2023-09-23 13:16:47 +0000.906289][601b] Init the output device.
[000:059] [2023-09-23 13:16:47 +0000.906302][601b] Init the opensl input.
[000:059] [2023-09-23 13:16:47 +0000.906315][601b] AppDeviceManager get setting
samplerate: 0
[000:059] [2023-09-23 13:16:47 +0000.906655][601b] The device model: redmi note 8
pro enum value: 0
[000:060] [2023-09-23 13:16:47 +0000.907114][601b] The device model: redmi note 8
pro enum value: 0
[000:060] [2023-09-23 13:16:47 +0000.907140][601b] Set the sample rate to be:48000
[000:060] [2023-09-23 13:16:47 +0000.907153][601b] Enable the recording stereo:0
[000:060] [2023-09-23 13:16:47 +0000.907165][601b] Set the playout as stereo:1
[000:060] [2023-09-23 13:16:47 +0000.907185][601b] Init the microphone.
[000:062] [2023-09-23 13:16:47 +0000.909216][601b] Update the recording sample rate
to be: 48000
[000:062] [2023-09-23 13:16:47 +0000.909269][601b] Init the speaker.
[000:062] [2023-09-23 13:16:47 +0000.909295][601b] Low latency buffer size:256 low
sample rate:48000
[000:062] [2023-09-23 13:16:47 +0000.909539][601b] Using 1 x 10ms for an audio
frame.
[000:065] [2023-09-23 13:16:47 +0000.912752][601b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:065] [2023-09-23 13:16:47 +0000.912839][601b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:066] [2023-09-23 13:16:47 +0000.912908][601b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:070] [2023-09-23 13:16:47 +0000.917301][601b] The device model:redmi note 8
pro
[000:070] [2023-09-23 13:16:47 +0000.917351][601b] speaker output factor:100
defaultFactor: 100
[000:070] [2023-09-23 13:16:47 +0000.917365][601b] headset output factor:100
defaultFactor: 100
[000:070] [2023-09-23 13:16:47 +0000.917695][601b] AppDeviceManagerStart finished.
[000:070] [2023-09-23 13:16:47 +0000.917726][601b] AppDeviceManagerStartMic::mic
status is off
[000:070] [2023-09-23 13:16:47 +0000.917758][601b] AppDeviceManagerStartMic update
aec type: 2
[000:070] [2023-09-23 13:16:47 +0000.917770][601b] AppDeviceManagerStartMic update
voiceChangeMode: 4
[000:070] [2023-09-23 13:16:47 +0000.917782][601b]
AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:070] [2023-09-23 13:16:47 +0000.917794][601b]
AudioDeviceDataHandler::StartMicProcess
[000:070] [2023-09-23 13:16:47 +0000.917888][601b] Try to start webrtc recording
device.
[000:071] [2023-09-23 13:16:47 +0000.917920][601b] StartRecording. threadID:24603
[000:071] [2023-09-23 13:16:47 +0000.917984][63bb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:071] [2023-09-23 13:16:47 +0000.918116][63bb] haveEnoughProcessedData
internalAudioStream.length: 0
[000:071] [2023-09-23 13:16:47 +0000.918242][601b] The machine model:Redmi Note 8
Pro
[000:071] [2023-09-23 13:16:47 +0000.918289][601b] default mode: Set the recording
mode to voice communication to enable HW AEC .
[000:071] [2023-09-23 13:16:47 +0000.918305][601b] Set the recording mode before
getSetting: 4
[000:071] [2023-09-23 13:16:47 +0000.918322][601b] Set the recording mode after
getSetting: 1
[000:106] [2023-09-23 13:16:47 +0000.953205][601b] StartRecording finished.
[000:106] [2023-09-23 13:16:47 +0000.953261][601b] audio: start the audio mic
checker timer.
[000:106] [2023-09-23 13:16:47 +0000.953899][601b] machine model :redmi
[000:107] [2023-09-23 13:16:47 +0000.953937][601b] Support this machine
model :redmi
[000:110] [2023-09-23 13:16:47 +0000.957471][601b] global inited! current sdk
version: 04-21-feaf968
[000:217] [2023-09-23 13:16:48 +0000.64357][63bc] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[000:217] [2023-09-23 13:16:48 +0000.64486][63bc] _deviceSampleRate:48000
[000:219] [2023-09-23 13:16:48 +0000.65969][63bb] Run AGC when audioType = 0
[000:219] [2023-09-23 13:16:48 +0000.66045][63bb]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:329] [2023-09-23 13:16:48 +0000.175952][6035]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:329] [2023-09-23 13:16:48 +0000.176077][63b7] MediaFilterCamera, recording
file context:0x7b4d2d4e00 input texture:8
[000:329] [2023-09-23 13:16:48 +0000.176120][63b7] GLESContext:
[000:329] [2023-09-23 13:16:48 +0000.176364][63b7] The result of eglGetDisplay is:
0x1
[000:330] [2023-09-23 13:16:48 +0000.177249][63b7] The result of creation:
0x7b3c6cee80
[000:331] [2023-09-23 13:16:48 +0000.178650][63b7] The result of
eglCreatePbufferSurface is: 0x7b3c6cef00
[000:331] [2023-09-23 13:16:48 +0000.178875][6035]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7b4d2d4e00 input_texture: 8
[001:805] [2023-09-23 13:16:49 +0000.652247][63bb] haveEnoughProcessedData
internalAudioStream.length: 0
[002:212] [2023-09-23 13:16:50 +0000.59411][63bb] Run AGC when audioType = 0
[003:495] [2023-09-23 13:16:51 +0000.342085][63bb] haveEnoughProcessedData
internalAudioStream.length: 0
[004:109] [2023-09-23 13:16:51 +0000.955998][63b2]
monitorTime:4003totalDuration:3910
[004:210] [2023-09-23 13:16:52 +0000.57364][63bb] Run AGC when audioType = 0
[004:210] [2023-09-23 13:16:52 +0000.57459][63bb]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:200] [2023-09-23 13:16:53 +0000.47602][63bb] haveEnoughProcessedData
internalAudioStream.length: 10
[005:310] [2023-09-23 13:16:53 +0000.157631][601b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[005:317] [2023-09-23 13:16:53 +0000.164099][601b] ~MediaFilterCamera
time:225982992 enter.
[005:317] [2023-09-23 13:16:53 +0000.164130][601b] StopPullFrameAndWriteMp4
time:225982992 enter.
[005:318] [2023-09-23 13:16:53 +0000.165921][63b6] stop recording
[005:319] [2023-09-23 13:16:53 +0000.166091][63b6] we have stopped recording before
[005:320] [2023-09-23 13:16:53 +0000.167017][601b] StopPullFrameAndWriteMp4 leave.
expire time = 3 ms
[005:321] [2023-09-23 13:16:53 +0000.168197][601b] DestroyPipelineAndFilters
time:225982996 enter.
[005:321] [2023-09-23 13:16:53 +0000.168701][601b] DestroyPipelineAndFilters
leave. expire time = 0 ms
[005:321] [2023-09-23 13:16:53 +0000.168736][601b] AppDeviceManagerStopMic
[005:324] [2023-09-23 13:16:53 +0000.171397][601b] AppDeviceManagerStopMic::mic
status is on
[005:325] [2023-09-23 13:16:53 +0000.172104][601b] Try to stop webrtc device.
[005:325] [2023-09-23 13:16:53 +0000.172157][601b] Set record state to
stopped.threadID:24603
[005:386] [2023-09-23 13:16:53 +0000.233792][601b] Try to destory the
recorder.threadID:24603
[005:587] [2023-09-23 13:16:53 +0000.434076][601b] DestroyAudioRecorder:
[005:587] [2023-09-23 13:16:53 +0000.434290][601b] Cleanup the buffer queue in the
recorder.
[005:587] [2023-09-23 13:16:53 +0000.434332][601b] Destroy the recorder.
[005:588] [2023-09-23 13:16:53 +0000.435698][601b] StopRecording finished.
[005:588] [2023-09-23 13:16:53 +0000.435824][601b] The stop recording success.
[005:589] [2023-09-23 13:16:53 +0000.435982][601b]
AudioDeviceDataHandler::StopMicProcess
[005:591] [2023-09-23 13:16:53 +0000.438128][601b] AppDeviceManager stop.
[005:591] [2023-09-23 13:16:53 +0000.438217][601b] Rlease the webrtc device object.
[005:591] [2023-09-23 13:16:53 +0000.438464][601b] OpenSlesInput destruct.
[005:591] [2023-09-23 13:16:53 +0000.438507][601b] OpenSlesOutput destruct.
[005:592] [2023-09-23 13:16:53 +0000.439090][601b] EventDispatchServerScope
destruct
[005:592] [2023-09-23 13:16:53 +0000.439208][601b]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[005:592] [2023-09-23 13:16:53 +0000.439336][601b] ~AudioDeviceDataHandler
[005:593] [2023-09-23 13:16:53 +0000.440532][601b] AppDeviceManagerDestruct.
[005:593] [2023-09-23 13:16:53 +0000.440638][601b] ~AppDeviceManager:
[005:593] [2023-09-23 13:16:53 +0000.440758][601b] ~CpuOverloadDetect
time:225983268 enter.
[005:594] [2023-09-23 13:16:53 +0000.441386][601b] ~CpuOverloadDetect leave.
expire time = 1 ms
[005:600] [2023-09-23 13:16:53 +0000.447603][601b] Destruct BeautifyReader begin...
[005:600] [2023-09-23 13:16:53 +0000.447734][601b] Destruct BeautifyReader done.
[005:600] [2023-09-23 13:16:53 +0000.447825][601b] ~MediaFilterCamera leave.
expire time = 283 ms
[005:601] [2023-09-23 13:16:53 +0000.448203][601b] ~GLESContext:
[005:601] [2023-09-23 13:16:53 +0000.448900][601b] GLESContext destruct finish.
[005:602] [2023-09-23 13:16:53 +0000.449026][601b] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[005:602] [2023-09-23 13:16:53 +0000.449605][601b] global uninited!
[005:604] [2023-09-23 13:16:53 +0000.451784][601b] clear AppID 50011
[005:605] [2023-09-23 13:16:53 +0000.452017][601b] UnRegister JVM for Xplatform
util
[005:605] [2023-09-23 13:16:53 +0000.452107][601b] Dispose::unregister webrtc video
engine
[005:605] [2023-09-23 13:16:53 +0000.452170][601b] Init the android object with
jvm:0x0 env:0x0 context:0x0
[005:605] [2023-09-23 13:16:53 +0000.452243][601b] SetAndroidMediaCodecObjects
time:225983280 enter.
[005:605] [2023-09-23 13:16:53 +0000.452308][601b] ClearAndroidMediaCodecObjects
time:225983280 enter.
[005:605] [2023-09-23 13:16:53 +0000.452380][601b] ClearAndroidMediaCodecObjects
leave. expire time = 0 ms
[005:605] [2023-09-23 13:16:5