Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 82

[000:057] [2022-11-07 15:48:26 +0000.

267729][1128] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
07 15:48:26 +0000
[000:057] [2022-11-07 15:48:26 +0000.267804][1128] dump file m_prefix:-04-21-
feaf968

[000:060] [2022-11-07 15:48:26 +0000.270726][1128] dump filename:trace.txt dump


time:1667836106

[000:060] [2022-11-07 15:48:26 +0000.270889][1128] set AppID=50011 old AppID=-1


[000:060] [2022-11-07 15:48:26 +0000.270917][1128] Init the android object with
jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c8f28

[000:060] [2022-11-07 15:48:26 +0000.270947][1128] SetAndroidMediaCodecObjects


time:163196512 enter.

[000:060] [2022-11-07 15:48:26 +0000.270970][1128] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:060] [2022-11-07 15:48:26 +0000.270992][1128] SetAndroidMediaCodecObjects


time:163196512 enter.

[000:060] [2022-11-07 15:48:26 +0000.271005][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079dec37380
[000:060] [2022-11-07 15:48:26 +0000.271041][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079dec37380 address:0x7855945760
[000:060] [2022-11-07 15:48:26 +0000.271056][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079dec37380
address:0x7855945760
[000:060] [2022-11-07 15:48:26 +0000.271068][1128] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:060] [2022-11-07 15:48:26 +0000.271096][1128] Set the android objects with


jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c8f28

[000:060] [2022-11-07 15:48:26 +0000.271120][1128] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x793b652a80
[000:060] [2022-11-07 15:48:26 +0000.271140][1128] SystemUtil Init done
[000:062] [2022-11-07 15:48:26 +0000.272607][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:062] [2022-11-07 15:48:26 +0000.272740][1128] MediaFilterCamera
[000:062] [2022-11-07 15:48:26 +0000.272778][1128] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:062] [2022-11-07 15:48:26 +0000.272953][1128] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:062] [2022-11-07 15:48:26 +0000.272982][1128] Recording session using default
bitrate support by app:31457280
[000:062] [2022-11-07 15:48:26 +0000.273015][1ee1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78b37667c0
[000:062] [2022-11-07 15:48:26 +0000.273187][1ee1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:062] [2022-11-07 15:48:26 +0000.273257][1128] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:063] [2022-11-07 15:48:26 +0000.273784][1128] Error(ini.cc:191): Open the file
failed. error:2
[000:063] [2022-11-07 15:48:26 +0000.273813][1128]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:063] [2022-11-07 15:48:26 +0000.273828][1128] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:065] [2022-11-07 15:48:26 +0000.275852][1128] Error(ini.cc:191): Open the file
failed. error:2
[000:065] [2022-11-07 15:48:26 +0000.275911][1128]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:065] [2022-11-07 15:48:26 +0000.275942][1128] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:065] [2022-11-07 15:48:26 +0000.275956][1128] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:065] [2022-11-07 15:48:26 +0000.275969][1128] Using Default AEC type: software
AEC
[000:066] [2022-11-07 15:48:26 +0000.276994][1128] The device model: redmi note 8
pro enum value: 0
[000:067] [2022-11-07 15:48:26 +0000.277532][1128] GetMachineModel is Redmi Note 8
Pro
[000:067] [2022-11-07 15:48:26 +0000.277584][1128] GetMachineInfo: Redmi Note 8
Pro
[000:067] [2022-11-07 15:48:26 +0000.277611][1128] Construct BeautifyReader
begin...
[000:067] [2022-11-07 15:48:26 +0000.277627][1128] dumpStickerRgba:0
dumpStickerYuv:0
[000:067] [2022-11-07 15:48:26 +0000.277684][1128] Construct BeautifyReader done.
[000:069] [2022-11-07 15:48:26 +0000.279839][1128] Error(ini.cc:191): Open the file
failed. error:2
[000:069] [2022-11-07 15:48:26 +0000.279895][1128]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:069] [2022-11-07 15:48:26 +0000.280003][1128] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:069] [2022-11-07 15:48:26 +0000.280028][1128] AppDeviceManager telnet server
for statistics started......
[000:069] [2022-11-07 15:48:26 +0000.280063][1ee4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x789201a1a0
[000:069] [2022-11-07 15:48:26 +0000.280363][1128] CpuOverloadDetect time:163196521
enter.

[000:069] [2022-11-07 15:48:26 +0000.280440][1128] CpuOverloadDetect leave. expire


time = 0 ms

[000:069] [2022-11-07 15:48:26 +0000.280485][1ee5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78d1c02840
[000:070] [2022-11-07 15:48:26 +0000.280975][1128] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:070] [2022-11-07 15:48:26 +0000.281000][1128] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:070] [2022-11-07 15:48:26 +0000.281264][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:073] [2022-11-07 15:48:26 +0000.284398][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:074] [2022-11-07 15:48:26 +0000.284965][1128] CreatePlatformSpecificObjects:
[000:074] [2022-11-07 15:48:26 +0000.285034][1128] audio device use opensle input
and opensl output
[000:074] [2022-11-07 15:48:26 +0000.285092][1128] Create OpenSLES output module
with java VM support.

[000:074] [2022-11-07 15:48:26 +0000.285280][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:074] [2022-11-07 15:48:26 +0000.285496][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:075] [2022-11-07 15:48:26 +0000.285693][1128] Create OpenSLES output module
with buffer num:1

[000:075] [2022-11-07 15:48:26 +0000.285863][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:075] [2022-11-07 15:48:26 +0000.286009][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:075] [2022-11-07 15:48:26 +0000.286177][1128] Create OpenSLES input module
with java VM support.

[000:075] [2022-11-07 15:48:26 +0000.286207][1128] Create OpenSLES input module


with buffer num:1

[000:075] [2022-11-07 15:48:26 +0000.286279][1128] Error(trace.cc:40): Init the


output and input for audio device template.
[000:075] [2022-11-07 15:48:26 +0000.286300][1128] Init the output device.

[000:075] [2022-11-07 15:48:26 +0000.286314][1128] Init the opensl input.


[000:075] [2022-11-07 15:48:26 +0000.286328][1128] AppDeviceManager get setting
samplerate: 0
[000:076] [2022-11-07 15:48:26 +0000.286752][1128] The device model: redmi note 8
pro enum value: 0
[000:076] [2022-11-07 15:48:26 +0000.287216][1128] The device model: redmi note 8
pro enum value: 0
[000:076] [2022-11-07 15:48:26 +0000.287241][1128] Set the sample rate to be:48000

[000:076] [2022-11-07 15:48:26 +0000.287254][1128] Enable the recording stereo:0


[000:076] [2022-11-07 15:48:26 +0000.287267][1128] Set the playout as stereo:1
[000:076] [2022-11-07 15:48:26 +0000.287285][1128] Init the microphone.
[000:079] [2022-11-07 15:48:26 +0000.289795][1128] Update the recording sample rate
to be: 48000
[000:079] [2022-11-07 15:48:26 +0000.289850][1128] Init the speaker.
[000:079] [2022-11-07 15:48:26 +0000.289896][1128] Low latency buffer size:256 low
sample rate:48000
[000:079] [2022-11-07 15:48:26 +0000.290140][1128] Using 1 x 10ms for an audio
frame.

[000:083] [2022-11-07 15:48:26 +0000.293761][1128] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:083] [2022-11-07 15:48:26 +0000.293848][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:083] [2022-11-07 15:48:26 +0000.293922][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:087] [2022-11-07 15:48:26 +0000.298449][1128] The device model:redmi note 8
pro

[000:087] [2022-11-07 15:48:26 +0000.298502][1128] speaker output factor:100


defaultFactor: 100

[000:088] [2022-11-07 15:48:26 +0000.298558][1128] headset output factor:100


defaultFactor: 100

[000:088] [2022-11-07 15:48:26 +0000.298921][1128] AppDeviceManagerStart finished.


[000:088] [2022-11-07 15:48:26 +0000.298948][1128] AppDeviceManagerStartMic::mic
status is off
[000:088] [2022-11-07 15:48:26 +0000.298982][1128] AppDeviceManagerStartMic update
aec type: 2

[000:088] [2022-11-07 15:48:26 +0000.298998][1128] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:088] [2022-11-07 15:48:26 +0000.299010][1128]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:088] [2022-11-07 15:48:26 +0000.299022][1128]
AudioDeviceDataHandler::StartMicProcess

[000:088] [2022-11-07 15:48:26 +0000.299155][1128] Try to start webrtc recording


device.

[000:088] [2022-11-07 15:48:26 +0000.299178][1128] StartRecording. threadID:4392

[000:088] [2022-11-07 15:48:26 +0000.299215][1ee6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:088] [2022-11-07 15:48:26 +0000.299345][1ee6] haveEnoughProcessedData
internalAudioStream.length: 0
[000:088] [2022-11-07 15:48:26 +0000.299461][1128] The machine model:Redmi Note 8
Pro

[000:088] [2022-11-07 15:48:26 +0000.299507][1128] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:089] [2022-11-07 15:48:26 +0000.299526][1128] Set the recording mode before


getSetting: 4
[000:089] [2022-11-07 15:48:26 +0000.299542][1128] Set the recording mode after
getSetting: 1
[000:125] [2022-11-07 15:48:26 +0000.335883][1128] StartRecording finished.

[000:125] [2022-11-07 15:48:26 +0000.335951][1128] audio: start the audio mic


checker timer.

[000:126] [2022-11-07 15:48:26 +0000.336523][1128] machine model :redmi


[000:126] [2022-11-07 15:48:26 +0000.336583][1128] Support this machine
model :redmi
[000:126] [2022-11-07 15:48:26 +0000.336710][1128] global inited! current sdk
version: 04-21-feaf968
[000:243] [2022-11-07 15:48:26 +0000.454401][1ee7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:244] [2022-11-07 15:48:26 +0000.454561][1ee7] _deviceSampleRate:48000

[000:247] [2022-11-07 15:48:26 +0000.457579][1ee6] Run AGC when audioType = 0


[000:247] [2022-11-07 15:48:26 +0000.457724][1ee6]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:369] [2022-11-07 15:48:26 +0000.579830][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:369] [2022-11-07 15:48:26 +0000.580069][1ee2] MediaFilterCamera, recording
file context:0x794713fa00 input texture:11
[000:369] [2022-11-07 15:48:26 +0000.580132][1ee2] GLESContext:
[000:369] [2022-11-07 15:48:26 +0000.580406][1ee2] The result of eglGetDisplay is:
0x1
[000:371] [2022-11-07 15:48:26 +0000.581937][1ee2] The result of creation:
0x794713f880
[000:371] [2022-11-07 15:48:26 +0000.582448][1ee2] The result of
eglCreatePbufferSurface is: 0x794713f900
[000:372] [2022-11-07 15:48:26 +0000.582645][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x794713fa00 input_texture: 11
[001:331] [2022-11-07 15:48:27 +0000.542216][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:331] [2022-11-07 15:48:27 +0000.542330][1128] ~MediaFilterCamera
time:163197783 enter.

[001:331] [2022-11-07 15:48:27 +0000.542363][1128] StopPullFrameAndWriteMp4


time:163197783 enter.

[001:332] [2022-11-07 15:48:27 +0000.542975][1ee1] stop recording


[001:332] [2022-11-07 15:48:27 +0000.543057][1ee1] we have stopped recording before
[001:332] [2022-11-07 15:48:27 +0000.543143][1128] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:334] [2022-11-07 15:48:27 +0000.545182][1128] DestroyPipelineAndFilters


time:163197786 enter.

[001:334] [2022-11-07 15:48:27 +0000.545249][1128] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:334] [2022-11-07 15:48:27 +0000.545267][1128] AppDeviceManagerStopMic

[001:334] [2022-11-07 15:48:27 +0000.545305][1128] AppDeviceManagerStopMic::mic


status is on
[001:334] [2022-11-07 15:48:27 +0000.545317][1128] Try to stop webrtc device.

[001:334] [2022-11-07 15:48:27 +0000.545330][1128] Set record state to


stopped.threadID:4392

[001:372] [2022-11-07 15:48:27 +0000.583234][1128] Try to destory the


recorder.threadID:4392

[001:572] [2022-11-07 15:48:27 +0000.783438][1128] DestroyAudioRecorder:


[001:572] [2022-11-07 15:48:27 +0000.783502][1128] Cleanup the buffer queue in the
recorder.
[001:573] [2022-11-07 15:48:27 +0000.783521][1128] Destroy the recorder.

[001:574] [2022-11-07 15:48:27 +0000.785175][1128] StopRecording finished.

[001:574] [2022-11-07 15:48:27 +0000.785248][1128] The stop recording success.

[001:574] [2022-11-07 15:48:27 +0000.785266][1128]


AudioDeviceDataHandler::StopMicProcess

[001:576] [2022-11-07 15:48:27 +0000.787195][1128] AppDeviceManager stop.

[001:576] [2022-11-07 15:48:27 +0000.787345][1128] Rlease the webrtc device object.

[001:577] [2022-11-07 15:48:27 +0000.787970][1128] OpenSlesInput destruct.

[001:577] [2022-11-07 15:48:27 +0000.788087][1128] OpenSlesOutput destruct.

[001:578] [2022-11-07 15:48:27 +0000.788763][1128] EventDispatchServerScope


destruct
[001:578] [2022-11-07 15:48:27 +0000.788815][1128]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:578] [2022-11-07 15:48:27 +0000.788853][1128] ~AudioDeviceDataHandler

[001:578] [2022-11-07 15:48:27 +0000.789135][1128] AppDeviceManagerDestruct.


[001:578] [2022-11-07 15:48:27 +0000.789166][1128] ~AppDeviceManager:
[001:578] [2022-11-07 15:48:27 +0000.789194][1128] ~CpuOverloadDetect
time:163198030 enter.

[001:578] [2022-11-07 15:48:27 +0000.789335][1128] ~CpuOverloadDetect leave.


expire time = 0 ms

[001:586] [2022-11-07 15:48:27 +0000.796692][1128] Destruct BeautifyReader begin...


[001:586] [2022-11-07 15:48:27 +0000.796800][1128] Destruct BeautifyReader done.
[001:586] [2022-11-07 15:48:27 +0000.796850][1128] ~MediaFilterCamera leave.
expire time = 255 ms

[001:586] [2022-11-07 15:48:27 +0000.797085][1128] ~GLESContext:


[001:587] [2022-11-07 15:48:27 +0000.797631][1128] GLESContext destruct finish.
[001:587] [2022-11-07 15:48:27 +0000.797767][1128] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:587] [2022-11-07 15:48:27 +0000.798127][1128] global uninited!
[001:588] [2022-11-07 15:48:27 +0000.798980][1128] clear AppID 50011
[001:588] [2022-11-07 15:48:27 +0000.799035][1128] UnRegister JVM for Xplatform
util
[001:588] [2022-11-07 15:48:27 +0000.799057][1128] Dispose::unregister webrtc video
engine
[001:588] [2022-11-07 15:48:27 +0000.799074][1128] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:588] [2022-11-07 15:48:27 +0000.799093][1128] SetAndroidMediaCodecObjects


time:163198040 enter.

[001:588] [2022-11-07 15:48:27 +0000.799106][1128] ClearAndroidMediaCodecObjects


time:163198040 enter.

[001:588] [2022-11-07 15:48:27 +0000.799140][1128] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:588] [2022-11-07 15:48:27 +0000.799153][1128] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:588] [2022-11-07 15:48:27 +0000.799166][1128] SetAndroidMediaCodecObjects


time:163198040 enter.

[001:588] [2022-11-07 15:48:27 +0000.799191][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:588] [2022-11-07 15:48:27 +0000.799206][1128] ClearAndroidMediaCodecObjects
time:163198040 enter.

[001:588] [2022-11-07 15:48:27 +0000.799217][1128] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:588] [2022-11-07 15:48:27 +0000.799234][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:588] [2022-11-07 15:48:27 +0000.799245][1128] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:588] [2022-11-07 15:48:27 +0000.799291][1128] Dispose::unregister webrtc voice


engine
[001:588] [2022-11-07 15:48:27 +0000.799309][1128] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[001:588] [2022-11-07 15:48:27 +0000.799323][1128] SystemUtil UnInit done


[004:211] [2022-11-07 15:48:30 +0000.421693][1128] Register JVM for xplatform util
[004:215] [2022-11-07 15:48:30 +0000.426383][1128] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
07 15:48:30 +0000
[004:215] [2022-11-07 15:48:30 +0000.426419][1128] dump file m_prefix:-04-21-
feaf968

[004:218] [2022-11-07 15:48:30 +0000.428965][1128] dump filename:trace.txt dump


time:1667836106

[004:218] [2022-11-07 15:48:30 +0000.429023][1128] dump


filename:support_resolution.txt dump time:1667836107

[004:218] [2022-11-07 15:48:30 +0000.429123][1128] set AppID=50011 old AppID=-1


[004:218] [2022-11-07 15:48:30 +0000.429147][1128] Init the android object with
jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c9158

[004:218] [2022-11-07 15:48:30 +0000.429163][1128] SetAndroidMediaCodecObjects


time:163200670 enter.

[004:218] [2022-11-07 15:48:30 +0000.429178][1128] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:218] [2022-11-07 15:48:30 +0000.429197][1128] SetAndroidMediaCodecObjects


time:163200670 enter.

[004:218] [2022-11-07 15:48:30 +0000.429210][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079dec37380
[004:218] [2022-11-07 15:48:30 +0000.429222][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079dec37380 address:0x7855945760
[004:218] [2022-11-07 15:48:30 +0000.429235][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079dec37380
address:0x7855945760
[004:218] [2022-11-07 15:48:30 +0000.429247][1128] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[004:218] [2022-11-07 15:48:30 +0000.429260][1128] Set the android objects with


jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c9158

[004:218] [2022-11-07 15:48:30 +0000.429273][1128] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x793b652a80
[004:218] [2022-11-07 15:48:30 +0000.429288][1128] SystemUtil Init done
[004:219] [2022-11-07 15:48:30 +0000.429557][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[004:219] [2022-11-07 15:48:30 +0000.429653][1128] MediaFilterCamera
[004:219] [2022-11-07 15:48:30 +0000.429682][1128] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[004:219] [2022-11-07 15:48:30 +0000.429771][1128] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[004:219] [2022-11-07 15:48:30 +0000.429801][1128] Recording session using default
bitrate support by app:31457280
[004:219] [2022-11-07 15:48:30 +0000.430395][1fe6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78b37667c0
[004:219] [2022-11-07 15:48:30 +0000.430461][1fe6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[004:220] [2022-11-07 15:48:30 +0000.430552][1128] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[004:220] [2022-11-07 15:48:30 +0000.431342][1128] Error(ini.cc:191): Open the file
failed. error:2
[004:220] [2022-11-07 15:48:30 +0000.431383][1128]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[004:220] [2022-11-07 15:48:30 +0000.431399][1128] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[004:223] [2022-11-07 15:48:30 +0000.433947][1128] Error(ini.cc:191): Open the file
failed. error:2
[004:223] [2022-11-07 15:48:30 +0000.434006][1128]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[004:223] [2022-11-07 15:48:30 +0000.434038][1128] The device model: redmi note 8
pro usingHardwareAEC value: 0
[004:223] [2022-11-07 15:48:30 +0000.434051][1128] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[004:223] [2022-11-07 15:48:30 +0000.434066][1128] Using Default AEC type: software
AEC
[004:224] [2022-11-07 15:48:30 +0000.435065][1128] The device model: redmi note 8
pro enum value: 0
[004:224] [2022-11-07 15:48:30 +0000.435489][1128] GetMachineModel is Redmi Note 8
Pro
[004:225] [2022-11-07 15:48:30 +0000.435522][1128] GetMachineInfo: Redmi Note 8
Pro
[004:225] [2022-11-07 15:48:30 +0000.435572][1128] Construct BeautifyReader
begin...
[004:225] [2022-11-07 15:48:30 +0000.435597][1128] dumpStickerRgba:0
dumpStickerYuv:0
[004:225] [2022-11-07 15:48:30 +0000.435609][1128] Construct BeautifyReader done.
[004:228] [2022-11-07 15:48:30 +0000.439216][1128] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[004:228] [2022-11-07 15:48:30 +0000.439267][1128] AppDeviceManager telnet server
for statistics started......
[004:228] [2022-11-07 15:48:30 +0000.439274][1fe9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78d1b17ba0
[004:229] [2022-11-07 15:48:30 +0000.439758][1128] CpuOverloadDetect time:163200681
enter.

[004:229] [2022-11-07 15:48:30 +0000.439849][1128] CpuOverloadDetect leave. expire


time = 0 ms

[004:229] [2022-11-07 15:48:30 +0000.439896][1fea] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78d1c032c0
[004:229] [2022-11-07 15:48:30 +0000.440414][1128] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[004:229] [2022-11-07 15:48:30 +0000.440441][1128] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[004:230] [2022-11-07 15:48:30 +0000.440610][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[004:230] [2022-11-07 15:48:30 +0000.440866][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[004:230] [2022-11-07 15:48:30 +0000.441071][1128] CreatePlatformSpecificObjects:
[004:230] [2022-11-07 15:48:30 +0000.441098][1128] audio device use opensle input
and opensl output
[004:230] [2022-11-07 15:48:30 +0000.441139][1128] Create OpenSLES output module
with java VM support.

[004:230] [2022-11-07 15:48:30 +0000.441255][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[004:230] [2022-11-07 15:48:30 +0000.441380][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[004:231] [2022-11-07 15:48:30 +0000.441528][1128] Create OpenSLES output module
with buffer num:1

[004:231] [2022-11-07 15:48:30 +0000.441621][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[004:231] [2022-11-07 15:48:30 +0000.441733][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[004:231] [2022-11-07 15:48:30 +0000.441870][1128] Create OpenSLES input module
with java VM support.

[004:231] [2022-11-07 15:48:30 +0000.441897][1128] Create OpenSLES input module


with buffer num:1

[004:231] [2022-11-07 15:48:30 +0000.441919][1128] Error(trace.cc:40): Init the


output and input for audio device template.
[004:231] [2022-11-07 15:48:30 +0000.441937][1128] Init the output device.

[004:231] [2022-11-07 15:48:30 +0000.441950][1128] Init the opensl input.


[004:231] [2022-11-07 15:48:30 +0000.441963][1128] AppDeviceManager get setting
samplerate: 0
[004:231] [2022-11-07 15:48:30 +0000.442305][1128] The device model: redmi note 8
pro enum value: 0
[004:232] [2022-11-07 15:48:30 +0000.442793][1128] The device model: redmi note 8
pro enum value: 0
[004:232] [2022-11-07 15:48:30 +0000.442817][1128] Set the sample rate to be:48000

[004:232] [2022-11-07 15:48:30 +0000.442831][1128] Enable the recording stereo:0


[004:232] [2022-11-07 15:48:30 +0000.442844][1128] Set the playout as stereo:1
[004:232] [2022-11-07 15:48:30 +0000.442856][1128] Init the microphone.
[004:232] [2022-11-07 15:48:30 +0000.443079][1128] Update the recording sample rate
to be: 48000
[004:232] [2022-11-07 15:48:30 +0000.443106][1128] Init the speaker.
[004:232] [2022-11-07 15:48:30 +0000.443127][1128] Low latency buffer size:256 low
sample rate:48000
[004:232] [2022-11-07 15:48:30 +0000.443333][1128] Using 1 x 10ms for an audio
frame.

[004:236] [2022-11-07 15:48:30 +0000.446655][1128] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[004:236] [2022-11-07 15:48:30 +0000.446742][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[004:236] [2022-11-07 15:48:30 +0000.446772][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[004:240] [2022-11-07 15:48:30 +0000.451325][1128] The device model:redmi note 8
pro

[004:240] [2022-11-07 15:48:30 +0000.451379][1128] speaker output factor:100


defaultFactor: 100

[004:240] [2022-11-07 15:48:30 +0000.451396][1128] headset output factor:100


defaultFactor: 100

[004:241] [2022-11-07 15:48:30 +0000.451666][1128] AppDeviceManagerStart finished.


[004:241] [2022-11-07 15:48:30 +0000.451692][1128] AppDeviceManagerStartMic::mic
status is off
[004:241] [2022-11-07 15:48:30 +0000.451727][1128] AppDeviceManagerStartMic update
aec type: 2

[004:241] [2022-11-07 15:48:30 +0000.451744][1128] AppDeviceManagerStartMic update


voiceChangeMode: 4
[004:241] [2022-11-07 15:48:30 +0000.451757][1128]
AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[004:241] [2022-11-07 15:48:30 +0000.451769][1128]
AudioDeviceDataHandler::StartMicProcess

[004:241] [2022-11-07 15:48:30 +0000.451866][1128] Try to start webrtc recording


device.

[004:241] [2022-11-07 15:48:30 +0000.451889][1128] StartRecording. threadID:4392

[004:241] [2022-11-07 15:48:30 +0000.451921][1128] default mode: Set the recording


mode to voice communication to enable HW AEC .

[004:241] [2022-11-07 15:48:30 +0000.451941][1128] Set the recording mode before


getSetting: 4
[004:241] [2022-11-07 15:48:30 +0000.451958][1128] Set the recording mode after
getSetting: 1
[004:241] [2022-11-07 15:48:30 +0000.451922][1feb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[004:261] [2022-11-07 15:48:30 +0000.472304][1128] StartRecording finished.

[004:261] [2022-11-07 15:48:30 +0000.472382][1128] audio: start the audio mic


checker timer.

[004:262] [2022-11-07 15:48:30 +0000.472767][1128] machine model :redmi


[004:262] [2022-11-07 15:48:30 +0000.472824][1128] Support this machine
model :redmi
[004:262] [2022-11-07 15:48:30 +0000.472843][1128] global inited! current sdk
version: 04-21-feaf968
[004:462] [2022-11-07 15:48:30 +0000.673246][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[004:462] [2022-11-07 15:48:30 +0000.673386][1fe7] MediaFilterCamera, recording
file context:0x794713fa00 input texture:12
[004:462] [2022-11-07 15:48:30 +0000.673494][1fe7] GLESContext:
[004:463] [2022-11-07 15:48:30 +0000.674141][1fe7] The result of eglGetDisplay is:
0x1
[004:464] [2022-11-07 15:48:30 +0000.675293][1fe7] The result of creation:
0x794713f580
[004:465] [2022-11-07 15:48:30 +0000.675578][1fe7] The result of
eglCreatePbufferSurface is: 0x794713f700
[004:465] [2022-11-07 15:48:30 +0000.675757][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x794713fa00 input_texture: 12
[004:614] [2022-11-07 15:48:30 +0000.824780][1feb] haveEnoughProcessedData
internalAudioStream.length: 10
[005:255] [2022-11-07 15:48:31 +0000.465798][1feb] Run AGC when audioType = 0
[006:307] [2022-11-07 15:48:32 +0000.517574][1feb] haveEnoughProcessedData
internalAudioStream.length: 0
[007:256] [2022-11-07 15:48:33 +0000.467107][1feb] Run AGC when audioType = 0
[007:256] [2022-11-07 15:48:33 +0000.467370][1feb]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:005] [2022-11-07 15:48:34 +0000.215905][1feb] haveEnoughProcessedData
internalAudioStream.length: 10
[008:264] [2022-11-07 15:48:34 +0000.474662][1edd]
monitorTime:4003totalDuration:3910
[009:257] [2022-11-07 15:48:35 +0000.467962][1feb] Run AGC when audioType = 0
[009:698] [2022-11-07 15:48:35 +0000.909091][1feb] haveEnoughProcessedData
internalAudioStream.length: 0
[010:521] [2022-11-07 15:48:36 +0000.731702][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[010:521] [2022-11-07 15:48:36 +0000.731785][1128] ~MediaFilterCamera
time:163206973 enter.

[010:521] [2022-11-07 15:48:36 +0000.731805][1128] StopPullFrameAndWriteMp4


time:163206973 enter.

[010:521] [2022-11-07 15:48:36 +0000.732329][1fe6] stop recording


[010:521] [2022-11-07 15:48:36 +0000.732418][1fe6] we have stopped recording before
[010:522] [2022-11-07 15:48:36 +0000.732774][1128] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[010:523] [2022-11-07 15:48:36 +0000.733835][1128] DestroyPipelineAndFilters


time:163206975 enter.

[010:523] [2022-11-07 15:48:36 +0000.733995][1128] DestroyPipelineAndFilters


leave. expire time = 0 ms

[010:523] [2022-11-07 15:48:36 +0000.734044][1128] AppDeviceManagerStopMic

[010:523] [2022-11-07 15:48:36 +0000.734130][1128] AppDeviceManagerStopMic::mic


status is on
[010:523] [2022-11-07 15:48:36 +0000.734160][1128] Try to stop webrtc device.

[010:523] [2022-11-07 15:48:36 +0000.734190][1128] Set record state to


stopped.threadID:4392

[010:560] [2022-11-07 15:48:36 +0000.771295][1128] Try to destory the


recorder.threadID:4392

[010:761] [2022-11-07 15:48:36 +0000.971545][1128] DestroyAudioRecorder:


[010:761] [2022-11-07 15:48:36 +0000.971684][1128] Cleanup the buffer queue in the
recorder.
[010:761] [2022-11-07 15:48:36 +0000.971735][1128] Destroy the recorder.

[010:762] [2022-11-07 15:48:36 +0000.972976][1128] StopRecording finished.

[010:762] [2022-11-07 15:48:36 +0000.973052][1128] The stop recording success.

[010:762] [2022-11-07 15:48:36 +0000.973081][1128]


AudioDeviceDataHandler::StopMicProcess

[010:764] [2022-11-07 15:48:36 +0000.974820][1128] AppDeviceManager stop.

[010:764] [2022-11-07 15:48:36 +0000.974934][1128] Rlease the webrtc device object.

[010:764] [2022-11-07 15:48:36 +0000.975483][1128] OpenSlesInput destruct.

[010:765] [2022-11-07 15:48:36 +0000.975565][1128] OpenSlesOutput destruct.

[010:765] [2022-11-07 15:48:36 +0000.976288][1128] EventDispatchServerScope


destruct
[010:765] [2022-11-07 15:48:36 +0000.976354][1128]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[010:765] [2022-11-07 15:48:36 +0000.976419][1128] ~AudioDeviceDataHandler

[010:766] [2022-11-07 15:48:36 +0000.977018][1128] AppDeviceManagerDestruct.


[010:766] [2022-11-07 15:48:36 +0000.977085][1128] ~AppDeviceManager:
[010:766] [2022-11-07 15:48:36 +0000.977154][1128] ~CpuOverloadDetect
time:163207218 enter.

[010:767] [2022-11-07 15:48:36 +0000.978033][1128] ~CpuOverloadDetect leave.


expire time = 1 ms

[010:769] [2022-11-07 15:48:36 +0000.979759][1128] Destruct BeautifyReader begin...


[010:769] [2022-11-07 15:48:36 +0000.979821][1128] Destruct BeautifyReader done.
[010:769] [2022-11-07 15:48:36 +0000.979856][1128] ~MediaFilterCamera leave.
expire time = 248 ms

[010:769] [2022-11-07 15:48:36 +0000.980031][1128] ~GLESContext:


[010:769] [2022-11-07 15:48:36 +0000.980400][1128] GLESContext destruct finish.
[010:769] [2022-11-07 15:48:36 +0000.980462][1128] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[010:770] [2022-11-07 15:48:36 +0000.980814][1128] global uninited!
[010:770] [2022-11-07 15:48:36 +0000.981135][1128] clear AppID 50011
[010:770] [2022-11-07 15:48:36 +0000.981177][1128] UnRegister JVM for Xplatform
util
[010:770] [2022-11-07 15:48:36 +0000.981206][1128] Dispose::unregister webrtc video
engine
[010:770] [2022-11-07 15:48:36 +0000.981228][1128] Init the android object with
jvm:0x0 env:0x0 context:0x0

[010:770] [2022-11-07 15:48:36 +0000.981251][1128] SetAndroidMediaCodecObjects


time:163207222 enter.

[010:770] [2022-11-07 15:48:36 +0000.981272][1128] ClearAndroidMediaCodecObjects


time:163207222 enter.

[010:770] [2022-11-07 15:48:36 +0000.981295][1128] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[010:770] [2022-11-07 15:48:36 +0000.981315][1128] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[010:770] [2022-11-07 15:48:36 +0000.981337][1128] SetAndroidMediaCodecObjects


time:163207222 enter.

[010:770] [2022-11-07 15:48:36 +0000.981357][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[010:770] [2022-11-07 15:48:36 +0000.981378][1128] ClearAndroidMediaCodecObjects
time:163207222 enter.

[010:770] [2022-11-07 15:48:36 +0000.981398][1128] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[010:770] [2022-11-07 15:48:36 +0000.981419][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[010:770] [2022-11-07 15:48:36 +0000.981481][1128] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[010:771] [2022-11-07 15:48:36 +0000.981519][1128] Dispose::unregister webrtc voice


engine
[010:771] [2022-11-07 15:48:36 +0000.981541][1128] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[010:771] [2022-11-07 15:48:36 +0000.981565][1128] SystemUtil UnInit done


[012:531] [2022-11-07 15:48:38 +0000.742085][1128] Register JVM for xplatform util
[012:539] [2022-11-07 15:48:38 +0000.749668][1128] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
07 15:48:38 +0000
[012:539] [2022-11-07 15:48:38 +0000.749703][1128] dump file m_prefix:-04-21-
feaf968

[012:541] [2022-11-07 15:48:38 +0000.751756][1128] dump filename:trace.txt dump


time:1667836106

[012:541] [2022-11-07 15:48:38 +0000.751821][1128] dump


filename:support_resolution.txt dump time:1667836116

[012:541] [2022-11-07 15:48:38 +0000.751926][1128] set AppID=50011 old AppID=-1


[012:541] [2022-11-07 15:48:38 +0000.751951][1128] Init the android object with
jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c9158

[012:541] [2022-11-07 15:48:38 +0000.751970][1128] SetAndroidMediaCodecObjects


time:163208993 enter.

[012:541] [2022-11-07 15:48:38 +0000.751995][1128] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[012:541] [2022-11-07 15:48:38 +0000.752009][1128] SetAndroidMediaCodecObjects


time:163208993 enter.

[012:541] [2022-11-07 15:48:38 +0000.752027][1128] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079dec37380
[012:541] [2022-11-07 15:48:38 +0000.752039][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079dec37380 address:0x7855945760
[012:541] [2022-11-07 15:48:38 +0000.752052][1128] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079dec37380
address:0x7855945760
[012:541] [2022-11-07 15:48:38 +0000.752070][1128] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[012:541] [2022-11-07 15:48:38 +0000.752082][1128] Set the android objects with


jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e60c9158

[012:541] [2022-11-07 15:48:38 +0000.752095][1128] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x793b652a80
[012:541] [2022-11-07 15:48:38 +0000.752109][1128] SystemUtil Init done
[012:541] [2022-11-07 15:48:38 +0000.752389][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[012:541] [2022-11-07 15:48:38 +0000.752481][1128] MediaFilterCamera
[012:542] [2022-11-07 15:48:38 +0000.752510][1128] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[012:542] [2022-11-07 15:48:38 +0000.752596][1128] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[012:542] [2022-11-07 15:48:38 +0000.752624][1128] Recording session using default
bitrate support by app:31457280
[012:542] [2022-11-07 15:48:38 +0000.752630][2075] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78b37667c0
[012:542] [2022-11-07 15:48:38 +0000.752689][2075] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[012:542] [2022-11-07 15:48:38 +0000.752755][1128] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[012:542] [2022-11-07 15:48:38 +0000.753447][1128] Error(ini.cc:191): Open the file
failed. error:2
[012:542] [2022-11-07 15:48:38 +0000.753505][1128]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[012:543] [2022-11-07 15:48:38 +0000.753522][1128] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[012:547] [2022-11-07 15:48:38 +0000.758124][1128] Error(ini.cc:191): Open the file
failed. error:2
[012:547] [2022-11-07 15:48:38 +0000.758186][1128]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[012:547] [2022-11-07 15:48:38 +0000.758209][1128] The device model: redmi note 8
pro usingHardwareAEC value: 0
[012:547] [2022-11-07 15:48:38 +0000.758222][1128] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[012:547] [2022-11-07 15:48:38 +0000.758234][1128] Using Default AEC type: software
AEC
[012:548] [2022-11-07 15:48:38 +0000.759224][1128] The device model: redmi note 8
pro enum value: 0
[012:549] [2022-11-07 15:48:38 +0000.759656][1128] GetMachineModel is Redmi Note 8
Pro
[012:549] [2022-11-07 15:48:38 +0000.759686][1128] GetMachineInfo: Redmi Note 8
Pro
[012:549] [2022-11-07 15:48:38 +0000.759737][1128] Construct BeautifyReader
begin...
[012:549] [2022-11-07 15:48:38 +0000.759756][1128] dumpStickerRgba:0
dumpStickerYuv:0
[012:549] [2022-11-07 15:48:38 +0000.759769][1128] Construct BeautifyReader done.
[012:552] [2022-11-07 15:48:38 +0000.763017][1128] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[012:552] [2022-11-07 15:48:38 +0000.763026][2078] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78920193a0
[012:552] [2022-11-07 15:48:38 +0000.763139][1128] AppDeviceManager telnet server
for statistics started......
[012:553] [2022-11-07 15:48:38 +0000.763562][1128] CpuOverloadDetect time:163209005
enter.

[012:553] [2022-11-07 15:48:38 +0000.764019][1128] CpuOverloadDetect leave. expire


time = 0 ms

[012:553] [2022-11-07 15:48:38 +0000.764042][2079] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x789209fcc0
[012:554] [2022-11-07 15:48:38 +0000.764570][1128] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[012:554] [2022-11-07 15:48:38 +0000.764597][1128] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[012:554] [2022-11-07 15:48:38 +0000.764763][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[012:554] [2022-11-07 15:48:38 +0000.764980][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[012:554] [2022-11-07 15:48:38 +0000.765185][1128] CreatePlatformSpecificObjects:
[012:554] [2022-11-07 15:48:38 +0000.765218][1128] audio device use opensle input
and opensl output
[012:554] [2022-11-07 15:48:38 +0000.765238][1128] Create OpenSLES output module
with java VM support.

[012:554] [2022-11-07 15:48:38 +0000.765353][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[012:554] [2022-11-07 15:48:38 +0000.765491][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[012:555] [2022-11-07 15:48:38 +0000.765649][1128] Create OpenSLES output module
with buffer num:1

[012:555] [2022-11-07 15:48:38 +0000.765768][1128] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[012:555] [2022-11-07 15:48:38 +0000.765892][1128] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[012:555] [2022-11-07 15:48:38 +0000.766057][1128] Create OpenSLES input module
with java VM support.

[012:555] [2022-11-07 15:48:38 +0000.766090][1128] Create OpenSLES input module


with buffer num:1

[012:555] [2022-11-07 15:48:38 +0000.766114][1128] Error(trace.cc:40): Init the


output and input for audio device template.
[012:555] [2022-11-07 15:48:38 +0000.766133][1128] Init the output device.

[012:555] [2022-11-07 15:48:38 +0000.766146][1128] Init the opensl input.


[012:555] [2022-11-07 15:48:38 +0000.766159][1128] AppDeviceManager get setting
samplerate: 0
[012:555] [2022-11-07 15:48:38 +0000.766499][1128] The device model: redmi note 8
pro enum value: 0
[012:556] [2022-11-07 15:48:38 +0000.766994][1128] The device model: redmi note 8
pro enum value: 0
[012:556] [2022-11-07 15:48:38 +0000.767019][1128] Set the sample rate to be:48000

[012:556] [2022-11-07 15:48:38 +0000.767033][1128] Enable the recording stereo:0


[012:556] [2022-11-07 15:48:38 +0000.767047][1128] Set the playout as stereo:1
[012:556] [2022-11-07 15:48:38 +0000.767066][1128] Init the microphone.
[012:556] [2022-11-07 15:48:38 +0000.767308][1128] Update the recording sample rate
to be: 48000
[012:556] [2022-11-07 15:48:38 +0000.767335][1128] Init the speaker.
[012:556] [2022-11-07 15:48:38 +0000.767358][1128] Low latency buffer size:256 low
sample rate:48000
[012:557] [2022-11-07 15:48:38 +0000.767763][1128] Using 1 x 10ms for an audio
frame.

[012:561] [2022-11-07 15:48:38 +0000.771855][1128] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[012:561] [2022-11-07 15:48:38 +0000.771954][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[012:561] [2022-11-07 15:48:38 +0000.771990][1128] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[012:565] [2022-11-07 15:48:38 +0000.776394][1128] The device model:redmi note 8
pro

[012:565] [2022-11-07 15:48:38 +0000.776445][1128] speaker output factor:100


defaultFactor: 100

[012:565] [2022-11-07 15:48:38 +0000.776460][1128] headset output factor:100


defaultFactor: 100

[012:566] [2022-11-07 15:48:38 +0000.776722][1128] AppDeviceManagerStart finished.


[012:566] [2022-11-07 15:48:38 +0000.776745][1128] AppDeviceManagerStartMic::mic
status is off
[012:566] [2022-11-07 15:48:38 +0000.776781][1128] AppDeviceManagerStartMic update
aec type: 2

[012:566] [2022-11-07 15:48:38 +0000.776797][1128] AppDeviceManagerStartMic update


voiceChangeMode: 4
[012:566] [2022-11-07 15:48:38 +0000.776808][1128]
AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[012:566] [2022-11-07 15:48:38 +0000.776820][1128]
AudioDeviceDataHandler::StartMicProcess

[012:566] [2022-11-07 15:48:38 +0000.777278][1128] Try to start webrtc recording


device.

[012:566] [2022-11-07 15:48:38 +0000.777304][1128] StartRecording. threadID:4392

[012:566] [2022-11-07 15:48:38 +0000.777336][1128] default mode: Set the recording


mode to voice communication to enable HW AEC .

[012:566] [2022-11-07 15:48:38 +0000.777311][207a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[012:566] [2022-11-07 15:48:38 +0000.777362][1128] Set the recording mode before
getSetting: 4
[012:566] [2022-11-07 15:48:38 +0000.777418][1128] Set the recording mode after
getSetting: 1
[012:586] [2022-11-07 15:48:38 +0000.796891][1128] StartRecording finished.

[012:586] [2022-11-07 15:48:38 +0000.796944][1128] audio: start the audio mic


checker timer.

[012:586] [2022-11-07 15:48:38 +0000.797335][1128] machine model :redmi


[012:586] [2022-11-07 15:48:38 +0000.797368][1128] Support this machine
model :redmi
[012:586] [2022-11-07 15:48:38 +0000.797385][1128] global inited! current sdk
version: 04-21-feaf968
[012:778] [2022-11-07 15:48:38 +0000.989402][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[012:779] [2022-11-07 15:48:38 +0000.989544][2076] MediaFilterCamera, recording
file context:0x794713fa00 input texture:9
[012:779] [2022-11-07 15:48:38 +0000.989638][2076] GLESContext:
[012:779] [2022-11-07 15:48:38 +0000.990213][2076] The result of eglGetDisplay is:
0x1
[012:780] [2022-11-07 15:48:38 +0000.991168][2076] The result of creation:
0x78b3c8b600
[012:780] [2022-11-07 15:48:38 +0000.991387][2076] The result of
eglCreatePbufferSurface is: 0x78b3c8b680
[012:780] [2022-11-07 15:48:38 +0000.991490][1331]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x794713fa00 input_texture: 9
[013:310] [2022-11-07 15:48:39 +0000.521401][207a] haveEnoughProcessedData
internalAudioStream.length: 0
[013:412] [2022-11-07 15:48:39 +0000.623373][207a] Run AGC when audioType = 0
[013:413] [2022-11-07 15:48:39 +0000.623660][207a]
AudioDeviceDataHandler::MixAndSendOutFrame
[014:748] [2022-11-07 15:48:40 +0000.958957][1128]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[014:748] [2022-11-07 15:48:40 +0000.959100][1128] ~MediaFilterCamera
time:163211200 enter.

[014:748] [2022-11-07 15:48:40 +0000.959129][1128] StopPullFrameAndWriteMp4


time:163211200 enter.

[014:750] [2022-11-07 15:48:40 +0000.960525][2075] stop recording


[014:750] [2022-11-07 15:48:40 +0000.960636][2075] we have stopped recording before
[014:750] [2022-11-07 15:48:40 +0000.960743][1128] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[014:750] [2022-11-07 15:48:40 +0000.961329][1128] DestroyPipelineAndFilters


time:163211202 enter.

[014:750] [2022-11-07 15:48:40 +0000.961393][1128] DestroyPipelineAndFilters


leave. expire time = 0 ms

[014:750] [2022-11-07 15:48:40 +0000.961429][1128] AppDeviceManagerStopMic

[014:750] [2022-11-07 15:48:40 +0000.961478][1128] AppDeviceManagerStopMic::mic


status is on
[014:750] [2022-11-07 15:48:40 +0000.961499][1128] Try to stop webrtc device.

[000:028] [2022-11-08 14:21:42 +0000.486730][3e76] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
08 14:21:42 +0000
[000:028] [2022-11-08 14:21:42 +0000.486805][3e76] dump file m_prefix:-04-21-
feaf968

[000:031] [2022-11-08 14:21:42 +0000.489759][3e76] dump filename:trace.txt dump


time:1667836120

[000:032] [2022-11-08 14:21:42 +0000.489867][3e76] dump


filename:support_resolution.txt dump time:1667836121

[000:032] [2022-11-08 14:21:42 +0000.490068][3e76] set AppID=50011 old AppID=-1


[000:032] [2022-11-08 14:21:42 +0000.490102][3e76] Init the android object with
jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e6084f28

[000:032] [2022-11-08 14:21:42 +0000.490131][3e76] SetAndroidMediaCodecObjects


time:218174122 enter.

[000:032] [2022-11-08 14:21:42 +0000.490149][3e76] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:032] [2022-11-08 14:21:42 +0000.490176][3e76] SetAndroidMediaCodecObjects


time:218174122 enter.

[000:032] [2022-11-08 14:21:42 +0000.490189][3e76] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079dec37380
[000:032] [2022-11-08 14:21:42 +0000.490203][3e76] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079dec37380 address:0x784753b760
[000:032] [2022-11-08 14:21:42 +0000.490228][3e76] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079dec37380
address:0x784753b760
[000:032] [2022-11-08 14:21:42 +0000.490240][3e76] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:032] [2022-11-08 14:21:42 +0000.490260][3e76] Set the android objects with


jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e6084f28

[000:034] [2022-11-08 14:21:42 +0000.492146][3e76] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x793b652a80
[000:034] [2022-11-08 14:21:42 +0000.492183][3e76] SystemUtil Init done
[000:037] [2022-11-08 14:21:42 +0000.495308][3e76]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:039] [2022-11-08 14:21:42 +0000.496847][3e76] MediaFilterCamera
[000:039] [2022-11-08 14:21:42 +0000.496897][3e76] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:039] [2022-11-08 14:21:42 +0000.496987][3e76] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:039] [2022-11-08 14:21:42 +0000.497017][3e76] Recording session using default
bitrate support by app:31457280
[000:039] [2022-11-08 14:21:42 +0000.497049][5423] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7947194bc0
[000:039] [2022-11-08 14:21:42 +0000.497203][5423] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:039] [2022-11-08 14:21:42 +0000.497266][3e76] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:039] [2022-11-08 14:21:42 +0000.497735][3e76] Error(ini.cc:191): Open the file
failed. error:2
[000:039] [2022-11-08 14:21:42 +0000.497763][3e76]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:039] [2022-11-08 14:21:42 +0000.497787][3e76] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:043] [2022-11-08 14:21:42 +0000.501013][3e76] Error(ini.cc:191): Open the file
failed. error:2
[000:043] [2022-11-08 14:21:42 +0000.501073][3e76]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:043] [2022-11-08 14:21:42 +0000.501098][3e76] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:043] [2022-11-08 14:21:42 +0000.501112][3e76] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:043] [2022-11-08 14:21:42 +0000.501123][3e76] Using Default AEC type: software
AEC
[000:044] [2022-11-08 14:21:42 +0000.502153][3e76] The device model: redmi note 8
pro enum value: 0
[000:044] [2022-11-08 14:21:42 +0000.502632][3e76] GetMachineModel is Redmi Note 8
Pro
[000:044] [2022-11-08 14:21:42 +0000.502671][3e76] GetMachineInfo: Redmi Note 8
Pro
[000:045] [2022-11-08 14:21:42 +0000.503067][3e76] Construct BeautifyReader
begin...
[000:045] [2022-11-08 14:21:42 +0000.503094][3e76] dumpStickerRgba:0
dumpStickerYuv:0
[000:045] [2022-11-08 14:21:42 +0000.503107][3e76] Construct BeautifyReader done.
[000:048] [2022-11-08 14:21:42 +0000.506376][3e76] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:048] [2022-11-08 14:21:42 +0000.506428][3e76] AppDeviceManager telnet server
for statistics started......
[000:048] [2022-11-08 14:21:42 +0000.506435][5426] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78b3449fa0
[000:049] [2022-11-08 14:21:42 +0000.506868][3e76] CpuOverloadDetect time:218174139
enter.

[000:049] [2022-11-08 14:21:42 +0000.506971][3e76] CpuOverloadDetect leave. expire


time = 0 ms

[000:049] [2022-11-08 14:21:42 +0000.507019][5427] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78b3864240
[000:050] [2022-11-08 14:21:42 +0000.508129][3e76] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:050] [2022-11-08 14:21:42 +0000.508173][3e76] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:050] [2022-11-08 14:21:42 +0000.508432][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:050] [2022-11-08 14:21:42 +0000.508698][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:051] [2022-11-08 14:21:42 +0000.509093][3e76] CreatePlatformSpecificObjects:
[000:051] [2022-11-08 14:21:42 +0000.509124][3e76] audio device use opensle input
and opensl output
[000:051] [2022-11-08 14:21:42 +0000.509155][3e76] Create OpenSLES output module
with java VM support.

[000:051] [2022-11-08 14:21:42 +0000.509270][3e76] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:051] [2022-11-08 14:21:42 +0000.509401][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:051] [2022-11-08 14:21:42 +0000.509565][3e76] Create OpenSLES output module
with buffer num:1

[000:051] [2022-11-08 14:21:42 +0000.509682][3e76] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:051] [2022-11-08 14:21:42 +0000.509821][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:052] [2022-11-08 14:21:42 +0000.509973][3e76] Create OpenSLES input module
with java VM support.

[000:052] [2022-11-08 14:21:42 +0000.510001][3e76] Create OpenSLES input module


with buffer num:1

[000:052] [2022-11-08 14:21:42 +0000.510042][3e76] Error(trace.cc:40): Init the


output and input for audio device template.
[000:052] [2022-11-08 14:21:42 +0000.510062][3e76] Init the output device.

[000:052] [2022-11-08 14:21:42 +0000.510075][3e76] Init the opensl input.


[000:052] [2022-11-08 14:21:42 +0000.510088][3e76] AppDeviceManager get setting
samplerate: 0
[000:052] [2022-11-08 14:21:42 +0000.510417][3e76] The device model: redmi note 8
pro enum value: 0
[000:053] [2022-11-08 14:21:42 +0000.510917][3e76] The device model: redmi note 8
pro enum value: 0
[000:053] [2022-11-08 14:21:42 +0000.510941][3e76] Set the sample rate to be:48000

[000:053] [2022-11-08 14:21:42 +0000.510956][3e76] Enable the recording stereo:0


[000:053] [2022-11-08 14:21:42 +0000.510976][3e76] Set the playout as stereo:1
[000:053] [2022-11-08 14:21:42 +0000.510989][3e76] Init the microphone.
[000:055] [2022-11-08 14:21:42 +0000.513121][3e76] Update the recording sample rate
to be: 48000
[000:055] [2022-11-08 14:21:42 +0000.513166][3e76] Init the speaker.
[000:055] [2022-11-08 14:21:42 +0000.513193][3e76] Low latency buffer size:256 low
sample rate:48000
[000:055] [2022-11-08 14:21:42 +0000.513425][3e76] Using 1 x 10ms for an audio
frame.

[000:059] [2022-11-08 14:21:42 +0000.516890][3e76] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:059] [2022-11-08 14:21:42 +0000.516984][3e76] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:059] [2022-11-08 14:21:42 +0000.517021][3e76] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:063] [2022-11-08 14:21:42 +0000.521434][3e76] The device model:redmi note 8
pro
[000:063] [2022-11-08 14:21:42 +0000.521485][3e76] speaker output factor:100
defaultFactor: 100

[000:063] [2022-11-08 14:21:42 +0000.521500][3e76] headset output factor:100


defaultFactor: 100

[000:063] [2022-11-08 14:21:42 +0000.521790][3e76] AppDeviceManagerStart finished.


[000:063] [2022-11-08 14:21:42 +0000.521815][3e76] AppDeviceManagerStartMic::mic
status is off
[000:064] [2022-11-08 14:21:42 +0000.521849][3e76] AppDeviceManagerStartMic update
aec type: 2

[000:064] [2022-11-08 14:21:42 +0000.521864][3e76] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:064] [2022-11-08 14:21:42 +0000.521876][3e76]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:064] [2022-11-08 14:21:42 +0000.521887][3e76]
AudioDeviceDataHandler::StartMicProcess

[000:064] [2022-11-08 14:21:42 +0000.521963][3e76] Try to start webrtc recording


device.

[000:064] [2022-11-08 14:21:42 +0000.521986][3e76] StartRecording. threadID:15990

[000:064] [2022-11-08 14:21:42 +0000.522026][5428] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:064] [2022-11-08 14:21:42 +0000.522143][5428] haveEnoughProcessedData
internalAudioStream.length: 0
[000:064] [2022-11-08 14:21:42 +0000.522247][3e76] The machine model:Redmi Note 8
Pro

[000:064] [2022-11-08 14:21:42 +0000.522293][3e76] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:064] [2022-11-08 14:21:42 +0000.522312][3e76] Set the recording mode before


getSetting: 4
[000:064] [2022-11-08 14:21:42 +0000.522328][3e76] Set the recording mode after
getSetting: 1
[000:085] [2022-11-08 14:21:42 +0000.542945][3e76] StartRecording finished.

[000:085] [2022-11-08 14:21:42 +0000.542995][3e76] audio: start the audio mic


checker timer.

[000:085] [2022-11-08 14:21:42 +0000.543470][3e76] machine model :redmi


[000:085] [2022-11-08 14:21:42 +0000.543515][3e76] Support this machine
model :redmi
[000:089] [2022-11-08 14:21:42 +0000.547445][3e76] global inited! current sdk
version: 04-21-feaf968
[000:195] [2022-11-08 14:21:42 +0000.653537][5429] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:195] [2022-11-08 14:21:42 +0000.653675][5429] _deviceSampleRate:48000

[000:196] [2022-11-08 14:21:42 +0000.654155][5428] Run AGC when audioType = 0


[000:196] [2022-11-08 14:21:42 +0000.654214][5428]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:327] [2022-11-08 14:21:42 +0000.785051][5256]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:327] [2022-11-08 14:21:42 +0000.785386][5424] MediaFilterCamera, recording
file context:0x7937a77f80 input texture:8
[000:327] [2022-11-08 14:21:42 +0000.785494][5424] GLESContext:
[000:328] [2022-11-08 14:21:42 +0000.786112][5424] The result of eglGetDisplay is:
0x1
[000:330] [2022-11-08 14:21:42 +0000.787991][5424] The result of creation:
0x78b37e0180
[000:330] [2022-11-08 14:21:42 +0000.788560][5424] The result of
eglCreatePbufferSurface is: 0x78b37e0200
[000:330] [2022-11-08 14:21:42 +0000.788771][5256]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7937a77f80 input_texture: 8
[001:799] [2022-11-08 14:21:44 +0000.257047][5428] haveEnoughProcessedData
internalAudioStream.length: 10
[002:189] [2022-11-08 14:21:44 +0000.646971][5428] Run AGC when audioType = 0
[003:492] [2022-11-08 14:21:45 +0000.949979][5428] haveEnoughProcessedData
internalAudioStream.length: 0
[004:086] [2022-11-08 14:21:46 +0000.543899][541f]
monitorTime:4001totalDuration:3900
[004:187] [2022-11-08 14:21:46 +0000.645648][5428] Run AGC when audioType = 0
[004:187] [2022-11-08 14:21:46 +0000.645806][5428]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:146] [2022-11-08 14:21:47 +0000.604680][3e76]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[005:146] [2022-11-08 14:21:47 +0000.604818][3e76] ~MediaFilterCamera
time:218179236 enter.

[005:147] [2022-11-08 14:21:47 +0000.604916][3e76] StopPullFrameAndWriteMp4


time:218179237 enter.

[005:147] [2022-11-08 14:21:47 +0000.605214][5423] stop recording


[005:147] [2022-11-08 14:21:47 +0000.605265][5423] we have stopped recording before
[005:147] [2022-11-08 14:21:47 +0000.605336][3e76] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[005:148] [2022-11-08 14:21:47 +0000.606437][3e76] DestroyPipelineAndFilters


time:218179238 enter.

[005:148] [2022-11-08 14:21:47 +0000.606506][3e76] DestroyPipelineAndFilters


leave. expire time = 0 ms

[005:148] [2022-11-08 14:21:47 +0000.606526][3e76] AppDeviceManagerStopMic

[005:148] [2022-11-08 14:21:47 +0000.606559][3e76] AppDeviceManagerStopMic::mic


status is on
[005:148] [2022-11-08 14:21:47 +0000.606581][3e76] Try to stop webrtc device.

[005:148] [2022-11-08 14:21:47 +0000.606599][3e76] Set record state to


stopped.threadID:15990

[005:188] [2022-11-08 14:21:47 +0000.646184][3e76] Try to destory the


recorder.threadID:15990

[005:199] [2022-11-08 14:21:47 +0000.657243][5428] haveEnoughProcessedData


internalAudioStream.length: 0
[005:388] [2022-11-08 14:21:47 +0000.846411][3e76] DestroyAudioRecorder:
[005:388] [2022-11-08 14:21:47 +0000.846563][3e76] Cleanup the buffer queue in the
recorder.
[005:388] [2022-11-08 14:21:47 +0000.846601][3e76] Destroy the recorder.

[005:389] [2022-11-08 14:21:47 +0000.847713][3e76] StopRecording finished.

[005:389] [2022-11-08 14:21:47 +0000.847802][3e76] The stop recording success.

[005:390] [2022-11-08 14:21:47 +0000.847909][3e76]


AudioDeviceDataHandler::StopMicProcess

[005:393] [2022-11-08 14:21:47 +0000.850990][3e76] AppDeviceManager stop.

[005:393] [2022-11-08 14:21:47 +0000.851057][3e76] Rlease the webrtc device object.

[005:393] [2022-11-08 14:21:47 +0000.851386][3e76] OpenSlesInput destruct.

[005:393] [2022-11-08 14:21:47 +0000.851511][3e76] OpenSlesOutput destruct.

[005:394] [2022-11-08 14:21:47 +0000.852361][3e76] EventDispatchServerScope


destruct
[005:394] [2022-11-08 14:21:47 +0000.852461][3e76]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[005:394] [2022-11-08 14:21:47 +0000.852544][3e76] ~AudioDeviceDataHandler

[005:395] [2022-11-08 14:21:47 +0000.853216][3e76] AppDeviceManagerDestruct.

[005:395] [2022-11-08 14:21:47 +0000.853315][3e76] ~AppDeviceManager:


[005:395] [2022-11-08 14:21:47 +0000.853406][3e76] ~CpuOverloadDetect
time:218179485 enter.

[005:396] [2022-11-08 14:21:47 +0000.853997][3e76] ~CpuOverloadDetect leave.


expire time = 1 ms

[005:397] [2022-11-08 14:21:47 +0000.855414][3e76] Destruct BeautifyReader begin...


[005:397] [2022-11-08 14:21:47 +0000.855499][3e76] Destruct BeautifyReader done.
[005:397] [2022-11-08 14:21:47 +0000.855552][3e76] ~MediaFilterCamera leave.
expire time = 251 ms

[005:397] [2022-11-08 14:21:47 +0000.855791][3e76] ~GLESContext:


[005:398] [2022-11-08 14:21:47 +0000.856377][3e76] GLESContext destruct finish.
[005:398] [2022-11-08 14:21:47 +0000.856451][3e76] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[005:399] [2022-11-08 14:21:47 +0000.856876][3e76] global uninited!
[005:401] [2022-11-08 14:21:47 +0000.859171][3e76] clear AppID 50011
[005:401] [2022-11-08 14:21:47 +0000.859263][3e76] UnRegister JVM for Xplatform
util
[005:401] [2022-11-08 14:21:47 +0000.859317][3e76] Dispose::unregister webrtc video
engine
[005:401] [2022-11-08 14:21:47 +0000.859359][3e76] Init the android object with
jvm:0x0 env:0x0 context:0x0

[005:401] [2022-11-08 14:21:47 +0000.859409][3e76] SetAndroidMediaCodecObjects


time:218179491 enter.

[005:401] [2022-11-08 14:21:47 +0000.859452][3e76] ClearAndroidMediaCodecObjects


time:218179491 enter.

[005:401] [2022-11-08 14:21:47 +0000.859502][3e76] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms
[005:401] [2022-11-08 14:21:47 +0000.859545][3e76] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[005:401] [2022-11-08 14:21:47 +0000.859588][3e76] SetAndroidMediaCodecObjects


time:218179491 enter.

[005:401] [2022-11-08 14:21:47 +0000.859730][3e76] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[005:401] [2022-11-08 14:21:47 +0000.859780][3e76] ClearAndroidMediaCodecObjects
time:218179491 enter.

[005:401] [2022-11-08 14:21:47 +0000.859862][3e76] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[005:402] [2022-11-08 14:21:47 +0000.859912][3e76] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[005:402] [2022-11-08 14:21:47 +0000.859953][3e76] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[005:402] [2022-11-08 14:21:47 +0000.859996][3e76] Dispose::unregister webrtc voice


engine
[005:402] [2022-11-08 14:21:47 +0000.860038][3e76] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[005:402] [2022-11-08 14:21:47 +0000.860087][3e76] SystemUtil UnInit done


[303:988] [2022-11-08 14:26:46 +0000.446362][3e76] Register JVM for xplatform util
[303:995] [2022-11-08 14:26:46 +0000.453655][3e76] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
08 14:26:46 +0000
[303:995] [2022-11-08 14:26:46 +0000.453693][3e76] dump file m_prefix:-04-21-
feaf968

[303:998] [2022-11-08 14:26:46 +0000.456763][3e76] dump filename:trace.txt dump


time:1667836120

[303:998] [2022-11-08 14:26:46 +0000.456816][3e76] dump


filename:support_resolution.txt dump time:1667917307

[303:999] [2022-11-08 14:26:46 +0000.456944][3e76] set AppID=50011 old AppID=-1


[303:999] [2022-11-08 14:26:46 +0000.456967][3e76] Init the android object with
jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e6085158

[303:999] [2022-11-08 14:26:46 +0000.456984][3e76] SetAndroidMediaCodecObjects


time:218478089 enter.

[303:999] [2022-11-08 14:26:46 +0000.457001][3e76] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[303:999] [2022-11-08 14:26:46 +0000.457020][3e76] SetAndroidMediaCodecObjects


time:218478089 enter.

[303:999] [2022-11-08 14:26:46 +0000.457032][3e76] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079dec37380
[303:999] [2022-11-08 14:26:46 +0000.457043][3e76] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079dec37380 address:0x784753b760
[303:999] [2022-11-08 14:26:46 +0000.457056][3e76] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079dec37380
address:0x784753b760
[303:999] [2022-11-08 14:26:46 +0000.457074][3e76] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[303:999] [2022-11-08 14:26:46 +0000.457088][3e76] Set the android objects with


jvm:0xb4000079dec37380 env:0x793b652a80 context:0x78e6085158

[303:999] [2022-11-08 14:26:46 +0000.457102][3e76] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x793b652a80
[303:999] [2022-11-08 14:26:46 +0000.457123][3e76] SystemUtil Init done
[303:999] [2022-11-08 14:26:46 +0000.457383][3e76]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[303:999] [2022-11-08 14:26:46 +0000.457488][3e76] MediaFilterCamera
[303:999] [2022-11-08 14:26:46 +0000.457514][3e76] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[303:999] [2022-11-08 14:26:46 +0000.457725][3e76] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[303:999] [2022-11-08 14:26:46 +0000.457754][3e76] Recording session using default
bitrate support by app:31457280
[303:999] [2022-11-08 14:26:46 +0000.457783][6573] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7947194e40
[304:000] [2022-11-08 14:26:46 +0000.457900][6573] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[304:000] [2022-11-08 14:26:46 +0000.457987][3e76] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[304:001] [2022-11-08 14:26:46 +0000.459115][3e76] Error(ini.cc:191): Open the file
failed. error:2
[304:001] [2022-11-08 14:26:46 +0000.459168][3e76]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[304:001] [2022-11-08 14:26:46 +0000.459187][3e76] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[304:004] [2022-11-08 14:26:46 +0000.462787][3e76] Error(ini.cc:191): Open the file
failed. error:2
[304:005] [2022-11-08 14:26:46 +0000.462848][3e76]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[304:005] [2022-11-08 14:26:46 +0000.462885][3e76] The device model: redmi note 8
pro usingHardwareAEC value: 0
[304:005] [2022-11-08 14:26:46 +0000.462899][3e76] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[304:005] [2022-11-08 14:26:46 +0000.462915][3e76] Using Default AEC type: software
AEC
[304:006] [2022-11-08 14:26:46 +0000.463913][3e76] The device model: redmi note 8
pro enum value: 0
[304:006] [2022-11-08 14:26:46 +0000.464408][3e76] GetMachineModel is Redmi Note 8
Pro
[304:006] [2022-11-08 14:26:46 +0000.464450][3e76] GetMachineInfo: Redmi Note 8
Pro
[304:006] [2022-11-08 14:26:46 +0000.464503][3e76] Construct BeautifyReader
begin...
[304:006] [2022-11-08 14:26:46 +0000.464524][3e76] dumpStickerRgba:0
dumpStickerYuv:0
[304:006] [2022-11-08 14:26:46 +0000.464538][3e76] Construct BeautifyReader done.
[304:011] [2022-11-08 14:26:46 +0000.469430][3e76] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[304:011] [2022-11-08 14:26:46 +0000.469482][3e76] AppDeviceManager telnet server
for statistics started......
[304:011] [2022-11-08 14:26:46 +0000.469486][6576] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x781c130aa0
[304:012] [2022-11-08 14:26:46 +0000.469951][3e76] CpuOverloadDetect time:218478102
enter.
[304:012] [2022-11-08 14:26:46 +0000.470037][3e76] CpuOverloadDetect leave. expire
time = 0 ms

[304:012] [2022-11-08 14:26:46 +0000.470082][6577] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7847c65640
[304:012] [2022-11-08 14:26:46 +0000.470550][3e76] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[304:012] [2022-11-08 14:26:46 +0000.470573][3e76] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[304:012] [2022-11-08 14:26:46 +0000.470737][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[304:013] [2022-11-08 14:26:46 +0000.471006][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[304:013] [2022-11-08 14:26:46 +0000.471192][3e76] CreatePlatformSpecificObjects:
[304:013] [2022-11-08 14:26:46 +0000.471218][3e76] audio device use opensle input
and opensl output
[304:013] [2022-11-08 14:26:46 +0000.471236][3e76] Create OpenSLES output module
with java VM support.

[304:013] [2022-11-08 14:26:46 +0000.471338][3e76] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[304:013] [2022-11-08 14:26:46 +0000.471460][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[304:013] [2022-11-08 14:26:46 +0000.471605][3e76] Create OpenSLES output module
with buffer num:1

[304:013] [2022-11-08 14:26:46 +0000.471697][3e76] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[304:013] [2022-11-08 14:26:46 +0000.471810][3e76] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[304:014] [2022-11-08 14:26:46 +0000.471977][3e76] Create OpenSLES input module
with java VM support.

[304:014] [2022-11-08 14:26:46 +0000.472006][3e76] Create OpenSLES input module


with buffer num:1

[304:014] [2022-11-08 14:26:46 +0000.472027][3e76] Error(trace.cc:40): Init the


output and input for audio device template.
[304:014] [2022-11-08 14:26:46 +0000.472045][3e76] Init the output device.

[304:014] [2022-11-08 14:26:46 +0000.472057][3e76] Init the opensl input.


[304:014] [2022-11-08 14:26:46 +0000.472070][3e76] AppDeviceManager get setting
samplerate: 0
[304:014] [2022-11-08 14:26:46 +0000.472397][3e76] The device model: redmi note 8
pro enum value: 0
[304:015] [2022-11-08 14:26:46 +0000.472841][3e76] The device model: redmi note 8
pro enum value: 0
[304:015] [2022-11-08 14:26:46 +0000.472864][3e76] Set the sample rate to be:48000

[304:015] [2022-11-08 14:26:46 +0000.472877][3e76] Enable the recording stereo:0


[304:015] [2022-11-08 14:26:46 +0000.472890][3e76] Set the playout as stereo:1
[304:015] [2022-11-08 14:26:46 +0000.472911][3e76] Init the microphone.
[304:015] [2022-11-08 14:26:46 +0000.473192][3e76] Update the recording sample rate
to be: 48000
[304:015] [2022-11-08 14:26:46 +0000.473221][3e76] Init the speaker.
[304:015] [2022-11-08 14:26:46 +0000.473251][3e76] Low latency buffer size:256 low
sample rate:48000
[304:015] [2022-11-08 14:26:46 +0000.473461][3e76] Using 1 x 10ms for an audio
frame.

[304:018] [2022-11-08 14:26:46 +0000.476724][3e76] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[304:018] [2022-11-08 14:26:46 +0000.476811][3e76] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[304:019] [2022-11-08 14:26:46 +0000.476862][3e76] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[304:023] [2022-11-08 14:26:46 +0000.481407][3e76] The device model:redmi note 8
pro

[304:023] [2022-11-08 14:26:46 +0000.481465][3e76] speaker output factor:100


defaultFactor: 100

[304:023] [2022-11-08 14:26:46 +0000.481479][3e76] headset output factor:100


defaultFactor: 100

[304:023] [2022-11-08 14:26:46 +0000.481734][3e76] AppDeviceManagerStart finished.


[304:023] [2022-11-08 14:26:46 +0000.481759][3e76] AppDeviceManagerStartMic::mic
status is off
[304:023] [2022-11-08 14:26:46 +0000.481793][3e76] AppDeviceManagerStartMic update
aec type: 2

[304:023] [2022-11-08 14:26:46 +0000.481809][3e76] AppDeviceManagerStartMic update


voiceChangeMode: 4

[304:023] [2022-11-08 14:26:46 +0000.481821][3e76]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[304:024] [2022-11-08 14:26:46 +0000.481833][3e76]
AudioDeviceDataHandler::StartMicProcess

[304:024] [2022-11-08 14:26:46 +0000.481922][3e76] Try to start webrtc recording


device.

[304:024] [2022-11-08 14:26:46 +0000.481945][3e76] StartRecording. threadID:15990

[304:024] [2022-11-08 14:26:46 +0000.481982][3e76] default mode: Set the recording


mode to voice communication to enable HW AEC .

[304:024] [2022-11-08 14:26:46 +0000.482012][3e76] Set the recording mode before


getSetting: 4
[304:024] [2022-11-08 14:26:46 +0000.482030][3e76] Set the recording mode after
getSetting: 1
[304:024] [2022-11-08 14:26:46 +0000.481984][6578] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[304:043] [2022-11-08 14:26:46 +0000.501600][3e76] StartRecording finished.

[304:043] [2022-11-08 14:26:46 +0000.501689][3e76] audio: start the audio mic


checker timer.

[304:044] [2022-11-08 14:26:46 +0000.502537][3e76] machine model :redmi


[304:044] [2022-11-08 14:26:46 +0000.502599][3e76] Support this machine
model :redmi
[304:044] [2022-11-08 14:26:46 +0000.502633][3e76] global inited! current sdk
version: 04-21-feaf968
[304:242] [2022-11-08 14:26:46 +0000.700837][5256]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[304:243] [2022-11-08 14:26:46 +0000.701002][6574] MediaFilterCamera, recording
file context:0x7937a77f80 input texture:15
[304:243] [2022-11-08 14:26:46 +0000.701042][6574] GLESContext:
[304:243] [2022-11-08 14:26:46 +0000.701278][6574] The result of eglGetDisplay is:
0x1
[304:244] [2022-11-08 14:26:46 +0000.702175][6574] The result of creation:
0x7946ff9100
[304:245] [2022-11-08 14:26:46 +0000.703672][6574] The result of
eglCreatePbufferSurface is: 0x7946ff9300
[304:246] [2022-11-08 14:26:46 +0000.704015][5256]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7937a77f80 input_texture: 15
[304:271] [2022-11-08 14:26:46 +0000.729838][3e76]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[304:272] [2022-11-08 14:26:46 +0000.729978][3e76] ~MediaFilterCamera
time:218478362 enter.

[304:272] [2022-11-08 14:26:46 +0000.730026][3e76] StopPullFrameAndWriteMp4


time:218478362 enter.

[304:272] [2022-11-08 14:26:46 +0000.730493][6573] stop recording


[304:272] [2022-11-08 14:26:46 +0000.730614][6573] we have stopped recording before
[304:272] [2022-11-08 14:26:46 +0000.730797][3e76] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[304:273] [2022-11-08 14:26:46 +0000.731473][3e76] DestroyPipelineAndFilters


time:218478363 enter.

[304:273] [2022-11-08 14:26:46 +0000.731574][3e76] DestroyPipelineAndFilters


leave. expire time = 0 ms

[304:273] [2022-11-08 14:26:46 +0000.731623][3e76] AppDeviceManagerStopMic

[304:273] [2022-11-08 14:26:46 +0000.731697][3e76] AppDeviceManagerStopMic::mic


status is on
[304:273] [2022-11-08 14:26:46 +0000.731740][3e76] Try to stop webrtc device.

[304:273] [2022-11-08 14:26:46 +0000.731787][3e76] Set record state to


stopped.threadID:15990

[304:313] [2022-11-08 14:26:46 +0000.771655][3e76] Try to destory the


recorder.threadID:15990

[304:514] [2022-11-08 14:26:46 +0000.971849][3e76] DestroyAudioRecorder:


[304:514] [000:025] [2022-11-11 16:12:16 +0000.215040][28c7] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
11 16:12:16 +0000
[000:025] [2022-11-11 16:12:16 +0000.215119][28c7] dump file m_prefix:-04-21-
feaf968

[000:027] [2022-11-11 16:12:16 +0000.217298][28c7] dump filename:trace.txt dump


time:1667917606

[000:027] [2022-11-11 16:12:16 +0000.217351][28c7] dump


filename:support_resolution.txt dump time:1667917606

[000:027] [2022-11-11 16:12:16 +0000.217462][28c7] set AppID=50011 old AppID=-1


[000:027] [2022-11-11 16:12:16 +0000.217486][28c7] Init the android object with
jvm:0xb400007362778380 env:0x72beb40a80 context:0x726959bf28

[000:027] [2022-11-11 16:12:16 +0000.217504][28c7] SetAndroidMediaCodecObjects


time:41207710 enter.

[000:027] [2022-11-11 16:12:16 +0000.217520][28c7] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:027] [2022-11-11 16:12:16 +0000.217538][28c7] SetAndroidMediaCodecObjects


time:41207710 enter.

[000:027] [2022-11-11 16:12:16 +0000.217552][28c7] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007362778380
[000:027] [2022-11-11 16:12:16 +0000.217572][28c7] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007362778380 address:0x71dd411760
[000:028] [2022-11-11 16:12:16 +0000.217586][28c7] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007362778380
address:0x71dd411760
[000:028] [2022-11-11 16:12:16 +0000.217600][28c7] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:028] [2022-11-11 16:12:16 +0000.217626][28c7] Set the android objects with


jvm:0xb400007362778380 env:0x72beb40a80 context:0x726959bf28

[000:029] [2022-11-11 16:12:16 +0000.218743][28c7] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x72beb40a80
[000:029] [2022-11-11 16:12:16 +0000.218795][28c7] SystemUtil Init done
[000:030] [2022-11-11 16:12:16 +0000.220222][28c7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:032] [2022-11-11 16:12:16 +0000.221816][28c7] MediaFilterCamera
[000:032] [2022-11-11 16:12:16 +0000.221866][28c7] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:032] [2022-11-11 16:12:16 +0000.221953][28c7] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:032] [2022-11-11 16:12:16 +0000.221982][28c7] Recording session using default
bitrate support by app:31457280
[000:032] [2022-11-11 16:12:16 +0000.222013][32bb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7234245640
[000:032] [2022-11-11 16:12:16 +0000.222103][32bb] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:032] [2022-11-11 16:12:16 +0000.222160][28c7] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2022-11-11 16:12:16 +0000.222687][28c7] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-11-11 16:12:16 +0000.222717][28c7]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:033] [2022-11-11 16:12:16 +0000.222740][28c7] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:034] [2022-11-11 16:12:16 +0000.224554][28c7] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2022-11-11 16:12:16 +0000.224607][28c7]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:035] [2022-11-11 16:12:16 +0000.224632][28c7] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:035] [2022-11-11 16:12:16 +0000.224648][28c7] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:035] [2022-11-11 16:12:16 +0000.224662][28c7] Using Default AEC type: software
AEC
[000:035] [2022-11-11 16:12:16 +0000.225558][28c7] The device model: redmi note 8
pro enum value: 0
[000:036] [2022-11-11 16:12:16 +0000.225957][28c7] GetMachineModel is Redmi Note 8
Pro
[000:036] [2022-11-11 16:12:16 +0000.225983][28c7] GetMachineInfo: Redmi Note 8
Pro
[000:036] [2022-11-11 16:12:16 +0000.226460][28c7] Construct BeautifyReader
begin...
[000:036] [2022-11-11 16:12:16 +0000.226490][28c7] dumpStickerRgba:0
dumpStickerYuv:0
[000:036] [2022-11-11 16:12:16 +0000.226505][28c7] Construct BeautifyReader done.
[000:040] [2022-11-11 16:12:16 +0000.230068][28c7] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:040] [2022-11-11 16:12:16 +0000.230117][28c7] AppDeviceManager telnet server
for statistics started......
[000:040] [2022-11-11 16:12:16 +0000.230118][32be] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72c9e661a0
[000:041] [2022-11-11 16:12:16 +0000.230851][28c7] CpuOverloadDetect time:41207724
enter.

[000:041] [2022-11-11 16:12:16 +0000.231059][28c7] CpuOverloadDetect leave. expire


time = 0 ms

[000:041] [2022-11-11 16:12:16 +0000.231101][32bf] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x71db72c280
[000:042] [2022-11-11 16:12:16 +0000.232376][28c7] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:042] [2022-11-11 16:12:16 +0000.232442][28c7] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:043] [2022-11-11 16:12:16 +0000.232859][28c7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2022-11-11 16:12:16 +0000.233229][28c7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-11-11 16:12:16 +0000.233656][28c7] CreatePlatformSpecificObjects:
[000:044] [2022-11-11 16:12:16 +0000.233687][28c7] audio device use opensle input
and opensl output
[000:044] [2022-11-11 16:12:16 +0000.233719][28c7] Create OpenSLES output module
with java VM support.

[000:044] [2022-11-11 16:12:16 +0000.233847][28c7] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-11-11 16:12:16 +0000.233977][28c7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-11-11 16:12:16 +0000.234125][28c7] Create OpenSLES output module
with buffer num:1

[000:044] [2022-11-11 16:12:16 +0000.234244][28c7] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-11-11 16:12:16 +0000.234369][28c7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-11-11 16:12:16 +0000.234506][28c7] Create OpenSLES input module
with java VM support.

[000:044] [2022-11-11 16:12:16 +0000.234533][28c7] Create OpenSLES input module


with buffer num:1

[000:044] [2022-11-11 16:12:16 +0000.234574][28c7] Error(trace.cc:40): Init the


output and input for audio device template.
[000:045] [2022-11-11 16:12:16 +0000.234614][28c7] Init the output device.

[000:045] [2022-11-11 16:12:16 +0000.234629][28c7] Init the opensl input.


[000:045] [2022-11-11 16:12:16 +0000.234643][28c7] AppDeviceManager get setting
samplerate: 0
[000:045] [2022-11-11 16:12:16 +0000.235536][28c7] The device model: redmi note 8
pro enum value: 0
[000:046] [2022-11-11 16:12:16 +0000.236022][28c7] The device model: redmi note 8
pro enum value: 0
[000:046] [2022-11-11 16:12:16 +0000.236049][28c7] Set the sample rate to be:48000

[000:046] [2022-11-11 16:12:16 +0000.236062][28c7] Enable the recording stereo:0


[000:046] [2022-11-11 16:12:16 +0000.236075][28c7] Set the playout as stereo:1
[000:046] [2022-11-11 16:12:16 +0000.236087][28c7] Init the microphone.
[000:049] [2022-11-11 16:12:16 +0000.238671][28c7] Update the recording sample rate
to be: 48000
[000:049] [2022-11-11 16:12:16 +0000.238722][28c7] Init the speaker.
[000:049] [2022-11-11 16:12:16 +0000.238762][28c7] Low latency buffer size:256 low
sample rate:48000
[000:049] [2022-11-11 16:12:16 +0000.238994][28c7] Using 1 x 10ms for an audio
frame.

[000:052] [2022-11-11 16:12:16 +0000.242018][28c7] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:052] [2022-11-11 16:12:16 +0000.242094][28c7] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:052] [2022-11-11 16:12:16 +0000.242132][28c7] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-11-11 16:12:16 +0000.247562][28c7] The device model:redmi note 8
pro

[000:058] [2022-11-11 16:12:16 +0000.247615][28c7] speaker output factor:100


defaultFactor: 100

[000:058] [2022-11-11 16:12:16 +0000.247631][28c7] headset output factor:100


defaultFactor: 100

[000:058] [2022-11-11 16:12:16 +0000.247961][28c7] AppDeviceManagerStart finished.


[000:058] [2022-11-11 16:12:16 +0000.247989][28c7] AppDeviceManagerStartMic::mic
status is off
[000:058] [2022-11-11 16:12:16 +0000.248027][28c7] AppDeviceManagerStartMic update
aec type: 2

[000:058] [2022-11-11 16:12:16 +0000.248041][28c7] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:058] [2022-11-11 16:12:16 +0000.248053][28c7]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:058] [2022-11-11 16:12:16 +0000.248065][28c7]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-11-11 16:12:16 +0000.248308][28c7] Try to start webrtc recording


device.

[000:058] [2022-11-11 16:12:16 +0000.248329][28c7] StartRecording. threadID:10439

[000:058] [2022-11-11 16:12:16 +0000.248366][32c0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:058] [2022-11-11 16:12:16 +0000.248485][32c0] haveEnoughProcessedData
internalAudioStream.length: 0
[000:059] [2022-11-11 16:12:16 +0000.248607][28c7] The machine model:Redmi Note 8
Pro
[000:059] [2022-11-11 16:12:16 +0000.248651][28c7] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:059] [2022-11-11 16:12:16 +0000.248670][28c7] Set the recording mode before


getSetting: 4
[000:059] [2022-11-11 16:12:16 +0000.248685][28c7] Set the recording mode after
getSetting: 1
[000:096] [2022-11-11 16:12:16 +0000.285949][28c7] StartRecording finished.

[000:096] [2022-11-11 16:12:16 +0000.286006][28c7] audio: start the audio mic


checker timer.

[000:096] [2022-11-11 16:12:16 +0000.286568][28c7] machine model :redmi


[000:097] [2022-11-11 16:12:16 +0000.286628][28c7] Support this machine
model :redmi
[000:101] [2022-11-11 16:12:16 +0000.290658][28c7] global inited! current sdk
version: 04-21-feaf968
[000:208] [2022-11-11 16:12:16 +0000.397741][32c1] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:208] [2022-11-11 16:12:16 +0000.397906][32c1] _deviceSampleRate:48000

[000:211] [2022-11-11 16:12:16 +0000.401057][32c0] Run AGC when audioType = 0


[000:211] [2022-11-11 16:12:16 +0000.401140][32c0]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:298] [2022-11-11 16:12:16 +0000.488040][3113]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:298] [2022-11-11 16:12:16 +0000.488189][32bc] MediaFilterCamera, recording
file context:0x7233fc9480 input texture:8
[000:298] [2022-11-11 16:12:16 +0000.488233][32bc] GLESContext:
[000:298] [2022-11-11 16:12:16 +0000.488515][32bc] The result of eglGetDisplay is:
0x1
[000:299] [2022-11-11 16:12:16 +0000.489436][32bc] The result of creation:
0x72c9d2aa80
[000:300] [2022-11-11 16:12:16 +0000.489725][32bc] The result of
eglCreatePbufferSurface is: 0x72c9d2ab00
[000:300] [2022-11-11 16:12:16 +0000.489824][3113]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7233fc9480 input_texture: 8
[000:662] [2022-11-11 16:12:16 +0000.852129][28c7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:662] [2022-11-11 16:12:16 +0000.852215][28c7] ~MediaFilterCamera time:41208345
enter.

[000:662] [2022-11-11 16:12:16 +0000.852233][28c7] StopPullFrameAndWriteMp4


time:41208345 enter.

[000:662] [2022-11-11 16:12:16 +0000.852535][32bb] stop recording


[000:662] [2022-11-11 16:12:16 +0000.852583][32bb] we have stopped recording before
[000:663] [2022-11-11 16:12:16 +0000.852698][28c7] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:663] [2022-11-11 16:12:16 +0000.853426][28c7] DestroyPipelineAndFilters


time:41208346 enter.

[000:663] [2022-11-11 16:12:16 +0000.853563][28c7] DestroyPipelineAndFilters


leave. expire time = 0 ms
[000:664] [2022-11-11 16:12:16 +0000.853653][28c7] AppDeviceManagerStopMic

[000:664] [2022-11-11 16:12:16 +0000.853835][28c7] AppDeviceManagerStopMic::mic


status is on
[000:664] [2022-11-11 16:12:16 +0000.853866][28c7] Try to stop webrtc device.

[000:664] [2022-11-11 16:12:16 +0000.853884][28c7] Set record state to


stopped.threadID:10439

[000:702] [2022-11-11 16:12:16 +0000.891631][28c7] Try to destory the


recorder.threadID:10439

[000:902] [2022-11-11 16:12:17 +0000.91817][28c7] DestroyAudioRecorder:


[000:902] [2022-11-11 16:12:17 +0000.91914][28c7] Cleanup the buffer queue in the
recorder.
[000:902] [2022-11-11 16:12:17 +0000.91964][28c7] Destroy the recorder.

[000:903] [2022-11-11 16:12:17 +0000.93161][28c7] StopRecording finished.

[000:903] [2022-11-11 16:12:17 +0000.93214][28c7] The stop recording success.

[000:903] [2022-11-11 16:12:17 +0000.93228][28c7]


AudioDeviceDataHandler::StopMicProcess

[000:905] [2022-11-11 16:12:17 +0000.94894][28c7] AppDeviceManager stop.

[000:905] [2022-11-11 16:12:17 +0000.95049][28c7] Rlease the webrtc device object.

[000:906] [2022-11-11 16:12:17 +0000.95757][28c7] OpenSlesInput destruct.

[000:906] [2022-11-11 16:12:17 +0000.95809][28c7] OpenSlesOutput destruct.

[000:906] [2022-11-11 16:12:17 +0000.96235][28c7] EventDispatchServerScope destruct


[000:906] [2022-11-11 16:12:17 +0000.96279][28c7]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:906] [2022-11-11 16:12:17 +0000.96315][28c7] ~AudioDeviceDataHandler

[000:907] [2022-11-11 16:12:17 +0000.96723][28c7] AppDeviceManagerDestruct.

[000:907] [2022-11-11 16:12:17 +0000.96781][28c7] ~AppDeviceManager:


[000:907] [2022-11-11 16:12:17 +0000.96817][28c7] ~CpuOverloadDetect time:41208590
enter.

[000:907] [2022-11-11 16:12:17 +0000.97135][28c7] ~CpuOverloadDetect leave. expire


time = 0 ms

[000:909] [2022-11-11 16:12:17 +0000.98639][28c7] Destruct BeautifyReader begin...


[000:909] [2022-11-11 16:12:17 +0000.98745][28c7] Destruct BeautifyReader done.
[000:909] [2022-11-11 16:12:17 +0000.98796][28c7] ~MediaFilterCamera leave. expire
time = 247 ms

[000:909] [2022-11-11 16:12:17 +0000.99058][28c7] ~GLESContext:


[000:910] [2022-11-11 16:12:17 +0000.99747][28c7] GLESContext destruct finish.
[000:910] [2022-11-11 16:12:17 +0000.99836][28c7] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:910] [2022-11-11 16:12:17 +0000.100243][28c7] global uninited!
[000:912] [2022-11-11 16:12:17 +0000.101774][28c7] clear AppID 50011
[000:912] [2022-11-11 16:12:17 +0000.101858][28c7] UnRegister JVM for Xplatform
util
[000:912] [2022-11-11 16:12:17 +0000.101933][28c7] Dispose::unregister webrtc video
engine
[000:912] [2022-11-11 16:12:17 +0000.101976][28c7] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:912] [2022-11-11 16:12:17 +0000.102024][28c7] SetAndroidMediaCodecObjects


time:41208595 enter.

[000:912] [2022-11-11 16:12:17 +0000.102100][28c7] ClearAndroidMediaCodecObjects


time:41208595 enter.

[000:912] [2022-11-11 16:12:17 +0000.102143][28c7] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:912] [2022-11-11 16:12:17 +0000.102173][28c7] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:912] [2022-11-11 16:12:17 +0000.102202][28c7] SetAndroidMediaCodecObjects


time:41208595 enter.

[000:912] [2022-11-11 16:12:17 +0000.102229][28c7] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:912] [2022-11-11 16:12:17 +0000.102256][28c7] ClearAndroidMediaCodecObjects
time:41208595 enter.

[000:912] [2022-11-11 16:12:17 +0000.102284][28c7] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:912] [2022-11-11 16:12:17 +0000.102312][28c7] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:912] [2022-11-11 16:12:17 +0000.102337][28c7] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:912] [2022-11-11 16:12:17 +0000.102364][28c7] Dispose::unregister webrtc voice


engine
[000:912] [2022-11-11 16:12[000:031] [2022-11-15 15:52:35 +0000.946588][12ce] Log
to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-
11-15 15:52:35 +0000
[000:032] [2022-11-15 15:52:35 +0000.946676][12ce] dump file m_prefix:-04-21-
feaf968

[000:035] [2022-11-15 15:52:35 +0000.950039][12ce] dump filename:trace.txt dump


time:1668183137

[000:035] [2022-11-15 15:52:35 +0000.950106][12ce] dump


filename:support_resolution.txt dump time:1668183137

[000:035] [2022-11-15 15:52:35 +0000.950288][12ce] set AppID=50011 old AppID=-1


[000:035] [2022-11-15 15:52:35 +0000.950314][12ce] Init the android object with
jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2cfcf8

[000:035] [2022-11-15 15:52:35 +0000.950341][12ce] SetAndroidMediaCodecObjects


time:50038268 enter.

[000:035] [2022-11-15 15:52:35 +0000.950359][12ce] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:035] [2022-11-15 15:52:35 +0000.950383][12ce] SetAndroidMediaCodecObjects


time:50038268 enter.
[000:035] [2022-11-15 15:52:35 +0000.950396][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb4000071c53cd380
[000:035] [2022-11-15 15:52:35 +0000.950407][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071c53cd380 address:0x7052c02760
[000:035] [2022-11-15 15:52:35 +0000.950420][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071c53cd380
address:0x7052c02760
[000:035] [2022-11-15 15:52:35 +0000.950440][12ce] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:035] [2022-11-15 15:52:35 +0000.950462][12ce] Set the android objects with


jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2cfcf8

[000:036] [2022-11-15 15:52:35 +0000.951603][12ce] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71217d4580
[000:037] [2022-11-15 15:52:35 +0000.951714][12ce] SystemUtil Init done
[000:040] [2022-11-15 15:52:35 +0000.955378][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:042] [2022-11-15 15:52:35 +0000.956999][12ce] MediaFilterCamera
[000:042] [2022-11-15 15:52:35 +0000.957072][12ce] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:042] [2022-11-15 15:52:35 +0000.957164][12ce] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:042] [2022-11-15 15:52:35 +0000.957194][12ce] Recording session using default
bitrate support by app:31457280
[000:042] [2022-11-15 15:52:35 +0000.957236][21af] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70b7ee6740
[000:042] [2022-11-15 15:52:35 +0000.957409][21af] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:042] [2022-11-15 15:52:35 +0000.957483][12ce] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:043] [2022-11-15 15:52:35 +0000.958263][12ce] Error(ini.cc:191): Open the file
failed. error:2
[000:043] [2022-11-15 15:52:35 +0000.958298][12ce]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:043] [2022-11-15 15:52:35 +0000.958314][12ce] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:046] [2022-11-15 15:52:35 +0000.961524][12ce] Error(ini.cc:191): Open the file
failed. error:2
[000:046] [2022-11-15 15:52:35 +0000.961580][12ce]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:046] [2022-11-15 15:52:35 +0000.961607][12ce] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:046] [2022-11-15 15:52:35 +0000.961622][12ce] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:047] [2022-11-15 15:52:35 +0000.961664][12ce] Using Default AEC type: software
AEC
[000:048] [2022-11-15 15:52:35 +0000.962715][12ce] The device model: redmi note 8
pro enum value: 0
[000:048] [2022-11-15 15:52:35 +0000.963264][12ce] GetMachineModel is Redmi Note 8
Pro
[000:048] [2022-11-15 15:52:35 +0000.963308][12ce] GetMachineInfo: Redmi Note 8
Pro
[000:049] [2022-11-15 15:52:35 +0000.963847][12ce] Construct BeautifyReader
begin...
[000:049] [2022-11-15 15:52:35 +0000.963884][12ce] dumpStickerRgba:0
dumpStickerYuv:0
[000:049] [2022-11-15 15:52:35 +0000.963897][12ce] Construct BeautifyReader done.
[000:052] [2022-11-15 15:52:35 +0000.967151][12ce] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:052] [2022-11-15 15:52:35 +0000.967197][12ce] AppDeviceManager telnet server
for statistics started......
[000:052] [2022-11-15 15:52:35 +0000.967217][21b2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x709ec019a0
[000:053] [2022-11-15 15:52:35 +0000.967746][12ce] CpuOverloadDetect time:50038286
enter.

[000:053] [2022-11-15 15:52:35 +0000.967840][12ce] CpuOverloadDetect leave. expire


time = 0 ms

[000:053] [2022-11-15 15:52:35 +0000.967895][21b3] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70454e5380
[000:053] [2022-11-15 15:52:35 +0000.968389][12ce] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:053] [2022-11-15 15:52:35 +0000.968414][12ce] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:054] [2022-11-15 15:52:35 +0000.968683][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:054] [2022-11-15 15:52:35 +0000.969005][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:054] [2022-11-15 15:52:35 +0000.969489][12ce] CreatePlatformSpecificObjects:
[000:054] [2022-11-15 15:52:35 +0000.969523][12ce] audio device use opensle input
and opensl output
[000:054] [2022-11-15 15:52:35 +0000.969541][12ce] Create OpenSLES output module
with java VM support.

[000:055] [2022-11-15 15:52:35 +0000.969692][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:055] [2022-11-15 15:52:35 +0000.969908][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:055] [2022-11-15 15:52:35 +0000.970096][12ce] Create OpenSLES output module
with buffer num:1

[000:055] [2022-11-15 15:52:35 +0000.970291][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:055] [2022-11-15 15:52:35 +0000.970438][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:056] [2022-11-15 15:52:35 +0000.970649][12ce] Create OpenSLES input module
with java VM support.

[000:056] [2022-11-15 15:52:35 +0000.970679][12ce] Create OpenSLES input module


with buffer num:1

[000:056] [2022-11-15 15:52:35 +0000.970720][12ce] Error(trace.cc:40): Init the


output and input for audio device template.
[000:056] [2022-11-15 15:52:35 +0000.970739][12ce] Init the output device.

[000:056] [2022-11-15 15:52:35 +0000.970751][12ce] Init the opensl input.


[000:056] [2022-11-15 15:52:35 +0000.970763][12ce] AppDeviceManager get setting
samplerate: 0
[000:056] [2022-11-15 15:52:35 +0000.971085][12ce] The device model: redmi note 8
pro enum value: 0
[000:056] [2022-11-15 15:52:35 +0000.971565][12ce] The device model: redmi note 8
pro enum value: 0
[000:056] [2022-11-15 15:52:35 +0000.971588][12ce] Set the sample rate to be:48000
[000:056] [2022-11-15 15:52:35 +0000.971602][12ce] Enable the recording stereo:0
[000:056] [2022-11-15 15:52:35 +0000.971614][12ce] Set the playout as stereo:1
[000:056] [2022-11-15 15:52:35 +0000.971634][12ce] Init the microphone.
[000:059] [2022-11-15 15:52:35 +0000.974215][12ce] Update the recording sample rate
to be: 48000
[000:059] [2022-11-15 15:52:35 +0000.974267][12ce] Init the speaker.
[000:059] [2022-11-15 15:52:35 +0000.974289][12ce] Low latency buffer size:256 low
sample rate:48000
[000:059] [2022-11-15 15:52:35 +0000.974538][12ce] Using 1 x 10ms for an audio
frame.

[000:064] [2022-11-15 15:52:35 +0000.978653][12ce] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:064] [2022-11-15 15:52:35 +0000.978728][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:064] [2022-11-15 15:52:35 +0000.978760][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:068] [2022-11-15 15:52:35 +0000.983189][12ce] The device model:redmi note 8
pro

[000:068] [2022-11-15 15:52:35 +0000.983242][12ce] speaker output factor:100


defaultFactor: 100

[000:068] [2022-11-15 15:52:35 +0000.983257][12ce] headset output factor:100


defaultFactor: 100

[000:068] [2022-11-15 15:52:35 +0000.983533][12ce] AppDeviceManagerStart finished.


[000:068] [2022-11-15 15:52:35 +0000.983557][12ce] AppDeviceManagerStartMic::mic
status is off
[000:068] [2022-11-15 15:52:35 +0000.983588][12ce] AppDeviceManagerStartMic update
aec type: 2

[000:068] [2022-11-15 15:52:35 +0000.983604][12ce] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:068] [2022-11-15 15:52:35 +0000.983616][12ce]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:068] [2022-11-15 15:52:35 +0000.983627][12ce]
AudioDeviceDataHandler::StartMicProcess

[000:069] [2022-11-15 15:52:35 +0000.983722][12ce] Try to start webrtc recording


device.

[000:069] [2022-11-15 15:52:35 +0000.983746][12ce] StartRecording. threadID:4814

[000:069] [2022-11-15 15:52:35 +0000.983788][21b4] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:069] [2022-11-15 15:52:35 +0000.983901][21b4] haveEnoughProcessedData
internalAudioStream.length: 0
[000:069] [2022-11-15 15:52:35 +0000.984004][12ce] The machine model:Redmi Note 8
Pro

[000:069] [2022-11-15 15:52:35 +0000.984046][12ce] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:069] [2022-11-15 15:52:35 +0000.984059][12ce] Set the recording mode before


getSetting: 4
[000:069] [2022-11-15 15:52:35 +0000.984146][12ce] Set the recording mode after
getSetting: 1
[000:106] [2022-11-15 15:52:36 +0000.20643][12ce] StartRecording finished.

[000:106] [2022-11-15 15:52:36 +0000.20689][12ce] audio: start the audio mic


checker timer.

[000:106] [2022-11-15 15:52:36 +0000.21100][12ce] machine model :redmi


[000:106] [2022-11-15 15:52:36 +0000.21137][12ce] Support this machine model :redmi
[000:109] [2022-11-15 15:52:36 +0000.24387][12ce] global inited! current sdk
version: 04-21-feaf968
[000:217] [2022-11-15 15:52:36 +0000.132019][21b5] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:217] [2022-11-15 15:52:36 +0000.132193][21b5] _deviceSampleRate:48000

[000:221] [2022-11-15 15:52:36 +0000.136559][21b4] Run AGC when audioType = 0


[000:222] [2022-11-15 15:52:36 +0000.136642][21b4]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:351] [2022-11-15 15:52:36 +0000.266488][2031]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:352] [2022-11-15 15:52:36 +0000.266779][21b0] MediaFilterCamera, recording
file context:0x712ea4a380 input texture:8
[000:352] [2022-11-15 15:52:36 +0000.266925][21b0] GLESContext:
[000:352] [2022-11-15 15:52:36 +0000.267610][21b0] The result of eglGetDisplay is:
0x1
[000:354] [2022-11-15 15:52:36 +0000.269476][21b0] The result of creation:
0x709553d880
[000:355] [2022-11-15 15:52:36 +0000.270599][21b0] The result of
eglCreatePbufferSurface is: 0x709553da00
[000:356] [2022-11-15 15:52:36 +0000.270786][2031]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x712ea4a380 input_texture: 8
[001:809] [2022-11-15 15:52:37 +0000.724318][21b4] haveEnoughProcessedData
internalAudioStream.length: 10
[002:209] [2022-11-15 15:52:38 +0000.124535][21b4] Run AGC when audioType = 0
[003:504] [2022-11-15 15:52:39 +0000.419577][21b4] haveEnoughProcessedData
internalAudioStream.length: 0
[004:107] [2022-11-15 15:52:40 +0000.21776][21ab]
monitorTime:4001totalDuration:3900
[004:209] [2022-11-15 15:52:40 +0000.124599][21b4] Run AGC when audioType = 0
[004:210] [2022-11-15 15:52:40 +0000.124794][21b4]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:201] [2022-11-15 15:52:41 +0000.115746][21b4] haveEnoughProcessedData
internalAudioStream.length: 0
[006:211] [2022-11-15 15:52:42 +0000.126488][21b4] Run AGC when audioType = 0
[006:900] [2022-11-15 15:52:42 +0000.815639][21b4] haveEnoughProcessedData
internalAudioStream.length: 10
[008:209] [2022-11-15 15:52:44 +0000.123975][21b4] Run AGC when audioType = 0
[008:209] [2022-11-15 15:52:44 +0000.124159][21b4]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:597] [2022-11-15 15:52:44 +0000.511915][21b4] haveEnoughProcessedData
internalAudioStream.length: 0
[008:753] [2022-11-15 15:52:44 +0000.668115][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[008:753] [2022-11-15 15:52:44 +0000.668262][12ce] ~MediaFilterCamera time:50046986
enter.

[008:753] [2022-11-15 15:52:44 +0000.668329][12ce] StopPullFrameAndWriteMp4


time:50046986 enter.
[008:754] [2022-11-15 15:52:44 +0000.668822][21af] stop recording
[008:754] [2022-11-15 15:52:44 +0000.668922][21af] we have stopped recording before
[008:754] [2022-11-15 15:52:44 +0000.669036][12ce] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[008:754] [2022-11-15 15:52:44 +0000.669593][12ce] DestroyPipelineAndFilters


time:50046987 enter.

[008:755] [2022-11-15 15:52:44 +0000.669728][12ce] DestroyPipelineAndFilters


leave. expire time = 1 ms

[008:755] [2022-11-15 15:52:44 +0000.669768][12ce] AppDeviceManagerStopMic

[008:755] [2022-11-15 15:52:44 +0000.669833][12ce] AppDeviceManagerStopMic::mic


status is on
[008:755] [2022-11-15 15:52:44 +0000.669866][12ce] Try to stop webrtc device.

[008:755] [2022-11-15 15:52:44 +0000.669896][12ce] Set record state to


stopped.threadID:4814

[008:799] [2022-11-15 15:52:44 +0000.714259][12ce] Try to destory the


recorder.threadID:4814

[009:039] [2022-11-15 15:52:44 +0000.953756][12ce] DestroyAudioRecorder:


[009:039] [2022-11-15 15:52:44 +0000.954082][12ce] Cleanup the buffer queue in the
recorder.
[009:039] [2022-11-15 15:52:44 +0000.954134][12ce] Destroy the recorder.

[009:041] [2022-11-15 15:52:44 +0000.956546][12ce] StopRecording finished.

[009:042] [2022-11-15 15:52:44 +0000.956725][12ce] The stop recording success.

[009:042] [2022-11-15 15:52:44 +0000.956797][12ce]


AudioDeviceDataHandler::StopMicProcess

[009:047] [2022-11-15 15:52:44 +0000.962233][12ce] AppDeviceManager stop.

[009:047] [2022-11-15 15:52:44 +0000.962558][12ce] Rlease the webrtc device object.

[009:050] [2022-11-15 15:52:44 +0000.964904][12ce] OpenSlesInput destruct.

[009:050] [2022-11-15 15:52:44 +0000.965114][12ce] OpenSlesOutput destruct.

[009:051] [2022-11-15 15:52:44 +0000.966187][12ce] EventDispatchServerScope


destruct
[009:051] [2022-11-15 15:52:44 +0000.966320][12ce]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[009:051] [2022-11-15 15:52:44 +0000.966440][12ce] ~AudioDeviceDataHandler

[009:052] [2022-11-15 15:52:44 +0000.967487][12ce] AppDeviceManagerDestruct.

[009:052] [2022-11-15 15:52:44 +0000.967607][12ce] ~AppDeviceManager:


[009:053] [2022-11-15 15:52:44 +0000.967724][12ce] ~CpuOverloadDetect time:50047286
enter.

[009:053] [2022-11-15 15:52:44 +0000.968208][12ce] ~CpuOverloadDetect leave.


expire time = 0 ms
[009:055] [2022-11-15 15:52:44 +0000.970646][12ce] Destruct BeautifyReader begin...
[009:056] [2022-11-15 15:52:44 +0000.970769][12ce] Destruct BeautifyReader done.
[009:056] [2022-11-15 15:52:44 +0000.970856][12ce] ~MediaFilterCamera leave.
expire time = 303 ms

[009:056] [2022-11-15 15:52:44 +0000.971213][12ce] ~GLESContext:


[009:060] [2022-11-15 15:52:44 +0000.974806][12ce] GLESContext destruct finish.
[009:060] [2022-11-15 15:52:44 +0000.975009][12ce] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[009:061] [2022-11-15 15:52:44 +0000.975666][12ce] global uninited!
[009:063] [2022-11-15 15:52:44 +0000.978061][12ce] clear AppID 50011
[009:063] [2022-11-15 15:52:44 +0000.978186][12ce] UnRegister JVM for Xplatform
util
[009:063] [2022-11-15 15:52:44 +0000.978260][12ce] Dispose::unregister webrtc video
engine
[009:063] [2022-11-15 15:52:44 +0000.978314][12ce] Init the android object with
jvm:0x0 env:0x0 context:0x0

[009:063] [2022-11-15 15:52:44 +0000.978380][12ce] SetAndroidMediaCodecObjects


time:50047296 enter.

[009:063] [2022-11-15 15:52:44 +0000.978570][12ce] ClearAndroidMediaCodecObjects


time:50047296 enter.

[009:064] [2022-11-15 15:52:44 +0000.978643][12ce] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[009:064] [2022-11-15 15:52:44 +0000.978698][12ce] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[009:064] [2022-11-15 15:52:44 +0000.978751][12ce] SetAndroidMediaCodecObjects


time:50047297 enter.

[009:064] [2022-11-15 15:52:44 +0000.978805][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[009:064] [2022-11-15 15:52:44 +0000.978860][12ce] ClearAndroidMediaCodecObjects
time:50047297 enter.

[009:064] [2022-11-15 15:52:44 +0000.978914][12ce] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[009:064] [2022-11-15 15:52:44 +0000.978966][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[009:064] [2022-11-15 15:52:44 +0000.979016][12ce] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[009:064] [2022-11-15 15:52:44 +0000.979068][12ce] Dispose::unregister webrtc voice


engine
[009:064] [2022-11-15 15:52:44 +0000.979120][12ce] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[009:064] [2022-11-15 15:52:44 +0000.979181][12ce] SystemUtil UnInit done


[055:614] [2022-11-15 15:55:03 +0000.378598][12ce] Register JVM for xplatform util
[055:622] [2022-11-15 15:55:03 +0000.387278][12ce] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
15 15:55:03 +0000
[055:622] [2022-11-15 15:55:03 +0000.387313][12ce] dump file m_prefix:-04-21-
feaf968
[055:625] [2022-11-15 15:55:03 +0000.390359][12ce] dump filename:trace.txt dump
time:1668183137

[055:625] [2022-11-15 15:55:03 +0000.390411][12ce] dump


filename:support_resolution.txt dump time:1668527564

[055:626] [2022-11-15 15:55:03 +0000.390537][12ce] set AppID=50011 old AppID=-1


[055:626] [2022-11-15 15:55:03 +0000.390560][12ce] Init the android object with
jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2d0158

[055:626] [2022-11-15 15:55:03 +0000.390578][12ce] SetAndroidMediaCodecObjects


time:50093859 enter.

[055:626] [2022-11-15 15:55:03 +0000.390609][12ce] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[055:626] [2022-11-15 15:55:03 +0000.390627][12ce] SetAndroidMediaCodecObjects


time:50093859 enter.

[055:626] [2022-11-15 15:55:03 +0000.390650][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071c53cd380
[055:626] [2022-11-15 15:55:03 +0000.390664][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071c53cd380 address:0x7052c02760
[055:626] [2022-11-15 15:55:03 +0000.390686][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071c53cd380
address:0x7052c02760
[055:626] [2022-11-15 15:55:03 +0000.390709][12ce] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[055:626] [2022-11-15 15:55:03 +0000.390728][12ce] Set the android objects with


jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2d0158

[055:626] [2022-11-15 15:55:03 +0000.390743][12ce] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71217d4580
[055:626] [2022-11-15 15:55:03 +0000.390758][12ce] SystemUtil Init done
[055:626] [2022-11-15 15:55:03 +0000.391025][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[055:626] [2022-11-15 15:55:03 +0000.391135][12ce] MediaFilterCamera
[055:626] [2022-11-15 15:55:03 +0000.391163][12ce] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[055:627] [2022-11-15 15:55:03 +0000.391683][12ce] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[055:627] [2022-11-15 15:55:03 +0000.391716][12ce] Recording session using default
bitrate support by app:31457280
[055:627] [2022-11-15 15:55:03 +0000.391754][25c4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x709ebcabc0
[055:627] [2022-11-15 15:55:03 +0000.391900][25c4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[055:627] [2022-11-15 15:55:03 +0000.391972][12ce] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[055:628] [2022-11-15 15:55:03 +0000.392518][12ce] Error(ini.cc:191): Open the file
failed. error:2
[055:628] [2022-11-15 15:55:03 +0000.392547][12ce]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[055:628] [2022-11-15 15:55:03 +0000.392562][12ce] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[055:631] [2022-11-15 15:55:03 +0000.395916][12ce] Error(ini.cc:191): Open the file
failed. error:2
[055:631] [2022-11-15 15:55:03 +0000.395968][12ce]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[055:631] [2022-11-15 15:55:03 +0000.395992][12ce] The device model: redmi note 8
pro usingHardwareAEC value: 0
[055:631] [2022-11-15 15:55:03 +0000.396006][12ce] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[055:631] [2022-11-15 15:55:03 +0000.396018][12ce] Using Default AEC type: software
AEC
[055:632] [2022-11-15 15:55:03 +0000.397051][12ce] The device model: redmi note 8
pro enum value: 0
[055:633] [2022-11-15 15:55:03 +0000.397520][12ce] GetMachineModel is Redmi Note 8
Pro
[055:633] [2022-11-15 15:55:03 +0000.397632][12ce] GetMachineInfo: Redmi Note 8
Pro
[055:633] [2022-11-15 15:55:03 +0000.397805][12ce] Construct BeautifyReader
begin...
[055:633] [2022-11-15 15:55:03 +0000.397847][12ce] dumpStickerRgba:0
dumpStickerYuv:0
[055:633] [2022-11-15 15:55:03 +0000.397877][12ce] Construct BeautifyReader done.
[055:637] [2022-11-15 15:55:03 +0000.402277][12ce] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[055:637] [2022-11-15 15:55:03 +0000.402332][12ce] AppDeviceManager telnet server
for statistics started......
[055:637] [2022-11-15 15:55:03 +0000.402345][25c7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7095448ea0
[055:638] [2022-11-15 15:55:03 +0000.402819][12ce] CpuOverloadDetect time:50093871
enter.

[055:638] [2022-11-15 15:55:03 +0000.403084][12ce] CpuOverloadDetect leave. expire


time = 0 ms

[055:638] [2022-11-15 15:55:03 +0000.403135][25c8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70454d6780
[055:639] [2022-11-15 15:55:03 +0000.403690][12ce] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[055:639] [2022-11-15 15:55:03 +0000.403718][12ce] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[055:639] [2022-11-15 15:55:03 +0000.403884][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[055:639] [2022-11-15 15:55:03 +0000.404160][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[055:639] [2022-11-15 15:55:03 +0000.404363][12ce] CreatePlatformSpecificObjects:
[055:639] [2022-11-15 15:55:03 +0000.404393][12ce] audio device use opensle input
and opensl output
[055:639] [2022-11-15 15:55:03 +0000.404412][12ce] Create OpenSLES output module
with java VM support.

[055:640] [2022-11-15 15:55:03 +0000.404523][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[055:640] [2022-11-15 15:55:03 +0000.404673][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[055:640] [2022-11-15 15:55:03 +0000.404841][12ce] Create OpenSLES output module
with buffer num:1

[055:640] [2022-11-15 15:55:03 +0000.404932][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[055:640] [2022-11-15 15:55:03 +0000.405056][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[055:640] [2022-11-15 15:55:03 +0000.405209][12ce] Create OpenSLES input module
with java VM support.

[055:640] [2022-11-15 15:55:03 +0000.405238][12ce] Create OpenSLES input module


with buffer num:1

[055:640] [2022-11-15 15:55:03 +0000.405260][12ce] Error(trace.cc:40): Init the


output and input for audio device template.
[055:640] [2022-11-15 15:55:03 +0000.405274][12ce] Init the output device.

[055:640] [2022-11-15 15:55:03 +0000.405293][12ce] Init the opensl input.


[055:640] [2022-11-15 15:55:03 +0000.405306][12ce] AppDeviceManager get setting
samplerate: 0
[055:641] [2022-11-15 15:55:03 +0000.405627][12ce] The device model: redmi note 8
pro enum value: 0
[055:641] [2022-11-15 15:55:03 +0000.406082][12ce] The device model: redmi note 8
pro enum value: 0
[055:641] [2022-11-15 15:55:03 +0000.406108][12ce] Set the sample rate to be:48000

[055:641] [2022-11-15 15:55:03 +0000.406132][12ce] Enable the recording stereo:0


[055:641] [2022-11-15 15:55:03 +0000.406146][12ce] Set the playout as stereo:1
[055:641] [2022-11-15 15:55:03 +0000.406158][12ce] Init the microphone.
[055:641] [2022-11-15 15:55:03 +0000.406446][12ce] Update the recording sample rate
to be: 48000
[055:642] [2022-11-15 15:55:03 +0000.406475][12ce] Init the speaker.
[055:642] [2022-11-15 15:55:03 +0000.406506][12ce] Low latency buffer size:256 low
sample rate:48000
[055:642] [2022-11-15 15:55:03 +0000.406717][12ce] Using 1 x 10ms for an audio
frame.

[055:645] [2022-11-15 15:55:03 +0000.409928][12ce] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[055:645] [2022-11-15 15:55:03 +0000.410002][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[055:645] [2022-11-15 15:55:03 +0000.410080][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[055:650] [2022-11-15 15:55:03 +0000.415144][12ce] The device model:redmi note 8
pro

[055:650] [2022-11-15 15:55:03 +0000.415200][12ce] speaker output factor:100


defaultFactor: 100

[055:650] [2022-11-15 15:55:03 +0000.415215][12ce] headset output factor:100


defaultFactor: 100

[055:651] [2022-11-15 15:55:03 +0000.415511][12ce] AppDeviceManagerStart finished.


[055:651] [2022-11-15 15:55:03 +0000.415538][12ce] AppDeviceManagerStartMic::mic
status is off
[055:651] [2022-11-15 15:55:03 +0000.415572][12ce] AppDeviceManagerStartMic update
aec type: 2

[055:651] [2022-11-15 15:55:03 +0000.415588][12ce] AppDeviceManagerStartMic update


voiceChangeMode: 4

[055:651] [2022-11-15 15:55:03 +0000.415601][12ce]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[055:651] [2022-11-15 15:55:03 +0000.415613][12ce]
AudioDeviceDataHandler::StartMicProcess

[055:651] [2022-11-15 15:55:03 +0000.415694][12ce] Try to start webrtc recording


device.

[055:651] [2022-11-15 15:55:03 +0000.415717][12ce] StartRecording. threadID:4814

[055:651] [2022-11-15 15:55:03 +0000.415752][12ce] default mode: Set the recording


mode to voice communication to enable HW AEC .

[055:651] [2022-11-15 15:55:03 +0000.415778][12ce] Set the recording mode before


getSetting: 4
[055:651] [2022-11-15 15:55:03 +0000.415797][12ce] Set the recording mode after
getSetting: 1
[055:651] [2022-11-15 15:55:03 +0000.415748][25c9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[055:672] [2022-11-15 15:55:03 +0000.436815][12ce] StartRecording finished.

[055:672] [2022-11-15 15:55:03 +0000.436905][12ce] audio: start the audio mic


checker timer.

[055:673] [2022-11-15 15:55:03 +0000.437862][12ce] machine model :redmi


[055:673] [2022-11-15 15:55:03 +0000.437947][12ce] Support this machine
model :redmi
[055:673] [2022-11-15 15:55:03 +0000.437987][12ce] global inited! current sdk
version: 04-21-feaf968
[055:864] [2022-11-15 15:55:03 +0000.628530][227d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[055:864] [2022-11-15 15:55:03 +0000.628648][25c5] MediaFilterCamera, recording
file context:0x71214e7a80 input texture:10
[055:864] [2022-11-15 15:55:03 +0000.628698][25c5] GLESContext:
[055:864] [2022-11-15 15:55:03 +0000.628994][25c5] The result of eglGetDisplay is:
0x1
[055:865] [2022-11-15 15:55:03 +0000.630279][25c5] The result of creation:
0x709553d200
[055:867] [2022-11-15 15:55:03 +0000.631629][25c5] The result of
eglCreatePbufferSurface is: 0x709553d300
[055:867] [2022-11-15 15:55:03 +0000.631903][227d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x71214e7a80 input_texture: 10
[057:041] [2022-11-15 15:55:04 +0000.806466][25c9] haveEnoughProcessedData
internalAudioStream.length: 0
[057:218] [2022-11-15 15:55:04 +0000.983381][25ca] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[057:219] [2022-11-15 15:55:04 +0000.983534][25ca] _deviceSampleRate:48000

[057:221] [2022-11-15 15:55:04 +0000.985917][25c9] Run AGC when audioType = 0


[057:284] [2022-11-15 15:55:05 +0000.49098][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[057:284] [2022-11-15 15:55:05 +0000.49217][12ce] ~MediaFilterCamera time:50095517
enter.

[057:284] [2022-11-15 15:55:05 +0000.49264][12ce] StopPullFrameAndWriteMp4


time:50095517 enter.

[057:285] [2022-11-15 15:55:05 +0000.49926][25c4] stop recording


[057:285] [2022-11-15 15:55:05 +0000.49993][25c4] we have stopped recording before
[057:285] [2022-11-15 15:55:05 +0000.50133][12ce] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms
[057:286] [2022-11-15 15:55:05 +0000.50777][12ce] DestroyPipelineAndFilters
time:50095519 enter.

[057:286] [2022-11-15 15:55:05 +0000.50838][12ce] DestroyPipelineAndFilters leave.


expire time = 0 ms

[057:286] [2022-11-15 15:55:05 +0000.50867][12ce] AppDeviceManagerStopMic

[057:286] [2022-11-15 15:55:05 +0000.50919][12ce] AppDeviceManagerStopMic::mic


status is on
[057:286] [2022-11-15 15:55:05 +0000.50995][12ce] Try to stop webrtc device.

[057:286] [2022-11-15 15:55:05 +0000.51029][12ce] Set record state to


stopped.threadID:4814

[057:323] [2022-11-15 15:55:05 +0000.87785][12ce] Try to destory the


recorder.threadID:4814

[057:523] [2022-11-15 15:55:05 +0000.287949][12ce] DestroyAudioRecorder:


[057:523] [2022-11-15 15:55:05 +0000.288202][12ce] Cleanup the buffer queue in the
recorder.
[057:523] [2022-11-15 15:55:05 +0000.288273][12ce] Destroy the recorder.

[057:524] [2022-11-15 15:55:05 +0000.289435][12ce] StopRecording finished.

[057:525] [2022-11-15 15:55:05 +0000.289524][12ce] The stop recording success.

[057:525] [2022-11-15 15:55:05 +0000.289573][12ce]


AudioDeviceDataHandler::StopMicProcess

[057:529] [2022-11-15 15:55:05 +0000.293825][12ce] AppDeviceManager stop.

[057:529] [2022-11-15 15:55:05 +0000.293982][12ce] Rlease the webrtc device object.

[057:530] [2022-11-15 15:55:05 +0000.294496][12ce] OpenSlesInput destruct.

[057:530] [2022-11-15 15:55:05 +0000.294557][12ce] OpenSlesOutput destruct.

[057:530] [2022-11-15 15:55:05 +0000.295002][12ce] EventDispatchServerScope


destruct
[057:530] [2022-11-15 15:55:05 +0000.295077][12ce]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[057:530] [2022-11-15 15:55:05 +0000.295153][12ce] ~AudioDeviceDataHandler

[057:531] [2022-11-15 15:55:05 +0000.295753][12ce] AppDeviceManagerDestruct.

[057:531] [2022-11-15 15:55:05 +0000.295845][12ce] ~AppDeviceManager:


[057:531] [2022-11-15 15:55:05 +0000.295919][12ce] ~CpuOverloadDetect time:50095764
enter.

[057:531] [2022-11-15 15:55:05 +0000.296344][12ce] ~CpuOverloadDetect leave.


expire time = 0 ms

[057:533] [2022-11-15 15:55:05 +0000.298158][12ce] Destruct BeautifyReader begin...


[057:533] [2022-11-15 15:55:05 +0000.298259][12ce] Destruct BeautifyReader done.
[057:533] [2022-11-15 15:55:05 +0000.298301][12ce] ~MediaFilterCamera leave.
expire time = 249 ms

[057:534] [2022-11-15 15:55:05 +0000.298501][12ce] ~GLESContext:


[057:534] [2022-11-15 15:55:05 +0000.299064][12ce] GLESContext destruct finish.
[057:534] [2022-11-15 15:55:05 +0000.299139][12ce] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[057:535] [2022-11-15 15:55:05 +0000.299601][12ce] global uninited!
[057:535] [2022-11-15 15:55:05 +0000.300012][12ce] clear AppID 50011
[057:535] [2022-11-15 15:55:05 +0000.300067][12ce] UnRegister JVM for Xplatform
util
[057:535] [2022-11-15 15:55:05 +0000.300116][12ce] Dispose::unregister webrtc video
engine
[057:535] [2022-11-15 15:55:05 +0000.300157][12ce] Init the android object with
jvm:0x0 env:0x0 context:0x0

[057:535] [2022-11-15 15:55:05 +0000.300205][12ce] SetAndroidMediaCodecObjects


time:50095768 enter.

[057:535] [2022-11-15 15:55:05 +0000.300249][12ce] ClearAndroidMediaCodecObjects


time:50095768 enter.

[057:535] [2022-11-15 15:55:05 +0000.300297][12ce] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[057:535] [2022-11-15 15:55:05 +0000.300339][12ce] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[057:535] [2022-11-15 15:55:05 +0000.300382][12ce] SetAndroidMediaCodecObjects


time:50095768 enter.

[057:535] [2022-11-15 15:55:05 +0000.300423][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[057:535] [2022-11-15 15:55:05 +0000.300465][12ce] ClearAndroidMediaCodecObjects
time:50095768 enter.

[057:536] [2022-11-15 15:55:05 +0000.300507][12ce] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[057:536] [2022-11-15 15:55:05 +0000.300549][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[057:536] [2022-11-15 15:55:05 +0000.300589][12ce] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[057:536] [2022-11-15 15:55:05 +0000.300630][12ce] Dispose::unregister webrtc voice


engine
[057:536] [2022-11-15 15:55:05 +0000.300670][12ce] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[057:536] [2022-11-15 15:55:05 +0000.300716][12ce] SystemUtil UnInit done


[209:787] [2022-11-15 15:57:37 +0000.552024][12ce] Register JVM for xplatform util
[209:796] [2022-11-15 15:57:37 +0000.561052][12ce] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
15 15:57:37 +0000
[209:796] [2022-11-15 15:57:37 +0000.561090][12ce] dump file m_prefix:-04-21-
feaf968

[209:799] [2022-11-15 15:57:37 +0000.563932][12ce] dump filename:trace.txt dump


time:1668183137

[209:799] [2022-11-15 15:57:37 +0000.563990][12ce] dump


filename:support_resolution.txt dump time:1668527705
[209:799] [2022-11-15 15:57:37 +0000.564124][12ce] set AppID=50011 old AppID=-1
[209:799] [2022-11-15 15:57:37 +0000.564145][12ce] Init the android object with
jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2d0158

[209:799] [2022-11-15 15:57:37 +0000.564163][12ce] SetAndroidMediaCodecObjects


time:50248032 enter.

[209:799] [2022-11-15 15:57:37 +0000.564180][12ce] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[209:799] [2022-11-15 15:57:37 +0000.564193][12ce] SetAndroidMediaCodecObjects


time:50248032 enter.

[209:799] [2022-11-15 15:57:37 +0000.564206][12ce] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071c53cd380
[209:799] [2022-11-15 15:57:37 +0000.564229][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071c53cd380 address:0x7052c02760
[209:799] [2022-11-15 15:57:37 +0000.564243][12ce] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071c53cd380
address:0x7052c02760
[209:799] [2022-11-15 15:57:37 +0000.564256][12ce] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[209:799] [2022-11-15 15:57:37 +0000.564276][12ce] Set the android objects with


jvm:0xb4000071c53cd380 env:0x71217d4580 context:0x70cc2d0158

[209:799] [2022-11-15 15:57:37 +0000.564289][12ce] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71217d4580
[209:799] [2022-11-15 15:57:37 +0000.564305][12ce] SystemUtil Init done
[209:800] [2022-11-15 15:57:37 +0000.564627][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[209:800] [2022-11-15 15:57:37 +0000.565080][12ce] MediaFilterCamera
[209:800] [2022-11-15 15:57:37 +0000.565122][12ce] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[209:800] [2022-11-15 15:57:37 +0000.565364][12ce] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[209:800] [2022-11-15 15:57:37 +0000.565400][12ce] Recording session using default
bitrate support by app:31457280
[209:800] [2022-11-15 15:57:37 +0000.565437][39a5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x712a1138c0
[209:801] [2022-11-15 15:57:37 +0000.565599][39a5] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[209:801] [2022-11-15 15:57:37 +0000.565710][12ce] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[209:801] [2022-11-15 15:57:37 +0000.566410][12ce] Error(ini.cc:191): Open the file
failed. error:2
[209:801] [2022-11-15 15:57:37 +0000.566462][12ce]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[209:802] [2022-11-15 15:57:37 +0000.566479][12ce] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[209:805] [2022-11-15 15:57:37 +0000.570371][12ce] Error(ini.cc:191): Open the file
failed. error:2
[209:805] [2022-11-15 15:57:37 +0000.570435][12ce]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[209:805] [2022-11-15 15:57:37 +0000.570458][12ce] The device model: redmi note 8
pro usingHardwareAEC value: 0
[209:806] [2022-11-15 15:57:37 +0000.570473][12ce] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[209:806] [2022-11-15 15:57:37 +0000.570486][12ce] Using Default AEC type: software
AEC
[209:807] [2022-11-15 15:57:37 +0000.571521][12ce] The device model: redmi note 8
pro enum value: 0
[209:807] [2022-11-15 15:57:37 +0000.571974][12ce] GetMachineModel is Redmi Note 8
Pro
[209:807] [2022-11-15 15:57:37 +0000.572005][12ce] GetMachineInfo: Redmi Note 8
Pro
[209:807] [2022-11-15 15:57:37 +0000.572060][12ce] Construct BeautifyReader
begin...
[209:807] [2022-11-15 15:57:37 +0000.572079][12ce] dumpStickerRgba:0
dumpStickerYuv:0
[209:807] [2022-11-15 15:57:37 +0000.572090][12ce] Construct BeautifyReader done.
[209:812] [2022-11-15 15:57:37 +0000.576915][12ce] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[209:812] [2022-11-15 15:57:37 +0000.576969][12ce] AppDeviceManager telnet server
for statistics started......
[209:812] [2022-11-15 15:57:37 +0000.576975][39a8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x707fe6e8a0
[209:813] [2022-11-15 15:57:37 +0000.577897][12ce] CpuOverloadDetect time:50248046
enter.

[209:813] [2022-11-15 15:57:37 +0000.578142][12ce] CpuOverloadDetect leave. expire


time = 0 ms

[209:813] [2022-11-15 15:57:37 +0000.578171][39a9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70456bcfc0
[209:815] [2022-11-15 15:57:37 +0000.579544][12ce] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[209:815] [2022-11-15 15:57:37 +0000.579607][12ce] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[209:815] [2022-11-15 15:57:37 +0000.580409][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[209:816] [2022-11-15 15:57:37 +0000.580681][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[209:816] [2022-11-15 15:57:37 +0000.581107][12ce] CreatePlatformSpecificObjects:
[209:816] [2022-11-15 15:57:37 +0000.581137][12ce] audio device use opensle input
and opensl output
[209:816] [2022-11-15 15:57:37 +0000.581166][12ce] Create OpenSLES output module
with java VM support.

[209:816] [2022-11-15 15:57:37 +0000.581287][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[209:816] [2022-11-15 15:57:37 +0000.581417][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[209:817] [2022-11-15 15:57:37 +0000.581664][12ce] Create OpenSLES output module
with buffer num:1

[209:817] [2022-11-15 15:57:37 +0000.581790][12ce] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[209:817] [2022-11-15 15:57:37 +0000.581946][12ce] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[209:817] [2022-11-15 15:57:37 +0000.582113][12ce] Create OpenSLES input module
with java VM support.

[209:817] [2022-11-15 15:57:37 +0000.582146][12ce] Create OpenSLES input module


with buffer num:1

[209:817] [2022-11-15 15:57:37 +0000.582169][12ce] Error(trace.cc:40): Init the


output and input for audio device template.
[209:817] [2022-11-15 15:57:37 +0000.582187][12ce] Init the output device.

[209:817] [2022-11-15 15:57:37 +0000.582198][12ce] Init the opensl input.


[209:817] [2022-11-15 15:57:37 +0000.582212][12ce] AppDeviceManager get setting
samplerate: 0
[209:818] [2022-11-15 15:57:37 +0000.582553][12ce] The device model: redmi note 8
pro enum value: 0
[209:818] [2022-11-15 15:57:37 +0000.583054][12ce] The device model: redmi note 8
pro enum value: 0
[209:818] [2022-11-15 15:57:37 +0000.583089][12ce] Set the sample rate to be:48000

[209:818] [2022-11-15 15:57:37 +0000.583104][12ce] Enable the recording stereo:0


[209:818] [2022-11-15 15:57:37 +0000.583116][12ce] Set the playout as stereo:1
[209:818] [2022-11-15 15:57:37 +0000.583128][12ce] Init the microphone.
[209:818] [2022-11-15 15:57:37 +0000.583391][12ce] Update the recording sample rate
to be: 48000
[209:818] [2022-11-15 15:57:37 +0000.583438][12ce] Init the speaker.
[209:818] [2022-11-15 15:57:37 +0000.583464][12ce] Low latency buffer size:256 low
sample rate:48000
[209:819] [2022-11-15 15:57:37 +0000.583732][12ce] Using 1 x 10ms for an audio
frame.

[209:822] [2022-11-15 15:57:37 +0000.586977][12ce] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[209:822] [2022-11-15 15:57:37 +0000.587045][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[209:822] [2022-11-15 15:57:37 +0000.587071][12ce] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[209:826] [2022-11-15 15:57:37 +0000.591340][12ce] The device model:redmi note 8
pro

[209:826] [2022-11-15 15:57:37 +0000.591390][12ce] speaker output factor:100


defaultFactor: 100

[209:826] [2022-11-15 15:57:37 +0000.591403][12ce] headset output factor:100


defaultFactor: 100

[209:827] [2022-11-15 15:57:37 +0000.591706][12ce] AppDeviceManagerStart finished.


[209:827] [2022-11-15 15:57:37 +0000.591738][12ce] AppDeviceManagerStartMic::mic
status is off
[209:827] [2022-11-15 15:57:37 +0000.591775][12ce] AppDeviceManagerStartMic update
aec type: 2

[209:827] [2022-11-15 15:57:37 +0000.591792][12ce] AppDeviceManagerStartMic update


voiceChangeMode: 4

[209:827] [2022-11-15 15:57:37 +0000.591804][12ce]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[209:827] [2022-11-15 15:57:37 +0000.591816][12ce]
AudioDeviceDataHandler::StartMicProcess

[209:827] [2022-11-15 15:57:37 +0000.591933][12ce] Try to start webrtc recording


device.

[209:827] [2022-11-15 15:57:37 +0000.591959][12ce] StartRecording. threadID:4814

[209:827] [2022-11-15 15:57:37 +0000.591992][12ce] default mode: Set the recording


mode to voice communication to enable HW AEC .
[209:827] [2022-11-15 15:57:37 +0000.592054][12ce] Set the recording mode before
getSetting: 4
[209:827] [2022-11-15 15:57:37 +0000.591990][39aa] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[209:827] [2022-11-15 15:57:37 +0000.592072][12ce] Set the recording mode after
getSetting: 1
[209:848] [2022-11-15 15:57:37 +0000.612876][12ce] StartRecording finished.

[209:848] [2022-11-15 15:57:37 +0000.612919][12ce] audio: start the audio mic


checker timer.

[209:848] [2022-11-15 15:57:37 +0000.613275][12ce] machine model :redmi


[209:848] [2022-11-15 15:57:37 +0000.613305][12ce] Support this machine
model :redmi
[209:848] [2022-11-15 15:57:37 +0000.613320][12ce] global inited! current sdk
version: 04-21-feaf968
[210:042] [2022-11-15 15:57:37 +0000.807356][37f5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[210:043] [2022-11-15 15:57:37 +0000.807866][39a6] MediaFilterCamera, recording
file context:0x70b7eb7700 input texture:10
[210:043] [2022-11-15 15:57:37 +0000.807961][39a6] GLESContext:
[210:043] [2022-11-15 15:57:37 +0000.808304][39a6] The result of eglGetDisplay is:
0x1
[210:044] [2022-11-15 15:57:37 +0000.809190][39a6] The result of creation:
0x712ea19500
[210:046] [2022-11-15 15:57:37 +0000.810632][39a6] The result of
eglCreatePbufferSurface is: 0x7125863680
[210:046] [2022-11-15 15:57:37 +0000.810760][37f5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70b7eb7700 input_texture: 10
[210:508] [2022-11-15 15:57:38 +0000.273356][12ce]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[210:511] [2022-11-15 15:57:38 +0000.275948][12ce] ~MediaFilterCamera time:50248744
enter.

[210:511] [2022-11-15 15:57:38 +0000.276000][12ce] StopPullFrameAndWriteMp4


time:50248744 enter.

[210:511] [2022-11-15 15:57:38 +0000.276279][39a5] stop recording


[210:511] [2022-11-15 15:57:38 +0000.276353][39a5] we have stopped recording before
[210:512] [2022-11-15 15:57:38 +0000.276491][12ce] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[210:512] [2022-11-15 15:57:38 +0000.277024][12ce] DestroyPipelineAndFilters


time:50248745 enter.

[210:512] [2022-11-15 15:57:38 +0000.277059][12ce] DestroyPipelineAndFilters


leave. expire time = 0 ms

[210:512] [2022-11-15 15:57:38 +0000.277074][12ce] AppDeviceManagerStopMic

[210:512] [2022-11-15 15:57:38 +0000.277110][12ce] AppDeviceManagerStopMic::mic


status is on
[210:512] [2022-11-15 15:57:38 +0000.277124][12ce] Try to stop webrtc device.

[210:512] [2022-11-15 15:57:38 +0000.277137][12ce] Set record state to


stopped.threadID:4814
[210:555] [2022-11-15 15:57:38 +0000.320260][12ce] Try to destory the
recorder.threadID:4814

[210:755] [2022-11-15 15:57:38 +0000.520457][12ce] DestroyAudioRecorder:


[210:756] [2022-11-[000:028] [2022-11-16 12:58:43 +0000.559026][1383] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
16 12:58:43 +0000
[000:028] [2022-11-16 12:58:43 +0000.559099][1383] dump file m_prefix:-04-21-
feaf968

[000:031] [2022-11-16 12:58:43 +0000.562589][1383] dump filename:trace.txt dump


time:1668527858

[000:031] [2022-11-16 12:58:43 +0000.562658][1383] dump


filename:support_resolution.txt dump time:1668527858

[000:031] [2022-11-16 12:58:43 +0000.562831][1383] set AppID=50011 old AppID=-1


[000:031] [2022-11-16 12:58:43 +0000.562867][1383] Init the android object with
jvm:0xb4000071c53cd380 env:0x71217c5a80 context:0x70cc2d8f28

[000:031] [2022-11-16 12:58:43 +0000.562903][1383] SetAndroidMediaCodecObjects


time:97298899 enter.

[000:032] [2022-11-16 12:58:43 +0000.562940][1383] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[000:032] [2022-11-16 12:58:43 +0000.562959][1383] SetAndroidMediaCodecObjects


time:97298900 enter.

[000:032] [2022-11-16 12:58:43 +0000.562973][1383] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071c53cd380
[000:032] [2022-11-16 12:58:43 +0000.562986][1383] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071c53cd380 address:0x703c53b760
[000:032] [2022-11-16 12:58:43 +0000.563023][1383] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071c53cd380
address:0x703c53b760
[000:032] [2022-11-16 12:58:43 +0000.563038][1383] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:032] [2022-11-16 12:58:43 +0000.563059][1383] Set the android objects with


jvm:0xb4000071c53cd380 env:0x71217c5a80 context:0x70cc2d8f28

[000:033] [2022-11-16 12:58:43 +0000.564146][1383] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71217c5a80
[000:033] [2022-11-16 12:58:43 +0000.564180][1383] SystemUtil Init done
[000:035] [2022-11-16 12:58:43 +0000.566594][1383]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:037] [2022-11-16 12:58:43 +0000.568258][1383] MediaFilterCamera
[000:037] [2022-11-16 12:58:43 +0000.568335][1383] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:037] [2022-11-16 12:58:43 +0000.568431][1383] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:037] [2022-11-16 12:58:43 +0000.568462][1383] Recording session using default
bitrate support by app:31457280
[000:037] [2022-11-16 12:58:43 +0000.568494][24f4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x712a114040
[000:037] [2022-11-16 12:58:43 +0000.568606][24f4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:037] [2022-11-16 12:58:43 +0000.568695][1383] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:038] [2022-11-16 12:58:43 +0000.569247][1383] Error(ini.cc:191): Open the file
failed. error:2
[000:038] [2022-11-16 12:58:43 +0000.569280][1383]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:038] [2022-11-16 12:58:43 +0000.569321][1383] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:041] [2022-11-16 12:58:43 +0000.572257][1383] Error(ini.cc:191): Open the file
failed. error:2
[000:041] [2022-11-16 12:58:43 +0000.572315][1383]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:041] [2022-11-16 12:58:43 +0000.572341][1383] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:041] [2022-11-16 12:58:43 +0000.572367][1383] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:041] [2022-11-16 12:58:43 +0000.572381][1383] Using Default AEC type: software
AEC
[000:042] [2022-11-16 12:58:43 +0000.573333][1383] The device model: redmi note 8
pro enum value: 0
[000:042] [2022-11-16 12:58:43 +0000.573745][1383] GetMachineModel is Redmi Note 8
Pro
[000:042] [2022-11-16 12:58:43 +0000.573776][1383] GetMachineInfo: Redmi Note 8
Pro
[000:043] [2022-11-16 12:58:43 +0000.574279][1383] Construct BeautifyReader
begin...
[000:043] [2022-11-16 12:58:43 +0000.574304][1383] dumpStickerRgba:0
dumpStickerYuv:0
[000:043] [2022-11-16 12:58:43 +0000.574317][1383] Construct BeautifyReader done.
[000:046] [2022-11-16 12:58:43 +0000.577851][1383] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:046] [2022-11-16 12:58:43 +0000.577905][1383] AppDeviceManager telnet server
for statistics started......
[000:046] [2022-11-16 12:58:43 +0000.577908][24f7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7121306ba0
[000:047] [2022-11-16 12:58:43 +0000.578381][1383] CpuOverloadDetect time:97298915
enter.

[000:047] [2022-11-16 12:58:43 +0000.578460][1383] CpuOverloadDetect leave. expire


time = 0 ms

[000:047] [2022-11-16 12:58:43 +0000.578508][24f8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70b80dcc00
[000:048] [2022-11-16 12:58:43 +0000.579050][1383] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:048] [2022-11-16 12:58:43 +0000.579075][1383] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:048] [2022-11-16 12:58:43 +0000.579366][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:050] [2022-11-16 12:58:43 +0000.581207][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:050] [2022-11-16 12:58:43 +0000.581723][1383] CreatePlatformSpecificObjects:
[000:050] [2022-11-16 12:58:43 +0000.581783][1383] audio device use opensle input
and opensl output
[000:050] [2022-11-16 12:58:43 +0000.581824][1383] Create OpenSLES output module
with java VM support.

[000:051] [2022-11-16 12:58:43 +0000.581976][1383] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:051] [2022-11-16 12:58:43 +0000.582244][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:051] [2022-11-16 12:58:43 +0000.582437][1383] Create OpenSLES output module
with buffer num:1

[000:051] [2022-11-16 12:58:43 +0000.582590][1383] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:051] [2022-11-16 12:58:43 +0000.582792][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:052] [2022-11-16 12:58:43 +0000.582973][1383] Create OpenSLES input module
with java VM support.

[000:052] [2022-11-16 12:58:43 +0000.583005][1383] Create OpenSLES input module


with buffer num:1

[000:052] [2022-11-16 12:58:43 +0000.583053][1383] Error(trace.cc:40): Init the


output and input for audio device template.
[000:052] [2022-11-16 12:58:43 +0000.583073][1383] Init the output device.

[000:052] [2022-11-16 12:58:43 +0000.583086][1383] Init the opensl input.


[000:052] [2022-11-16 12:58:43 +0000.583101][1383] AppDeviceManager get setting
samplerate: 0
[000:052] [2022-11-16 12:58:43 +0000.583434][1383] The device model: redmi note 8
pro enum value: 0
[000:053] [2022-11-16 12:58:43 +0000.583943][1383] The device model: redmi note 8
pro enum value: 0
[000:053] [2022-11-16 12:58:43 +0000.583969][1383] Set the sample rate to be:48000

[000:053] [2022-11-16 12:58:43 +0000.584548][1383] Enable the recording stereo:0


[000:053] [2022-11-16 12:58:43 +0000.584570][1383] Set the playout as stereo:1
[000:053] [2022-11-16 12:58:43 +0000.584583][1383] Init the microphone.
[000:055] [2022-11-16 12:58:43 +0000.586292][1383] Update the recording sample rate
to be: 48000
[000:055] [2022-11-16 12:58:43 +0000.586341][1383] Init the speaker.
[000:055] [2022-11-16 12:58:43 +0000.586365][1383] Low latency buffer size:256 low
sample rate:48000
[000:055] [2022-11-16 12:58:43 +0000.586605][1383] Using 1 x 10ms for an audio
frame.

[000:058] [2022-11-16 12:58:43 +0000.589830][1383] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:059] [2022-11-16 12:58:43 +0000.589928][1383] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:059] [2022-11-16 12:58:43 +0000.589960][1383] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:063] [2022-11-16 12:58:43 +0000.594465][1383] The device model:redmi note 8
pro

[000:063] [2022-11-16 12:58:43 +0000.594523][1383] speaker output factor:100


defaultFactor: 100

[000:063] [2022-11-16 12:58:43 +0000.594542][1383] headset output factor:100


defaultFactor: 100

[000:063] [2022-11-16 12:58:43 +0000.594873][1383] AppDeviceManagerStart finished.


[000:063] [2022-11-16 12:58:43 +0000.594904][1383] AppDeviceManagerStartMic::mic
status is off
[000:064] [2022-11-16 12:58:43 +0000.594962][1383] AppDeviceManagerStartMic update
aec type: 2
[000:064] [2022-11-16 12:58:43 +0000.594982][1383] AppDeviceManagerStartMic update
voiceChangeMode: 4

[000:064] [2022-11-16 12:58:43 +0000.594997][1383]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:064] [2022-11-16 12:58:43 +0000.595009][1383]
AudioDeviceDataHandler::StartMicProcess

[000:064] [2022-11-16 12:58:43 +0000.595098][1383] Try to start webrtc recording


device.

[000:064] [2022-11-16 12:58:43 +0000.595125][1383] StartRecording. threadID:4995

[000:064] [2022-11-16 12:58:43 +0000.595157][24f9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:064] [2022-11-16 12:58:43 +0000.595281][24f9] haveEnoughProcessedData
internalAudioStream.length: 0
[000:064] [2022-11-16 12:58:43 +0000.595429][1383] The machine model:Redmi Note 8
Pro

[000:064] [2022-11-16 12:58:43 +0000.595474][1383] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:064] [2022-11-16 12:58:43 +0000.595494][1383] Set the recording mode before


getSetting: 4
[000:064] [2022-11-16 12:58:43 +0000.595512][1383] Set the recording mode after
getSetting: 1
[000:103] [2022-11-16 12:58:43 +0000.634070][1383] StartRecording finished.

[000:103] [2022-11-16 12:58:43 +0000.634122][1383] audio: start the audio mic


checker timer.

[000:103] [2022-11-16 12:58:43 +0000.634548][1383] machine model :redmi


[000:103] [2022-11-16 12:58:43 +0000.634589][1383] Support this machine
model :redmi
[000:107] [2022-11-16 12:58:43 +0000.638527][1383] global inited! current sdk
version: 04-21-feaf968
[000:215] [2022-11-16 12:58:43 +0000.746189][24fa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:215] [2022-11-16 12:58:43 +0000.746293][24fa] _deviceSampleRate:48000

[000:216] [2022-11-16 12:58:43 +0000.747681][24f9] Run AGC when audioType = 0


[000:216] [2022-11-16 12:58:43 +0000.747814][24f9]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:322] [2022-11-16 12:58:43 +0000.853768][1dec]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:322] [2022-11-16 12:58:43 +0000.853925][24f5] MediaFilterCamera, recording
file context:0x712eb60a00 input texture:12
[000:323] [2022-11-16 12:58:43 +0000.854018][24f5] GLESContext:
[000:323] [2022-11-16 12:58:43 +0000.854644][24f5] The result of eglGetDisplay is:
0x1
[000:328] [2022-11-16 12:58:43 +0000.859147][24f5] The result of creation:
0x7121303480
[000:330] [2022-11-16 12:58:43 +0000.861361][24f5] The result of
eglCreatePbufferSurface is: 0x7121303500
[000:330] [2022-11-16 12:58:43 +0000.861683][1dec]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x712eb60a00 input_texture: 12
[000:340] [2022-11-16 12:58:43 +0000.871447][1383]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:340] [2022-11-16 12:58:43 +0000.871579][1383] ~MediaFilterCamera time:97299208
enter.

[000:340] [2022-11-16 12:58:43 +0000.871633][1383] StopPullFrameAndWriteMp4


time:97299208 enter.

[000:341] [2022-11-16 12:58:43 +0000.872134][24f4] stop recording


[000:341] [2022-11-16 12:58:43 +0000.872238][24f4] we have stopped recording before
[000:341] [2022-11-16 12:58:43 +0000.872382][1383] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:342] [2022-11-16 12:58:43 +0000.873115][1383] DestroyPipelineAndFilters


time:97299210 enter.

[000:342] [2022-11-16 12:58:43 +0000.873235][1383] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:342] [2022-11-16 12:58:43 +0000.873360][1383] AppDeviceManagerStopMic

[000:342] [2022-11-16 12:58:43 +0000.873447][1383] AppDeviceManagerStopMic::mic


status is on
[000:342] [2022-11-16 12:58:43 +0000.873490][1383] Try to stop webrtc device.

[000:342] [2022-11-16 12:58:43 +0000.873532][1383] Set record state to


stopped.threadID:4995

[000:380] [2022-11-16 12:58:43 +0000.911608][1383] Try to destory the


recorder.threadID:4995

[000:580] [2022-11-16 12:58:44 +0000.111789][1383] DestroyAudioRecorder:


[000:580] [2022-11-16 12:58:44 +0000.111859][1383] Cleanup the buffer queue in the
recorder.
[000:580] [2022-11-16 12:58:44 +0000.111877][1383] Destroy the recorder.

[000:581] [2022-11-16 12:58:44 +0000.112449][1383] StopRecording finished.

[000:581] [2022-11-16 12:58:44 +0000.112498][1383] The stop recording success.

[000:581] [2022-11-16 12:58:44 +0000.112514][1383]


AudioDeviceDataHandler::StopMicProcess

[000:583] [2022-11-16 12:58:44 +0000.114741][1383] AppDeviceManager stop.

[000:583] [2022-11-16 12:58:44 +0000.114806][1383] Rlease the webrtc device object.

[000:584] [2022-11-16 12:58:44 +0000.115039][1383] OpenSlesInput destruct.

[000:584] [2022-11-16 12:58:44 +0000.115089][1383] OpenSlesOutput destruct.

[000:584] [2022-11-16 12:58:44 +0000.115387][1383] EventDispatchServerScope


destruct
[000:584] [2022-11-16 12:58:44 +0000.115433][1383]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:584] [2022-11-16 12:58:44 +0000.115469][1383] ~AudioDeviceDataHandler
[000:585] [2022-11-16 12:58:44 +0000.115966][1383] AppDeviceManagerDestruct.

[000:585] [2022-11-16 12:58:44 +0000.116010][1383] ~AppDeviceManager:


[000:585] [2022-11-16 12:58:44 +0000.116046][1383] ~CpuOverloadDetect time:97299453
enter.

[000:585] [2022-11-16 12:58:44 +0000.116250][1383] ~CpuOverloadDetect leave.


expire time = 0 ms

[000:587] [2022-11-16 12:58:44 +0000.118201][1383] Destruct BeautifyReader begin...


[000:587] [2022-11-16 12:58:44 +0000.118250][1383] Destruct BeautifyReader done.
[000:587] [2022-11-16 12:58:44 +0000.118270][1383] ~MediaFilterCamera leave.
expire time = 247 ms

[000:587] [2022-11-16 12:58:44 +0000.118425][1383] ~GLESContext:


[000:587] [2022-11-16 12:58:44 +0000.118713][1383] GLESContext destruct finish.
[000:587] [2022-11-16 12:58:44 +0000.118752][1383] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:588] [2022-11-16 12:58:44 +0000.118994][1383] global uninited!
[000:588] [2022-11-16 12:58:44 +0000.119829][1383] clear AppID 50011
[000:588] [2022-11-16 12:58:44 +0000.119866][1383] UnRegister JVM for Xplatform
util
[000:588] [2022-11-16 12:58:44 +0000.119885][1383] Dispose::unregister webrtc video
engine
[000:588] [2022-11-16 12:58:44 +0000.119903][1383] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:589] [2022-11-16 12:58:44 +0000.119920][1383] SetAndroidMediaCodecObjects


time:97299457 enter.

[000:589] [2022-11-16 12:58:44 +0000.119938][1383] ClearAndroidMediaCodecObjects


time:97299457 enter.

[000:589] [2022-11-16 12:58:44 +0000.119954][1383] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:589] [2022-11-16 12:58:44 +0000.119974][1383] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:589] [2022-11-16 12:58:44 +0000.119986][1383] SetAndroidMediaCodecObjects


time:97299457 enter.

[000:589] [2022-11-16 12:58:44 +0000.119997][1383] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:589] [2022-11-16 12:58:44 +0000.120014][1383] ClearAndroidMediaCodecObjects
time:97299457 enter.

[000:589] [2022-11-16 12:58:44 +0000.120026][1383] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:589] [2022-11-16 12:58:44 +0000.120038][1383] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:589] [2022-11-16 12:58:44 +0000.120054][1383] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:589] [2022-11-16 12:58:44 +0000.120066][1383] Dispose::unregister webrtc voice


engine
[000:589] [2022-11-16 12:58:44 +0000.120078][1383] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[000:589] [2022-11-16 12:58:44 +0000.120127][1383] SystemUtil UnInit done
[069:054] [2022-11-16 12:59:52 +0000.585875][1383] Register JVM for xplatform util
[069:062] [2022-11-16 12:59:52 +0000.593214][1383] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
16 12:59:52 +0000
[069:062] [2022-11-16 12:59:52 +0000.593251][1383] dump file m_prefix:-04-21-
feaf968

[069:065] [2022-11-16 12:59:52 +0000.596590][1383] dump filename:trace.txt dump


time:1668527858

[069:065] [2022-11-16 12:59:52 +0000.596649][1383] dump


filename:support_resolution.txt dump time:1668603524

[069:065] [2022-11-16 12:59:52 +0000.596780][1383] set AppID=50011 old AppID=-1


[069:065] [2022-11-16 12:59:52 +0000.596803][1383] Init the android object with
jvm:0xb4000071c53cd380 env:0x71217c5a80 context:0x70cc2d9158

[069:065] [2022-11-16 12:59:52 +0000.596821][1383] SetAndroidMediaCodecObjects


time:97367933 enter.

[069:065] [2022-11-16 12:59:52 +0000.596837][1383] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[069:065] [2022-11-16 12:59:52 +0000.596859][1383] SetAndroidMediaCodecObjects


time:97367933 enter.

[069:065] [2022-11-16 12:59:52 +0000.596872][1383] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071c53cd380
[069:065] [2022-11-16 12:59:52 +0000.596885][1383] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071c53cd380 address:0x703c53b760
[069:065] [2022-11-16 12:59:52 +0000.596906][1383] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071c53cd380
address:0x703c53b760
[069:066] [2022-11-16 12:59:52 +0000.596921][1383] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[069:066] [2022-11-16 12:59:52 +0000.596934][1383] Set the android objects with


jvm:0xb4000071c53cd380 env:0x71217c5a80 context:0x70cc2d9158

[069:066] [2022-11-16 12:59:52 +0000.596956][1383] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71217c5a80
[069:066] [2022-11-16 12:59:52 +0000.596971][1383] SystemUtil Init done
[069:066] [2022-11-16 12:59:52 +0000.597242][1383]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[069:066] [2022-11-16 12:59:52 +0000.597344][1383] MediaFilterCamera
[069:066] [2022-11-16 12:59:52 +0000.597372][1383] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[069:066] [2022-11-16 12:59:52 +0000.597751][1383] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[069:066] [2022-11-16 12:59:52 +0000.597783][1383] Recording session using default
bitrate support by app:31457280
[069:066] [2022-11-16 12:59:52 +0000.597815][2a55] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x712142c1c0
[069:067] [2022-11-16 12:59:52 +0000.597975][2a55] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[069:067] [2022-11-16 12:59:52 +0000.598083][1383] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[069:067] [2022-11-16 12:59:52 +0000.598703][1383] Error(ini.cc:191): Open the file
failed. error:2
[069:067] [2022-11-16 12:59:52 +0000.598733][1383]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[069:067] [2022-11-16 12:59:52 +0000.598748][1383] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[069:070] [2022-11-16 12:59:52 +0000.601707][1383] Error(ini.cc:191): Open the file
failed. error:2
[069:070] [2022-11-16 12:59:52 +0000.601768][1383]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[069:070] [2022-11-16 12:59:52 +0000.601791][1383] The device model: redmi note 8
pro usingHardwareAEC value: 0
[069:070] [2022-11-16 12:59:52 +0000.601804][1383] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[069:070] [2022-11-16 12:59:52 +0000.601818][1383] Using Default AEC type: software
AEC
[069:072] [2022-11-16 12:59:52 +0000.603587][1383] The device model: redmi note 8
pro enum value: 0
[069:073] [2022-11-16 12:59:52 +0000.604604][1383] GetMachineModel is Redmi Note 8
Pro
[069:073] [2022-11-16 12:59:52 +0000.604727][1383] GetMachineInfo: Redmi Note 8
Pro
[069:073] [2022-11-16 12:59:52 +0000.604857][1383] Construct BeautifyReader
begin...
[069:073] [2022-11-16 12:59:52 +0000.604916][1383] dumpStickerRgba:0
dumpStickerYuv:0
[069:074] [2022-11-16 12:59:52 +0000.604962][1383] Construct BeautifyReader done.
[069:078] [2022-11-16 12:59:52 +0000.609029][1383] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[069:078] [2022-11-16 12:59:52 +0000.609083][1383] AppDeviceManager telnet server
for statistics started......
[069:078] [2022-11-16 12:59:52 +0000.609084][2a58] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70b808eda0
[069:078] [2022-11-16 12:59:52 +0000.609540][1383] CpuOverloadDetect time:97367946
enter.

[069:078] [2022-11-16 12:59:52 +0000.609623][1383] CpuOverloadDetect leave. expire


time = 0 ms

[069:078] [2022-11-16 12:59:52 +0000.609677][2a59] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70ad957200
[069:079] [2022-11-16 12:59:52 +0000.610190][1383] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[069:079] [2022-11-16 12:59:52 +0000.610223][1383] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[069:080] [2022-11-16 12:59:52 +0000.610980][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[069:080] [2022-11-16 12:59:52 +0000.611240][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[069:080] [2022-11-16 12:59:52 +0000.611455][1383] CreatePlatformSpecificObjects:
[069:080] [2022-11-16 12:59:52 +0000.611484][1383] audio device use opensle input
and opensl output
[069:080] [2022-11-16 12:59:52 +0000.611503][1383] Create OpenSLES output module
with java VM support.

[069:080] [2022-11-16 12:59:52 +0000.611628][1383] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[069:080] [2022-11-16 12:59:52 +0000.611781][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[069:081] [2022-11-16 12:59:52 +0000.611988][1383] Create OpenSLES output module
with buffer num:1

[069:081] [2022-11-16 12:59:52 +0000.612163][1383] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[069:081] [2022-11-16 12:59:52 +0000.612376][1383] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[069:081] [2022-11-16 12:59:52 +0000.612540][1383] Create OpenSLES input module
with java VM support.

[069:081] [2022-11-16 12:59:52 +0000.612571][1383] Create OpenSLES input module


with buffer num:1

[069:081] [2022-11-16 12:59:52 +0000.612595][1383] Error(trace.cc:40): Init the


output and input for audio device template.
[069:081] [2022-11-16 12:59:52 +0000.612612][1383] Init the output device.

[069:081] [2022-11-16 12:59:52 +0000.612626][1383] Init the opensl input.


[069:081] [2022-11-16 12:59:52 +0000.612640][1383] AppDeviceManager get setting
samplerate: 0
[069:082] [2022-11-16 12:59:52 +0000.612997][1383] The device model: redmi note 8
pro enum value: 0
[069:082] [2022-11-16 12:59:52 +0000.613453][1383] The device model: redmi note 8
pro enum value: 0
[069:082] [2022-11-16 12:59:52 +0000.613476][1383] Set the sample rate to be:48000

[069:082] [2022-11-16 12:59:52 +0000.613490][1383] Enable the recording stereo:0


[069:082] [2022-11-16 12:59:52 +0000.613503][1383] Set the playout as stereo:1
[069:082] [2022-11-16 12:59:52 +0000.613521][1383] Init the microphone.
[069:082] [2022-11-16 12:59:52 +0000.613848][1383] Update the recording sample rate
to be: 48000
[069:082] [2022-11-16 12:59:52 +0000.613880][1383] Init the speaker.
[069:082] [2022-11-16 12:59:52 +0000.613902][1383] Low latency buffer size:256 low
sample rate:48000
[069:083] [2022-11-16 12:59:52 +0000.614121][1383] Using 1 x 10ms for an audio
frame.

[069:086] [2022-11-16 12:59:52 +0000.617315][1383] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[069:086] [2022-11-16 12:59:52 +0000.617395][1383] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[069:086] [2022-11-16 12:59:52 +0000.617419][1383] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[069:092] [2022-11-16 12:59:52 +0000.623479][1383] The device model:redmi note 8
pro

[069:092] [2022-11-16 12:59:52 +0000.623541][1383] speaker output factor:100


defaultFactor: 100

[069:092] [2022-11-16 12:59:52 +0000.623558][1383] headset output factor:100


defaultFactor: 100

[069:092] [2022-11-16 12:59:52 +0000.623915][1383] AppDeviceManagerStart finished.


[069:093] [2022-11-16 12:59:52 +0000.623952][1383] AppDeviceManagerStartMic::mic
status is off
[069:093] [2022-11-16 12:59:52 +0000.623986][1383] AppDeviceManagerStartMic update
aec type: 2
[069:093] [2022-11-16 12:59:52 +0000.624002][1383] AppDeviceManagerStartMic update
voiceChangeMode: 4

[069:093] [2022-11-16 12:59:52 +0000.624014][1383]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[069:093] [2022-11-16 12:59:52 +0000.624024][1383]
AudioDeviceDataHandler::StartMicProcess

[069:093] [2022-11-16 12:59:52 +0000.624134][1383] Try to start webrtc recording


device.

[069:093] [2022-11-16 12:59:52 +0000.624159][1383] StartRecording. threadID:4995

[069:093] [2022-11-16 12:59:52 +0000.624202][1383] default mode: Set the recording


mode to voice communication to enable HW AEC .

[069:093] [2022-11-16 12:59:52 +0000.624223][1383] Set the recording mode before


getSetting: 4
[069:093] [2022-11-16 12:59:52 +0000.624240][1383] Set the recording mode after
getSetting: 1
[069:093] [2022-11-16 12:59:52 +0000.624453][2a5a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[069:110] [2022-11-16 12:59:52 +0000.641870][1383] StartRecording finished.

[069:110] [2022-11-16 12:59:52 +0000.641916][1383] audio: start the audio mic


checker timer.

[069:111] [2022-11-16 12:59:52 +0000.642299][1383] machine model :redmi


[069:111] [2022-11-16 12:59:52 +0000.642336][1383] Support this machine
model :redmi
[069:111] [2022-11-16 12:59:52 +0000.642352][1383] global inited! current sdk
version: 04-21-feaf968
[069:312] [2022-11-16 12:59:52 +0000.843116][1dec]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[069:312] [2022-11-16 12:59:52 +0000.843300][2a56] MediaFilterCamera, recording
file context:0x712eb60a00 input texture:4
[069:312] [2022-11-16 12:59:52 +0000.843346][2a56] GLESContext:
[069:312] [2022-11-16 12:59:52 +0000.843686][2a56] The result of eglGetDisplay is:
0x1
[069:313] [2022-11-16 12:59:52 +0000.844692][2a56] The result of creation:
0x71258f0b00
[069:315] [2022-11-16 12:59:52 +0000.846202][2a56] The result of
eglCreatePbufferSurface is: 0x71258f0c00
[069:315] [2022-11-16 12:59:52 +0000.846389][1dec]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x712eb60a00 input_texture: 4
[070:162] [2022-11-16 12:59:53 +0000.693603][1383]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[070:162] [2022-11-16 12:59:53 +0000.693745][1383] ~MediaFilterCamera time:97369030
enter.

[070:162] [2022-11-16 12:59:53 +0000.693775][1383] StopPullFrameAndWriteMp4


time:97369030 enter.

[070:163] [2022-11-16 12:59:53 +0000.694164][2a55] stop recording


[070:163] [2022-11-16 12:59:53 +0000.694229][2a55] we have stopped recording before
[070:163] [2022-11-16 12:59:53 +0000.694311][1383] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms
[070:164] [2022-11-16 12:59:53 +0000.695238][1383] DestroyPipelineAndFilters
time:97369032 enter.

[070:164] [2022-11-16 12:59:53 +0000.695342][1383] DestroyPipelineAndFilters


leave. expire time = 0 ms

[070:164] [2022-11-16 12:59:53 +0000.695376][1383] AppDeviceManagerStopMic

[070:164] [2022-11-16 12:59:53 +0000.695442][1383] AppDeviceManagerStopMic::mic


status is on
[070:164] [2022-11-16 12:59:53 +0000.695472][1383] Try to stop webrtc device.

[070:164] [2022-11-16 12:59:53 +0000.695505][1383] Set record state to


stopped.threadID:4995

[070:206] [2022-11-16 12:59:53 +0000.737778][1383] Try to destory the


recorder.threadID:4995

[070:407] [2022-11-16 12:59:53 +0000.937971][1383] DestroyAudioRecorder:


[070:407] [2022-11-16[000:028] [2022-11-21 20:09:27 +0000.731736][27e6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
21 20:09:27 +0000
[000:028] [2022-11-21 20:09:27 +0000.731822][27e6] dump file m_prefix:-04-21-
feaf968

[000:034] [2022-11-21 20:09:27 +0000.737856][27e6] dump filename:trace.txt dump


time:1668603593

[000:034] [2022-11-21 20:09:27 +0000.737924][27e6] dump


filename:support_resolution.txt dump time:1668603593

[000:034] [2022-11-21 20:09:27 +0000.738110][27e6] set AppID=50011 old AppID=-1


[000:034] [2022-11-21 20:09:27 +0000.738143][27e6] Init the android object with
jvm:0xb40000723e0cf380 env:0x7196b9cf80 context:0x7145410f28

[000:034] [2022-11-21 20:09:27 +0000.738189][27e6] SetAndroidMediaCodecObjects


time:185314932 enter.

[000:034] [2022-11-21 20:09:27 +0000.738218][27e6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:034] [2022-11-21 20:09:27 +0000.738247][27e6] SetAndroidMediaCodecObjects


time:185314932 enter.

[000:034] [2022-11-21 20:09:27 +0000.738265][27e6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000723e0cf380
[000:034] [2022-11-21 20:09:27 +0000.738291][27e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000723e0cf380 address:0x70f5143760
[000:034] [2022-11-21 20:09:27 +0000.738308][27e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000723e0cf380
address:0x70f5143760
[000:034] [2022-11-21 20:09:27 +0000.738334][27e6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:034] [2022-11-21 20:09:27 +0000.738359][27e6] Set the android objects with


jvm:0xb40000723e0cf380 env:0x7196b9cf80 context:0x7145410f28

[000:036] [2022-11-21 20:09:27 +0000.739509][27e6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7196b9cf80
[000:036] [2022-11-21 20:09:27 +0000.739553][27e6] SystemUtil Init done
[000:039] [2022-11-21 20:09:27 +0000.743142][27e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:041] [2022-11-21 20:09:27 +0000.744610][27e6] MediaFilterCamera
[000:041] [2022-11-21 20:09:27 +0000.744678][27e6] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:041] [2022-11-21 20:09:27 +0000.744768][27e6] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:041] [2022-11-21 20:09:27 +0000.744804][27e6] Recording session using default
bitrate support by app:31457280
[000:041] [2022-11-21 20:09:27 +0000.744805][36cb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71a7e38c40
[000:041] [2022-11-21 20:09:27 +0000.745010][36cb] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:041] [2022-11-21 20:09:27 +0000.745082][27e6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:042] [2022-11-21 20:09:27 +0000.745800][27e6] Error(ini.cc:191): Open the file
failed. error:2
[000:042] [2022-11-21 20:09:27 +0000.745838][27e6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:042] [2022-11-21 20:09:27 +0000.745859][27e6] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:044] [2022-11-21 20:09:27 +0000.748317][27e6] Error(ini.cc:191): Open the file
failed. error:2
[000:044] [2022-11-21 20:09:27 +0000.748380][27e6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:045] [2022-11-21 20:09:27 +0000.748405][27e6] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:045] [2022-11-21 20:09:27 +0000.748421][27e6] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:045] [2022-11-21 20:09:27 +0000.748437][27e6] Using Default AEC type: software
AEC
[000:046] [2022-11-21 20:09:27 +0000.749582][27e6] The device model: redmi note 8
pro enum value: 0
[000:046] [2022-11-21 20:09:27 +0000.750152][27e6] GetMachineModel is Redmi Note 8
Pro
[000:046] [2022-11-21 20:09:27 +0000.750203][27e6] GetMachineInfo: Redmi Note 8
Pro
[000:047] [2022-11-21 20:09:27 +0000.750868][27e6] Construct BeautifyReader
begin...
[000:047] [2022-11-21 20:09:27 +0000.750910][27e6] dumpStickerRgba:0
dumpStickerYuv:0
[000:047] [2022-11-21 20:09:27 +0000.750928][27e6] Construct BeautifyReader done.
[000:050] [2022-11-21 20:09:27 +0000.754261][27e6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:050] [2022-11-21 20:09:27 +0000.754293][36ce] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71a7e569a0
[000:050] [2022-11-21 20:09:27 +0000.754354][27e6] AppDeviceManager telnet server
for statistics started......
[000:051] [2022-11-21 20:09:27 +0000.754858][27e6] CpuOverloadDetect time:185314949
enter.

[000:051] [2022-11-21 20:09:27 +0000.754974][27e6] CpuOverloadDetect leave. expire


time = 0 ms

[000:051] [2022-11-21 20:09:27 +0000.755117][36cf] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70f1538500
[000:052] [2022-11-21 20:09:27 +0000.755611][27e6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:052] [2022-11-21 20:09:27 +0000.755643][27e6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:052] [2022-11-21 20:09:27 +0000.755894][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:052] [2022-11-21 20:09:27 +0000.756154][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:053] [2022-11-21 20:09:27 +0000.756580][27e6] CreatePlatformSpecificObjects:
[000:053] [2022-11-21 20:09:27 +0000.756618][27e6] audio device use opensle input
and opensl output
[000:053] [2022-11-21 20:09:27 +0000.756656][27e6] Create OpenSLES output module
with java VM support.

[000:053] [2022-11-21 20:09:27 +0000.756803][27e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:053] [2022-11-21 20:09:27 +0000.756966][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:053] [2022-11-21 20:09:27 +0000.757358][27e6] Create OpenSLES output module
with buffer num:1

[000:054] [2022-11-21 20:09:27 +0000.757798][27e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:054] [2022-11-21 20:09:27 +0000.758021][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:054] [2022-11-21 20:09:27 +0000.758205][27e6] Create OpenSLES input module
with java VM support.

[000:054] [2022-11-21 20:09:27 +0000.758242][27e6] Create OpenSLES input module


with buffer num:1

[000:054] [2022-11-21 20:09:27 +0000.758290][27e6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:054] [2022-11-21 20:09:27 +0000.758312][27e6] Init the output device.

[000:054] [2022-11-21 20:09:27 +0000.758329][27e6] Init the opensl input.


[000:054] [2022-11-21 20:09:27 +0000.758347][27e6] AppDeviceManager get setting
samplerate: 0
[000:055] [2022-11-21 20:09:27 +0000.758733][27e6] The device model: redmi note 8
pro enum value: 0
[000:055] [2022-11-21 20:09:27 +0000.759317][27e6] The device model: redmi note 8
pro enum value: 0
[000:055] [2022-11-21 20:09:27 +0000.759354][27e6] Set the sample rate to be:48000

[000:055] [2022-11-21 20:09:27 +0000.759373][27e6] Enable the recording stereo:0


[000:056] [2022-11-21 20:09:27 +0000.759390][27e6] Set the playout as stereo:1
[000:056] [2022-11-21 20:09:27 +0000.759405][27e6] Init the microphone.
[000:058] [2022-11-21 20:09:27 +0000.762204][27e6] Update the recording sample rate
to be: 48000
[000:058] [2022-11-21 20:09:27 +0000.762272][27e6] Init the speaker.
[000:058] [2022-11-21 20:09:27 +0000.762300][27e6] Low latency buffer size:256 low
sample rate:48000
[000:059] [2022-11-21 20:09:27 +0000.762562][27e6] Using 1 x 10ms for an audio
frame.

[000:062] [2022-11-21 20:09:27 +0000.766266][27e6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:062] [2022-11-21 20:09:27 +0000.766351][27e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:063] [2022-11-21 20:09:27 +0000.766418][27e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:068] [2022-11-21 20:09:27 +0000.771449][27e6] The device model:redmi note 8
pro

[000:068] [2022-11-21 20:09:27 +0000.771509][27e6] speaker output factor:100


defaultFactor: 100

[000:068] [2022-11-21 20:09:27 +0000.771530][27e6] headset output factor:100


defaultFactor: 100

[000:068] [2022-11-21 20:09:27 +0000.771870][27e6] AppDeviceManagerStart finished.


[000:068] [2022-11-21 20:09:27 +0000.771899][27e6] AppDeviceManagerStartMic::mic
status is off
[000:068] [2022-11-21 20:09:27 +0000.771938][27e6] AppDeviceManagerStartMic update
aec type: 2

[000:068] [2022-11-21 20:09:27 +0000.771958][27e6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:068] [2022-11-21 20:09:27 +0000.771975][27e6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:068] [2022-11-21 20:09:27 +0000.772002][27e6]
AudioDeviceDataHandler::StartMicProcess

[000:068] [2022-11-21 20:09:27 +0000.772097][27e6] Try to start webrtc recording


device.

[000:068] [2022-11-21 20:09:27 +0000.772123][27e6] StartRecording. threadID:10214

[000:068] [2022-11-21 20:09:27 +0000.772128][36d0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:068] [2022-11-21 20:09:27 +0000.772186][36d0] haveEnoughProcessedData
internalAudioStream.length: 0
[000:069] [2022-11-21 20:09:27 +0000.772451][27e6] The machine model:Redmi Note 8
Pro

[000:069] [2022-11-21 20:09:27 +0000.772499][27e6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:069] [2022-11-21 20:09:27 +0000.772522][27e6] Set the recording mode before


getSetting: 4
[000:069] [2022-11-21 20:09:27 +0000.772543][27e6] Set the recording mode after
getSetting: 1
[000:092] [2022-11-21 20:09:27 +0000.795841][27e6] StartRecording finished.

[000:092] [2022-11-21 20:09:27 +0000.795896][27e6] audio: start the audio mic


checker timer.

[000:093] [2022-11-21 20:09:27 +0000.796513][27e6] machine model :redmi


[000:093] [2022-11-21 20:09:27 +0000.796554][27e6] Support this machine
model :redmi
[000:098] [2022-11-21 20:09:27 +0000.801785][27e6] global inited! current sdk
version: 04-21-feaf968
[000:203] [2022-11-21 20:09:27 +0000.906754][36d1] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:203] [2022-11-21 20:09:27 +0000.906857][36d1] _deviceSampleRate:48000


[000:206] [2022-11-21 20:09:27 +0000.909497][36d0] Run AGC when audioType = 0
[000:206] [2022-11-21 20:09:27 +0000.909640][36d0]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:240] [2022-11-21 20:09:27 +0000.943472][27e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:240] [2022-11-21 20:09:27 +0000.943553][27e6] ~MediaFilterCamera
time:185315138 enter.

[000:240] [2022-11-21 20:09:27 +0000.943575][27e6] StopPullFrameAndWriteMp4


time:185315138 enter.

[000:240] [2022-11-21 20:09:27 +0000.944004][36cb] stop recording


[000:240] [2022-11-21 20:09:27 +0000.944141][36cb] we have stopped recording before
[000:240] [2022-11-21 20:09:27 +0000.944244][27e6] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[000:241] [2022-11-21 20:09:27 +0000.944561][27e6] DestroyPipelineAndFilters


time:185315139 enter.

[000:241] [2022-11-21 20:09:27 +0000.944636][27e6] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:241] [2022-11-21 20:09:27 +0000.944672][27e6] AppDeviceManagerStopMic

[000:241] [2022-11-21 20:09:27 +0000.944734][27e6] AppDeviceManagerStopMic::mic


status is on
[000:241] [2022-11-21 20:09:27 +0000.944763][27e6] Try to stop webrtc device.

[000:241] [2022-11-21 20:09:27 +0000.944792][27e6] Set record state to


stopped.threadID:10214

[000:278] [2022-11-21 20:09:27 +0000.981674][27e6] Try to destory the


recorder.threadID:10214

[000:478] [2022-11-21 20:09:28 +0000.181869][27e6] DestroyAudioRecorder:


[000:478] [2022-11-21 20:09:28 +0000.181945][27e6] Cleanup the buffer queue in the
recorder.
[000:478] [2022-11-21 20:09:28 +0000.181997][27e6] Destroy the recorder.

[000:480] [2022-11-21 20:09:28 +0000.183953][27e6] StopRecording finished.

[000:480] [2022-11-21 20:09:28 +0000.184082][27e6] The stop recording success.

[000:480] [2022-11-21 20:09:28 +0000.184118][27e6]


AudioDeviceDataHandler::StopMicProcess

[000:481] [2022-11-21 20:09:28 +0000.185204][27e6] AppDeviceManager stop.

[000:481] [2022-11-21 20:09:28 +0000.185335][27e6] Rlease the webrtc device object.

[000:482] [2022-11-21 20:09:28 +0000.185853][27e6] OpenSlesInput destruct.

[000:482] [2022-11-21 20:09:28 +0000.185986][27e6] OpenSlesOutput destruct.

[000:483] [2022-11-21 20:09:28 +0000.186506][27e6] EventDispatchServerScope


destruct
[000:483] [2022-11-21 20:09:28 +0000.186606][27e6]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:483] [2022-11-21 20:09:28 +0000.186701][27e6] ~AudioDeviceDataHandler
[000:483] [2022-11-21 20:09:28 +0000.187320][27e6] AppDeviceManagerDestruct.

[000:484] [2022-11-21 20:09:28 +0000.187397][27e6] ~AppDeviceManager:


[000:484] [2022-11-21 20:09:28 +0000.187505][27e6] ~CpuOverloadDetect
time:185315382 enter.

[000:484] [2022-11-21 20:09:28 +0000.187736][27e6] ~CpuOverloadDetect leave.


expire time = 0 ms

[000:485] [2022-11-21 20:09:28 +0000.188538][27e6] Destruct BeautifyReader begin...


[000:485] [2022-11-21 20:09:28 +0000.188588][27e6] Destruct BeautifyReader done.
[000:485] [2022-11-21 20:09:28 +0000.188618][27e6] ~MediaFilterCamera leave.
expire time = 245 ms

[000:485] [2022-11-21 20:09:28 +0000.188751][27e6] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:485] [2022-11-21 20:09:28 +0000.188974][27e6] global uninited!
[000:486] [2022-11-21 20:09:28 +0000.189798][27e6] clear AppID 50011
[000:486] [2022-11-21 20:09:28 +0000.189838][27e6] UnRegister JVM for Xplatform
util
[000:486] [2022-11-21 20:09:28 +0000.189859][27e6] Dispose::unregister webrtc video
engine
[000:486] [2022-11-21 20:09:28 +0000.189875][27e6] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:486] [2022-11-21 20:09:28 +0000.189897][27e6] SetAndroidMediaCodecObjects


time:185315384 enter.

[000:486] [2022-11-21 20:09:28 +0000.189914][27e6] ClearAndroidMediaCodecObjects


time:185315384 enter.

[000:486] [2022-11-21 20:09:28 +0000.189939][27e6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:486] [2022-11-21 20:09:28 +0000.189965][27e6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:486] [2022-11-21 20:09:28 +0000.189981][27e6] SetAndroidMediaCodecObjects


time:185315384 enter.

[000:486] [2022-11-21 20:09:28 +0000.190001][27e6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:486] [2022-11-21 20:09:28 +0000.190017][27e6] ClearAndroidMediaCodecObjects
time:185315384 enter.

[000:486] [2022-11-21 20:09:28 +0000.190038][27e6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:486] [2022-11-21 20:09:28 +0000.190054][27e6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:486] [2022-11-21 20:09:28 +0000.190067][27e6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:486] [2022-11-21 20:09:28 +0000.190088][27e6] Dispose::unregister webrtc voice


engine
[000:486] [2022-11-21 20:09:28 +0000.190103][27e6] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[000:486] [2022-11-21 20:09:28 +0000.190127][27e6] SystemUtil UnInit done
[001:793] [2022-11-21 20:09:29 +0000.496502][27e6] Register JVM for xplatform util
[001:798] [2022-11-21 20:09:29 +0000.502142][27e6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
21 20:09:29 +0000
[001:798] [2022-11-21 20:09:29 +0000.502185][27e6] dump file m_prefix:-04-21-
feaf968

[001:801] [2022-11-21 20:09:29 +0000.504538][27e6] dump filename:trace.txt dump


time:1668603593

[001:801] [2022-11-21 20:09:29 +0000.504600][27e6] dump


filename:support_resolution.txt dump time:1669061368

[001:801] [2022-11-21 20:09:29 +0000.504726][27e6] set AppID=50011 old AppID=-1


[001:801] [2022-11-21 20:09:29 +0000.504755][27e6] Init the android object with
jvm:0xb40000723e0cf380 env:0x7196b9cf80 context:0x7145411158

[001:801] [2022-11-21 20:09:29 +0000.504777][27e6] SetAndroidMediaCodecObjects


time:185316699 enter.

[001:801] [2022-11-21 20:09:29 +0000.504808][27e6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:801] [2022-11-21 20:09:29 +0000.504825][27e6] SetAndroidMediaCodecObjects


time:185316699 enter.

[001:801] [2022-11-21 20:09:29 +0000.504853][27e6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000723e0cf380
[001:801] [2022-11-21 20:09:29 +0000.504870][27e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000723e0cf380 address:0x70f5143760
[001:801] [2022-11-21 20:09:29 +0000.504898][27e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000723e0cf380
address:0x70f5143760
[001:801] [2022-11-21 20:09:29 +0000.504915][27e6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:801] [2022-11-21 20:09:29 +0000.504941][27e6] Set the android objects with


jvm:0xb40000723e0cf380 env:0x7196b9cf80 context:0x7145411158

[001:801] [2022-11-21 20:09:29 +0000.504958][27e6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7196b9cf80
[001:801] [2022-11-21 20:09:29 +0000.504977][27e6] SystemUtil Init done
[001:801] [2022-11-21 20:09:29 +0000.505245][27e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[001:801] [2022-11-21 20:09:29 +0000.505348][27e6] MediaFilterCamera
[001:801] [2022-11-21 20:09:29 +0000.505384][27e6] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[001:802] [2022-11-21 20:09:29 +0000.505764][27e6] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[001:802] [2022-11-21 20:09:29 +0000.505802][27e6] Recording session using default
bitrate support by app:31457280
[001:802] [2022-11-21 20:09:29 +0000.505809][3822] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71a7e398c0
[001:802] [2022-11-21 20:09:29 +0000.505874][3822] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[001:802] [2022-11-21 20:09:29 +0000.505945][27e6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[001:803] [2022-11-21 20:09:29 +0000.506586][27e6] Error(ini.cc:191): Open the file
failed. error:2
[001:803] [2022-11-21 20:09:29 +0000.506624][27e6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[001:803] [2022-11-21 20:09:29 +0000.506649][27e6] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[001:806] [2022-11-21 20:09:29 +0000.509783][27e6] Error(ini.cc:191): Open the file
failed. error:2
[001:806] [2022-11-21 20:09:29 +0000.509850][27e6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[001:806] [2022-11-21 20:09:29 +0000.509878][27e6] The device model: redmi note 8
pro usingHardwareAEC value: 0
[001:806] [2022-11-21 20:09:29 +0000.509896][27e6] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[001:806] [2022-11-21 20:09:29 +0000.509912][27e6] Using Default AEC type: software
AEC
[001:807] [2022-11-21 20:09:29 +0000.511030][27e6] The device model: redmi note 8
pro enum value: 0
[001:808] [2022-11-21 20:09:29 +0000.511585][27e6] GetMachineModel is Redmi Note 8
Pro
[001:808] [2022-11-21 20:09:29 +0000.511639][27e6] GetMachineInfo: Redmi Note 8
Pro
[001:808] [2022-11-21 20:09:29 +0000.511699][27e6] Construct BeautifyReader
begin...
[001:808] [2022-11-21 20:09:29 +0000.511720][27e6] dumpStickerRgba:0
dumpStickerYuv:0
[001:808] [2022-11-21 20:09:29 +0000.511736][27e6] Construct BeautifyReader done.
[001:811] [2022-11-21 20:09:29 +0000.515260][27e6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[001:811] [2022-11-21 20:09:29 +0000.515315][27e6] AppDeviceManager telnet server
for statistics started......
[001:811] [2022-11-21 20:09:29 +0000.515291][3825] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71a7e5a1a0
[001:812] [2022-11-21 20:09:29 +0000.515807][27e6] CpuOverloadDetect time:185316710
enter.

[001:812] [2022-11-21 20:09:29 +0000.516022][27e6] CpuOverloadDetect leave. expire


time = 0 ms

[001:812] [2022-11-21 20:09:29 +0000.516039][3826] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7130f00e00
[001:814] [2022-11-21 20:09:29 +0000.517541][27e6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[001:814] [2022-11-21 20:09:29 +0000.517593][27e6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[001:814] [2022-11-21 20:09:29 +0000.517781][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[001:814] [2022-11-21 20:09:29 +0000.518035][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[001:814] [2022-11-21 20:09:29 +0000.518248][27e6] CreatePlatformSpecificObjects:
[001:814] [2022-11-21 20:09:29 +0000.518284][27e6] audio device use opensle input
and opensl output
[001:814] [2022-11-21 20:09:29 +0000.518305][27e6] Create OpenSLES output module
with java VM support.

[001:815] [2022-11-21 20:09:29 +0000.518439][27e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[001:815] [2022-11-21 20:09:29 +0000.518577][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[001:815] [2022-11-21 20:09:29 +0000.518732][27e6] Create OpenSLES output module
with buffer num:1

[001:815] [2022-11-21 20:09:29 +0000.518858][27e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[001:815] [2022-11-21 20:09:29 +0000.518966][27e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[001:815] [2022-11-21 20:09:29 +0000.519103][27e6] Create OpenSLES input module
with java VM support.

[001:815] [2022-11-21 20:09:29 +0000.519135][27e6] Create OpenSLES input module


with buffer num:1

[001:815] [2022-11-21 20:09:29 +0000.519161][27e6] Error(trace.cc:40): Init the


output and input for audio device template.
[001:815] [2022-11-21 20:09:29 +0000.519180][27e6] Init the output device.

[001:815] [2022-11-21 20:09:29 +0000.519196][27e6] Init the opensl input.


[001:815] [2022-11-21 20:09:29 +0000.519220][27e6] AppDeviceManager get setting
samplerate: 0
[001:816] [2022-11-21 20:09:29 +0000.519610][27e6] The device model: redmi note 8
pro enum value: 0
[001:816] [2022-11-21 20:09:29 +0000.520215][27e6] The device model: redmi note 8
pro enum value: 0
[001:816] [2022-11-21 20:09:29 +0000.520246][27e6] Set the sample rate to be:48000

[001:816] [2022-11-21 20:09:29 +0000.520261][27e6] Enable the recording stereo:0


[001:816] [2022-11-21 20:09:29 +0000.520278][27e6] Set the playout as stereo:1
[001:816] [2022-11-21 20:09:29 +0000.520300][27e6] Init the microphone.
[001:817] [2022-11-21 20:09:29 +0000.520614][27e6] Update the recording sample rate
to be: 48000
[001:817] [2022-11-21 20:09:29 +0000.520656][27e6] Init the speaker.
[001:817] [2022-11-21 20:09:29 +0000.520688][27e6] Low latency buffer size:256 low
sample rate:48000
[001:817] [2022-11-21 20:09:29 +0000.520935][27e6] Using 1 x 10ms for an audio
frame.

[001:821] [2022-11-21 20:09:29 +0000.524597][27e6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[001:821] [2022-11-21 20:09:29 +0000.524686][27e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[001:821] [2022-11-21 20:09:29 +0000.524730][27e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[001:826] [2022-11-21 20:09:29 +0000.529825][27e6] The device model:redmi note 8
pro

[001:826] [2022-11-21 20:09:29 +0000.529882][27e6] speaker output factor:100


defaultFactor: 100

[001:826] [2022-11-21 20:09:29 +0000.529901][27e6] headset output factor:100


defaultFactor: 100

[001:826] [2022-11-21 20:09:29 +0000.530243][27e6] AppDeviceManagerStart finished.


[001:826] [2022-11-21 20:09:29 +0000.530279][27e6] AppDeviceManagerStartMic::mic
status is off
[001:826] [2022-11-21 20:09:29 +0000.530317][27e6] AppDeviceManagerStartMic update
aec type: 2

[001:826] [2022-11-21 20:09:29 +0000.530337][27e6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[001:826] [2022-11-21 20:09:29 +0000.530354][27e6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[001:826] [2022-11-21 20:09:29 +0000.530382][27e6]
AudioDeviceDataHandler::StartMicProcess

[001:827] [2022-11-21 20:09:29 +0000.530474][27e6] Try to start webrtc recording


device.

[001:827] [2022-11-21 20:09:29 +0000.530501][27e6] StartRecording. threadID:10214

[001:827] [2022-11-21 20:09:29 +0000.530505][3827] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[001:827] [2022-11-21 20:09:29 +0000.530539][27e6] default mode: Set the recording
mode to voice communication to enable HW AEC .

[001:827] [2022-11-21 20:09:29 +0000.530616][27e6] Set the recording mode before


getSetting: 4
[001:827] [2022-11-21 20:09:29 +0000.530652][27e6] Set the recording mode after
getSetting: 1
[001:845] [2022-11-21 20:09:29 +0000.548893][27e6] StartRecording finished.

[001:845] [2022-11-21 20:09:29 +0000.548954][27e6] audio: start the audio mic


checker timer.

[001:845] [2022-11-21 20:09:29 +0000.549373][27e6] machine model :redmi


[001:846] [2022-11-21 20:09:29 +0000.549443][27e6] Support this machine
model :redmi
[001:846] [2022-11-21 20:09:29 +0000.549466][27e6] global inited! current sdk
version: 04-21-feaf968
[002:055] [2022-11-21 20:09:29 +0000.758407][346d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[002:055] [2022-11-21 20:09:29 +0000.758638][3823] MediaFilterCamera, recording
file context:0x7130ff6100 input texture:8
[002:055] [2022-11-21 20:09:29 +0000.758754][3823] GLESContext:
[002:056] [2022-11-21 20:09:29 +0000.759420][3823] The result of eglGetDisplay is:
0x1
[002:057] [2022-11-21 20:09:29 +0000.761231][3823] The result of creation:
0x713cdaac80
[002:058] [2022-11-21 20:09:29 +0000.761993][3823] The result of
eglCreatePbufferSurface is: 0x713cdaad00
[002:058] [2022-11-21 20:09:29 +0000.762328][346d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7130ff6100 input_texture: 8
[002:417] [2022-11-21 20:09:30 +0000.120825][27e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[002:417] [2022-11-21 20:09:30 +0000.120978][27e6] ~MediaFilterCamera
time:185317315 enter.

[002:417] [2022-11-21 20:09:30 +0000.121037][27e6] StopPullFrameAndWriteMp4


time:185317315 enter.

[002:418] [2022-11-21 20:09:30 +0000.121633][3822] stop recording


[002:418] [2022-11-21 20:09:30 +0000.121740][3822] we have stopped recording before
[002:418] [2022-11-21 20:09:30 +0000.121818][27e6] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[002:418] [2022-11-21 20:09:30 +0000.122390][27e6] DestroyPipelineAndFilters


time:185317316 enter.

[002:419] [2022-11-21 20:09:30 +0000.122469][27e6] DestroyPipelineAndFilters


leave. expire time = 1 ms

[002:419] [2022-11-21 20:09:30 +0000.122508][27e6] AppDeviceManagerStopMic

[002:419] [2022-11-21 20:09:30 +0000.122576][27e6] AppDeviceManagerStopMic::mic


status is on
[002:419] [2022-11-21 20:09:30 +0000.122607][27e6] Try to stop webrtc device.

[002:419] [2022-11-21 20:09:30 +0000.122636][27e6] Set record state to


stopped.threadID:10214

[002:461] [2022-11-21 20:09:30 +0000.164632][27e6] Try to destory the


recorder.threadID:10214

[002:661] [2022-11-21 20:09:30 +0000.364831][27e6] DestroyAudioRecorder:


[002:661] [2[000:031] [2022-11-28 22:36:27 +0000.71987][2ad1] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
28 22:36:27 +0000
[000:031] [2022-11-28 22:36:27 +0000.72066][2ad1] dump file m_prefix:-04-21-feaf968

[000:036] [2022-11-28 22:36:27 +0000.76841][2ad1] dump filename:trace.txt dump


time:1669061370

[000:036] [2022-11-28 22:36:27 +0000.76899][2ad1] dump


filename:support_resolution.txt dump time:1669061370

[000:037] [2022-11-28 22:36:27 +0000.77173][2ad1] set AppID=50011 old AppID=-1


[000:037] [2022-11-28 22:36:27 +0000.77252][2ad1] Init the android object with
jvm:0xb40000723e0cf380 env:0x719aa54940 context:0x7145400f28

[000:037] [2022-11-28 22:36:27 +0000.77302][2ad1] SetAndroidMediaCodecObjects


time:587737479 enter.

[000:037] [2022-11-28 22:36:27 +0000.77352][2ad1] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:037] [2022-11-28 22:36:27 +0000.77395][2ad1] SetAndroidMediaCodecObjects


time:587737479 enter.

[000:037] [2022-11-28 22:36:27 +0000.77437][2ad1] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000723e0cf380
[000:037] [2022-11-28 22:36:27 +0000.77483][2ad1] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000723e0cf380 address:0x710ec1d760
[000:037] [2022-11-28 22:36:27 +0000.77553][2ad1] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000723e0cf380
address:0x710ec1d760
[000:037] [2022-11-28 22:36:27 +0000.77585][2ad1] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:037] [2022-11-28 22:36:27 +0000.77676][2ad1] Set the android objects with


jvm:0xb40000723e0cf380 env:0x719aa54940 context:0x7145400f28

[000:038] [2022-11-28 22:36:27 +0000.78920][2ad1] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x719aa54940
[000:038] [2022-11-28 22:36:27 +0000.78970][2ad1] SystemUtil Init done
[000:040] [2022-11-28 22:36:27 +0000.80358][2ad1]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:042] [2022-11-28 22:36:27 +0000.82441][2ad1] MediaFilterCamera
[000:042] [2022-11-28 22:36:27 +0000.82497][2ad1] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:042] [2022-11-28 22:36:27 +0000.82597][2ad1] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:042] [2022-11-28 22:36:27 +0000.82629][2ad1] Recording session using default
bitrate support by app:31457280
[000:042] [2022-11-28 22:36:27 +0000.82664][3324] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x713cae1840
[000:042] [2022-11-28 22:36:27 +0000.82853][3324] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:042] [2022-11-28 22:36:27 +0000.82955][2ad1] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:043] [2022-11-28 22:36:27 +0000.83511][2ad1] Error(ini.cc:191): Open the file
failed. error:2
[000:043] [2022-11-28 22:36:27 +0000.83543][2ad1]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:043] [2022-11-28 22:36:27 +0000.83569][2ad1] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:046] [2022-11-28 22:36:27 +0000.86629][2ad1] Error(ini.cc:191): Open the file
failed. error:2
[000:046] [2022-11-28 22:36:27 +0000.86700][2ad1]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:046] [2022-11-28 22:36:27 +0000.86727][2ad1] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:046] [2022-11-28 22:36:27 +0000.86742][2ad1] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:046] [2022-11-28 22:36:27 +0000.86755][2ad1] Using Default AEC type: software
AEC
[000:047] [2022-11-28 22:36:27 +0000.87855][2ad1] The device model: redmi note 8
pro enum value: 0
[000:048] [2022-11-28 22:36:27 +0000.88328][2ad1] GetMachineModel is Redmi Note 8
Pro
[000:048] [2022-11-28 22:36:27 +0000.88359][2ad1] GetMachineInfo: Redmi Note 8 Pro
[000:048] [2022-11-28 22:36:27 +0000.88384][2ad1] Construct BeautifyReader begin...
[000:048] [2022-11-28 22:36:27 +0000.88952][2ad1] dumpStickerRgba:0
dumpStickerYuv:0
[000:048] [2022-11-28 22:36:27 +0000.88983][2ad1] Construct BeautifyReader done.
[000:053] [2022-11-28 22:36:27 +0000.93435][2ad1] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:053] [2022-11-28 22:36:27 +0000.93489][2ad1] AppDeviceManager telnet server
for statistics started......
[000:053] [2022-11-28 22:36:27 +0000.93494][3327] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71157ab6a0
[000:053] [2022-11-28 22:36:27 +0000.93972][2ad1] CpuOverloadDetect time:587737495
enter.

[000:053] [2022-11-28 22:36:27 +0000.94065][2ad1] CpuOverloadDetect leave. expire


time = 0 ms

[000:053] [2022-11-28 22:36:27 +0000.94113][3328] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70f2fe3400
[000:054] [2022-11-28 22:36:27 +0000.94649][2ad1] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:054] [2022-11-28 22:36:27 +0000.94675][2ad1] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:054] [2022-11-28 22:36:27 +0000.94905][2ad1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:055] [2022-11-28 22:36:27 +0000.95180][2ad1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:055] [2022-11-28 22:36:27 +0000.95612][2ad1] CreatePlatformSpecificObjects:
[000:055] [2022-11-28 22:36:27 +0000.95640][2ad1] audio device use opensle input
and opensl output
[000:055] [2022-11-28 22:36:27 +0000.95676][2ad1] Create OpenSLES output module
with java VM support.

[000:055] [2022-11-28 22:36:27 +0000.95792][2ad1] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:055] [2022-11-28 22:36:27 +0000.95912][2ad1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:055] [2022-11-28 22:36:27 +0000.96060][2ad1] Create OpenSLES output module
with buffer num:1

[000:056] [2022-11-28 22:36:27 +0000.96175][2ad1] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:056] [2022-11-28 22:36:27 +0000.96298][2ad1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:056] [2022-11-28 22:36:27 +0000.96434][2ad1] Create OpenSLES input module with
java VM support.

[000:056] [2022-11-28 22:36:27 +0000.96461][2ad1] Create OpenSLES input module with


buffer num:1

[000:056] [2022-11-28 22:36:27 +0000.96510][2ad1] Error(trace.cc:40): Init the


output and input for audio device template.
[000:056] [2022-11-28 22:36:27 +0000.96529][2ad1] Init the output device.

[000:056] [2022-11-28 22:36:27 +0000.96543][2ad1] Init the opensl input.


[000:056] [2022-11-28 22:36:27 +0000.96557][2ad1] AppDeviceManager get setting
samplerate: 0
[000:056] [2022-11-28 22:36:27 +0000.96899][2ad1] The device model: redmi note 8
pro enum value: 0
[000:057] [2022-11-28 22:36:27 +0000.97427][2ad1] The device model: redmi note 8
pro enum value: 0
[000:057] [2022-11-28 22:36:27 +0000.97454][2ad1] Set the sample rate to be:48000

[000:057] [2022-11-28 22:36:27 +0000.97469][2ad1] Enable the recording stereo:0


[000:057] [2022-11-28 22:36:27 +0000.97482][2ad1] Set the playout as stereo:1
[000:057] [2022-11-28 22:36:27 +0000.97493][2ad1] Init the microphone.
[000:059] [2022-11-28 22:36:27 +0000.100146][2ad1] Update the recording sample rate
to be: 48000
[000:060] [2022-11-28 22:36:27 +0000.100204][2ad1] Init the speaker.
[000:060] [2022-11-28 22:36:27 +0000.100236][2ad1] Low latency buffer size:256 low
sample rate:48000
[000:060] [2022-11-28 22:36:27 +0000.100506][2ad1] Using 1 x 10ms for an audio
frame.

[000:063] [2022-11-28 22:36:27 +0000.103798][2ad1] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:063] [2022-11-28 22:36:27 +0000.103892][2ad1] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:063] [2022-11-28 22:36:27 +0000.103925][2ad1] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:068] [2022-11-28 22:36:27 +0000.108513][2ad1] The device model:redmi note 8
pro
[000:068] [2022-11-28 22:36:27 +0000.108570][2ad1] speaker output factor:100
defaultFactor: 100

[000:068] [2022-11-28 22:36:27 +0000.108588][2ad1] headset output factor:100


defaultFactor: 100

[000:068] [2022-11-28 22:36:27 +0000.108898][2ad1] AppDeviceManagerStart finished.


[000:068] [2022-11-28 22:36:27 +0000.108929][2ad1] AppDeviceManagerStartMic::mic
status is off
[000:068] [2022-11-28 22:36:27 +0000.108965][2ad1] AppDeviceManagerStartMic update
aec type: 2

[000:068] [2022-11-28 22:36:27 +0000.108985][2ad1] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:068] [2022-11-28 22:36:27 +0000.108999][2ad1]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:068] [2022-11-28 22:36:27 +0000.109012][2ad1]
AudioDeviceDataHandler::StartMicProcess

[000:068] [2022-11-28 22:36:27 +0000.109109][2ad1] Try to start webrtc recording


device.

[000:068] [2022-11-28 22:36:27 +0000.109134][2ad1] StartRecording. threadID:10961

[000:068] [2022-11-28 22:36:27 +0000.109168][3329] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:069] [2022-11-28 22:36:27 +0000.109279][3329] haveEnoughProcessedData
internalAudioStream.length: 0
[000:069] [2022-11-28 22:36:27 +0000.109438][2ad1] The machine model:Redmi Note 8
Pro

[000:069] [2022-11-28 22:36:27 +0000.109485][2ad1] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:069] [2022-11-28 22:36:27 +0000.109504][2ad1] Set the recording mode before


getSetting: 4
[000:069] [2022-11-28 22:36:27 +0000.109521][2ad1] Set the recording mode after
getSetting: 1
[000:107] [2022-11-28 22:36:27 +0000.147586][2ad1] StartRecording finished.

[000:107] [2022-11-28 22:36:27 +0000.147638][2ad1] audio: start the audio mic


checker timer.

[000:107] [2022-11-28 22:36:27 +0000.148101][2ad1] machine model :redmi


[000:107] [2022-11-28 22:36:27 +0000.148145][2ad1] Support this machine
model :redmi
[000:113] [2022-11-28 22:36:27 +0000.154004][2ad1] global inited! current sdk
version: 04-21-feaf968
[000:221] [2022-11-28 22:36:27 +0000.261795][332a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:221] [2022-11-28 22:36:27 +0000.261958][332a] _deviceSampleRate:48000

[000:226] [2022-11-28 22:36:27 +0000.267071][3329] Run AGC when audioType = 0


[000:227] [2022-11-28 22:36:27 +0000.267305][3329]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:349] [2022-11-28 22:36:27 +0000.390007][2fd7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:349] [2022-11-28 22:36:27 +0000.390153][3325] MediaFilterCamera, recording
file context:0x7131019e00 input texture:9
[000:350] [2022-11-28 22:36:27 +0000.390244][3325] GLESContext:
[000:350] [2022-11-28 22:36:27 +0000.390513][3325] The result of eglGetDisplay is:
0x1
[000:351] [2022-11-28 22:36:27 +0000.391424][3325] The result of creation:
0x70f7283b80
[000:352] [2022-11-28 22:36:27 +0000.392714][3325] The result of
eglCreatePbufferSurface is: 0x70f7283c00
[000:352] [2022-11-28 22:36:27 +0000.392837][2fd7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7131019e00 input_texture: 9
[001:810] [2022-11-28 22:36:28 +0000.850685][3329] haveEnoughProcessedData
internalAudioStream.length: 0
[002:215] [2022-11-28 22:36:29 +0000.255870][3329] Run AGC when audioType = 0
[003:504] [2022-11-28 22:36:30 +0000.545141][3329] haveEnoughProcessedData
internalAudioStream.length: 0
[004:094] [2022-11-28 22:36:31 +0000.134525][2ad1]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[004:094] [2022-11-28 22:36:31 +0000.134717][2ad1] ~MediaFilterCamera
time:587741536 enter.

[004:094] [2022-11-28 22:36:31 +0000.134773][2ad1] StopPullFrameAndWriteMp4


time:587741536 enter.

[004:094] [2022-11-28 22:36:31 +0000.135124][3324] stop recording


[004:095] [2022-11-28 22:36:31 +0000.135170][3324] we have stopped recording before
[004:095] [2022-11-28 22:36:31 +0000.135688][2ad1] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[004:096] [2022-11-28 22:36:31 +0000.136195][2ad1] DestroyPipelineAndFilters


time:587741538 enter.

[004:096] [2022-11-28 22:36:31 +0000.136279][2ad1] DestroyPipelineAndFilters


leave. expire time = 0 ms

[004:096] [2022-11-28 22:36:31 +0000.136323][2ad1] AppDeviceManagerStopMic

[004:096] [2022-11-28 22:36:31 +0000.136399][2ad1] AppDeviceManagerStopMic::mic


status is on
[004:096] [2022-11-28 22:36:31 +0000.136440][2ad1] Try to stop webrtc device.

[004:096] [2022-11-28 22:36:31 +0000.136472][2ad1] Set record state to


stopped.threadID:10961

[004:110] [2022-11-28 22:36:31 +0000.150341][3320]


monitorTime:4003totalDuration:3890
[004:139] [2022-11-28 22:36:31 +0000.179331][2ad1] Try to destory the
recorder.threadID:10961

[004:378] [2022-11-28 22:36:31 +0000.418224][2ad1] DestroyAudioRecorder:


[004:378] [2022-11-28 22:36:31 +0000.418346][2ad1] Cleanup the buffer queue in the
recorder.
[004:378] [2022-11-28 22:36:31 +0000.418394][2ad1] Destroy the recorder.

[004:379] [2022-11-28 22:36:31 +0000.419354][2ad1] StopRecording finished.

[004:379] [2022-11-28 22:36:31 +0000.419434][2ad1] The stop recording success.


[004:379] [2022-11-28 22:36:31 +0000.419469][2ad1]
AudioDeviceDataHandler::StopMicProcess

[004:380] [2022-11-28 22:36:31 +0000.420328][2ad1] AppDeviceManager stop.

[004:380] [2022-11-28 22:36:31 +0000.420449][2ad1] Rlease the webrtc device object.

[004:380] [2022-11-28 22:36:31 +0000.420869][2ad1] OpenSlesInput destruct.

[004:380] [2022-11-28 22:36:31 +0000.420957][2ad1] OpenSlesOutput destruct.

[004:381] [2022-11-28 22:36:31 +0000.421660][2ad1] EventDispatchServerScope


destruct
[004:381] [2022-11-28 22:36:31 +0000.421720][2ad1]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[004:381] [2022-11-28 22:36:31 +0000.421784][2ad1] ~AudioDeviceDataHandler

[004:382] [2022-11-28 22:36:31 +0000.423023][2ad1] AppDeviceManagerDestruct.

[004:382] [2022-11-28 22:36:31 +0000.423118][2ad1] ~AppDeviceManager:


[004:383] [2022-11-28 22:36:31 +0000.424071][2ad1] ~CpuOverloadDetect
time:587741825 enter.

[004:385] [2022-11-28 22:36:31 +0000.425406][2ad1] ~CpuOverloadDetect leave.


expire time = 2 ms

[004:387] [2022-11-28 22:36:31 +0000.427595][2ad1] Destruct BeautifyReader begin...


[004:387] [2022-11-28 22:36:31 +0000.427700][2ad1] Destruct BeautifyReader done.
[004:387] [2022-11-28 22:36:31 +0000.427759][2ad1] ~MediaFilterCamera leave.
expire time = 293 ms

[004:387] [2022-11-28 22:36:31 +0000.428034][2ad1] ~GLESContext:


[004:388] [2022-11-28 22:36:31 +0000.428606][2ad1] GLESContext destruct finish.
[004:388] [2022-11-28 22:36:31 +0000.428696][2ad1] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[004:388] [2022-11-28 22:36:31 +0000.429146][2ad1] global uninited!
[004:390] [2022-11-28 22:36:31 +0000.430784][2ad1] clear AppID 50011
[004:390] [2022-11-28 22:36:31 +0000.430887][2ad1] UnRegister JVM for Xplatform
util
[004:390] [2022-11-28 22:36:31 +0000.430952][2ad1] Dispose::unregister webrtc video
engine
[004:390] [2022-11-28 22:36:31 +0000.431042][2ad1] Init the android object with
jvm:0x0 env:0x0 context:0x0

[004:390] [2022-11-28 22:36:31 +0000.431103][2ad1] SetAndroidMediaCodecObjects


time:587741832 enter.

[004:390] [2022-11-28 22:36:31 +0000.431147][2ad1] ClearAndroidMediaCodecObjects


time:587741832 enter.

[004:391] [2022-11-28 22:36:31 +0000.431195][2ad1] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[004:391] [2022-11-28 22:36:31 +0000.431237][2ad1] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[004:391] [2022-11-28 22:36:31 +0000.431279][2ad1] SetAndroidMediaCodecObjects


time:587741833 enter.
[004:391] [2022-11-28 22:36:31 +0000.431320][2ad1] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0x0
[004:391] [2022-11-28 22:36:31 +0000.431363][2ad1] ClearAndroidMediaCodecObjects
time:587741833 enter.

[004:391] [2022-11-28 22:36:31 +0000.431404][2ad1] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:027] [2022-12-22 16:05:11 +0000.945845][2701] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-12-
22 16:05:11 +0000
[000:028] [2022-12-22 16:05:11 +0000.945904][2701] dump file m_prefix:-04-21-
feaf968

[000:031] [2022-12-22 16:05:11 +0000.949440][2701] dump filename:trace.txt dump


time:1669674991

[000:031] [2022-12-22 16:05:11 +0000.949494][2701] dump


filename:support_resolution.txt dump time:1669674991

[000:031] [2022-12-22 16:05:11 +0000.949664][2701] set AppID=50011 old AppID=-1


[000:031] [2022-12-22 16:05:11 +0000.949692][2701] Init the android object with
jvm:0xb4000070a3735380 env:0x6fffaf3940 context:0x6faabdff28

[000:031] [2022-12-22 16:05:11 +0000.949712][2701] SetAndroidMediaCodecObjects


time:427780365 enter.

[000:031] [2022-12-22 16:05:11 +0000.949736][2701] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:031] [2022-12-22 16:05:11 +0000.949758][2701] SetAndroidMediaCodecObjects


time:427780365 enter.

[000:031] [2022-12-22 16:05:11 +0000.949772][2701] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000070a3735380
[000:031] [2022-12-22 16:05:11 +0000.949788][2701] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000070a3735380 address:0x6f25d58760
[000:031] [2022-12-22 16:05:11 +0000.949805][2701] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000070a3735380
address:0x6f25d58760
[000:031] [2022-12-22 16:05:11 +0000.949817][2701] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:031] [2022-12-22 16:05:11 +0000.949838][2701] Set the android objects with


jvm:0xb4000070a3735380 env:0x6fffaf3940 context:0x6faabdff28

[000:033] [2022-12-22 16:05:11 +0000.950932][2701] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fffaf3940
[000:033] [2022-12-22 16:05:11 +0000.950971][2701] SystemUtil Init done
[000:034] [2022-12-22 16:05:11 +0000.952477][2701]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:036] [2022-12-22 16:05:11 +0000.953949][2701] MediaFilterCamera
[000:036] [2022-12-22 16:05:11 +0000.954015][2701] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:036] [2022-12-22 16:05:11 +0000.954103][2701] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:036] [2022-12-22 16:05:11 +0000.954132][2701] Recording session using default
bitrate support by app:31457280
[000:036] [2022-12-22 16:05:11 +0000.954171][30ad] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f965cadc0
[000:036] [2022-12-22 16:05:11 +0000.954338][30ad] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:036] [2022-12-22 16:05:11 +0000.954443][2701] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:037] [2022-12-22 16:05:11 +0000.954976][2701] Error(ini.cc:191): Open the file
failed. error:2
[000:037] [2022-12-22 16:05:11 +0000.955012][2701]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:037] [2022-12-22 16:05:11 +0000.955028][2701] The device model: redmi note 8
pro usingSoftwareAEC value: 0
[000:040] [2022-12-22 16:05:11 +0000.958232][2701] Error(ini.cc:191): Open the file
failed. error:2
[000:040] [2022-12-22 16:05:11 +0000.958289][2701]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:040] [2022-12-22 16:05:11 +0000.958311][2701] The device model: redmi note 8
pro usingHardwareAEC value: 0
[000:040] [2022-12-22 16:05:11 +0000.958324][2701] The machine device: redmi note 8
pro usingHardwareAEC value: 0
[000:040] [2022-12-22 16:05:11 +0000.958337][2701] Using Default AEC type: software
AEC
[000:041] [2022-12-22 16:05:11 +0000.959309][2701] The device model: redmi note 8
pro enum value: 0
[000:041] [2022-12-22 16:05:11 +0000.959753][2701] GetMachineModel is Redmi Note 8
Pro
[000:041] [2022-12-22 16:05:11 +0000.959784][2701] GetMachineInfo: Redmi Note 8
Pro
[000:042] [2022-12-22 16:05:11 +0000.960260][2701] Construct BeautifyReader
begin...
[000:042] [2022-12-22 16:05:11 +0000.960286][2701] dumpStickerRgba:0
dumpStickerYuv:0
[000:042] [2022-12-22 16:05:11 +0000.960300][2701] Construct BeautifyReader done.
[000:045] [2022-12-22 16:05:11 +0000.963563][2701] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:045] [2022-12-22 16:05:11 +0000.963609][30b0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f771fa3a0
[000:045] [2022-12-22 16:05:11 +0000.963666][2701] AppDeviceManager telnet server
for statistics started......
[000:046] [2022-12-22 16:05:11 +0000.964235][2701] CpuOverloadDetect time:427780380
enter.

[000:046] [2022-12-22 16:05:11 +0000.964332][2701] CpuOverloadDetect leave. expire


time = 0 ms

[000:046] [2022-12-22 16:05:11 +0000.964380][30b1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f185c2ac0
[000:047] [2022-12-22 16:05:11 +0000.964875][2701] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:047] [2022-12-22 16:05:11 +0000.964907][2701] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:047] [2022-12-22 16:05:11 +0000.965135][2701] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-12-22 16:05:11 +0000.965423][2701] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-12-22 16:05:11 +0000.965840][2701] CreatePlatformSpecificObjects:
[000:048] [2022-12-22 16:05:11 +0000.965874][2701] audio device use opensle input
and opensl output
[000:048] [2022-12-22 16:05:11 +0000.965906][2701] Create OpenSLES output module
with java VM support.

[000:048] [2022-12-22 16:05:11 +0000.966021][2701] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-12-22 16:05:11 +0000.966168][2701] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-12-22 16:05:11 +0000.966337][2701] Create OpenSLES output module
with buffer num:1

[000:048] [2022-12-22 16:05:11 +0000.966459][2701] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-12-22 16:05:11 +0000.966582][2701] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-12-22 16:05:11 +0000.966717][2701] Create OpenSLES input module
with java VM support.

[000:048] [2022-12-22 16:05:11 +0000.966747][2701] Create OpenSLES input module


with buffer num:1

[000:048] [2022-12-22 16:05:11 +0000.966788][2701] Error(trace.cc:40): Init the


output and input for audio device template.
[000:048] [2022-12-22 16:05:11 +0000.966808][2701] Init the output device.

[000:048] [2022-12-22 16:05:11 +0000.966849][2701] Init the opensl input.


[000:048] [2022-12-22 16:05:11 +0000.966864][2701] AppDeviceManager get setting
samplerate: 0
[000:049] [2022-12-22 16:05:11 +0000.967208][2701] The device model: redmi note 8
pro enum value: 0
[000:049] [2022-12-22 16:05:11 +0000.967676][2701] The device model: redmi note 8
pro enum value: 0
[000:049] [2022-12-22 16:05:11 +0000.967701][2701] Set the sample rate to be:48000

[000:049] [2022-12-22 16:05:11 +0000.967716][2701] Enable the recording stereo:0


[000:049] [2022-12-22 16:05:11 +0000.967728][2701] Set the playout as stereo:1
[000:049] [2022-12-22 16:05:11 +0000.967739][2701] Init the microphone.
[000:050] [2022-12-22 16:05:11 +0000.968099][2701] Update the recording sample rate
to be: 48000
[000:050] [2022-12-22 16:05:11 +0000.968126][2701] Init the speaker.
[000:050] [2022-12-22 16:05:11 +0000.968152][2701] Low latency buffer size:256 low
sample rate:48000
[000:050] [2022-12-22 16:05:11 +0000.968364][2701] Using 1 x 10ms for an audio
frame.

[000:053] [2022-12-22 16:05:11 +0000.971538][2701] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:053] [2022-12-22 16:05:11 +0000.971621][2701] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-12-22 16:05:11 +0000.971685][2701] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:058] [2022-12-22 16:05:11 +0000.976228][2701] The device model:redmi note 8
pro

[000:058] [2022-12-22 16:05:11 +0000.976278][2701] speaker output factor:100


defaultFactor: 100

[000:058] [2022-12-22 16:05:11 +0000.976293][2701] headset output factor:100


defaultFactor: 100
[000:058] [2022-12-22 16:05:11 +0000.976582][2701] AppDeviceManagerStart finished.
[000:058] [2022-12-22 16:05:11 +0000.976605][2701] AppDeviceManagerStartMic::mic
status is off
[000:058] [2022-12-22 16:05:11 +0000.976639][2701] AppDeviceManagerStartMic update
aec type: 2

[000:058] [2022-12-22 16:05:11 +0000.976656][2701] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:058] [2022-12-22 16:05:11 +0000.976670][2701]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:058] [2022-12-22 16:05:11 +0000.976682][2701]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-12-22 16:05:11 +0000.976784][2701] Try to start webrtc recording


device.

[000:058] [2022-12-22 16:05:11 +0000.976806][2701] StartRecording. threadID:9985

[000:058] [2022-12-22 16:05:11 +0000.976841][30b2] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:059] [2022-12-22 16:05:11 +0000.976954][30b2] haveEnoughProcessedData
internalAudioStream.length: 0
[000:059] [2022-12-22 16:05:11 +0000.977056][2701] The machine model:Redmi Note 8
Pro

[000:059] [2022-12-22 16:05:11 +0000.977100][2701] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:059] [2022-12-22 16:05:11 +0000.977118][2701] Set the recording mode before


getSetting: 4
[000:059] [2022-12-22 16:05:11 +0000.977133][2701] Set the recording mode after
getSetting: 1
[000:087] [2022-12-22 16:05:12 +0000.5034][2701] StartRecording finished.

[000:087] [2022-12-22 16:05:12 +0000.5090][2701] audio: start the audio mic checker
timer.

[000:087] [2022-12-22 16:05:12 +0000.5494][2701] machine model :redmi


[000:087] [2022-12-22 16:05:12 +0000.5523][2701] Support this machine model :redmi
[000:094] [2022-12-22 16:05:12 +0000.12093][2701] global inited! current sdk
version: 04-21-feaf968
[000:206] [2022-12-22 16:05:12 +0000.124113][30b3] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:206] [2022-12-22 16:05:12 +0000.124280][30b3] _deviceSampleRate:48000

[000:211] [2022-12-22 16:05:12 +0000.129548][30b2] Run AGC when audioType = 0


[000:211] [2022-12-22 16:05:12 +0000.129695][30b2]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:298] [2022-12-22 16:05:12 +0000.216153][2c0e]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:298] [2022-12-22 16:05:12 +0000.216316][30ae] MediaFilterCamera, recording
file context:0x6fffd97580 input texture:10
[000:298] [2022-12-22 16:05:12 +0000.216432][30ae] GLESContext:
[000:299] [2022-12-22 16:05:12 +0000.217042][30ae] The result of eglGetDisplay is:
0x1
[000:300] [2022-12-22 16:05:12 +0000.218224][30ae] The result of creation:
0x6f18a61b80
[000:300] [2022-12-22 16:05:12 +0000.218532][30ae] The result of
eglCreatePbufferSurface is: 0x6f18a61c00
[000:300] [2022-12-22 16:05:12 +0000.218641][2c0e]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6fffd97580 input_texture: 10
[001:126] [2022-12-22 16:05:13 +0000.44177][2701]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:126] [2022-12-22 16:05:13 +0000.44286][2701] ~MediaFilterCamera time:427781460
enter.

[001:126] [2022-12-22 16:05:13 +0000.44334][2701] StopPullFrameAndWriteMp4


time:427781460 enter.

[001:126] [2022-12-22 16:05:13 +0000.44702][30ad] stop recording


[001:126] [2022-12-22 16:05:13 +0000.44812][30ad] we have stopped recording before
[001:127] [2022-12-22 16:05:13 +0000.44964][2701] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:127] [2022-12-22 16:05:13 +0000.45461][2701] DestroyPipelineAndFilters


time:427781461 enter.

[001:127] [2022-12-22 16:05:13 +0000.45565][2701] DestroyPipelineAndFilters leave.


expire time = 0 ms

[001:127] [2022-12-22 16:05:13 +0000.45653][2701] AppDeviceManagerStopMic

[001:127] [2022-12-22 16:05:13 +0000.45750][2701] AppDeviceManagerStopMic::mic


status is on
[001:127] [2022-12-22 16:05:13 +0000.45785][2701] Try to stop webrtc device.

[001:127] [2022-12-22 16:05:13 +0000.45812][2701] Set record state to


stopped.threadID:9985

[001:172] [2022-12-22 16:05:13 +0000.90331][2701] Try to destory the


recorder.threadID:9985

[001:372] [2022-12-22 16:05:13 +0000.290511][2701] DestroyAudioRecorder:


[001:372] [2022-12-22 16:05:13 +0000.290669][2701] Cleanup the buffer queue in the
recorder.
[001:372] [2022-12-22 16:05:13 +0000.290719][2701] Destroy the recorder.

[001:373] [2022-12-22 16:05:13 +0000.291725][2701] StopRecording finished.

[001:373] [2022-12-22 16:05:13 +0000.291819][2701] The stop recording success.

[001:373] [2022-12-22 16:05:13 +0000.291852][2701]


AudioDeviceDataHandler::StopMicProcess

[001:376] [2022-12-22 16:05:13 +0000.294247][2701] AppDeviceManager stop.

[001:376] [2022-12-22 16:05:13 +0000.294312][2701] Rlease the webrtc device object.

[001:376] [2022-12-22 16:05:13 +0000.294656][2701] OpenSlesInput destruct.

[001:376] [2022-12-22 16:05:13 +0000.294771][2701] OpenSlesOutput destruct.

[001:377] [2022-12-22 16:05:13 +0000.295304][2701] EventDispatchServerScope


destruct
[001:377] [2022-12-22 16:05:13 +0000.295376][2701]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:377] [2022-12-22 16:05:13 +0000.295443][2701] ~AudioDeviceDataHandler

[001:378] [2022-12-22 16:05:13 +0000.296069][2701] AppDeviceManagerDestruct.

[001:378] [2022-12-22 16:05:13 +0000.296175][2701] ~AppDeviceManager:


[001:378] [2022-12-22 16:05:13 +0000.296251][2701] ~CpuOverloadDetect
time:427781712 enter.

[001:378] [2022-12-22 16:05:13 +0000.296568][2701] ~CpuOverloadDetect leave.


expire time = 0 ms

[001:382] [2022-12-22 16:05:13 +0000.300792][2701] Destruct BeautifyReader begin...


[001:383] [2022-12-22 16:05:13 +0000.300894][2701] Destruct BeautifyReader done.
[001:383] [2022-12-22 16:05:13 +0000.300939][2701] ~MediaFilterCamera leave.
expire time = 257 ms

[001:383] [2022-12-22 16:05:13 +0000.301213][2701] ~GLESContext:


[001:383] [2022-12-22 16:05:13 +0000.301717][2701] GLESContext destruct finish.
[001:383] [2022-12-22 16:05:13 +0000.301788][2701] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:384] [2022-12-22 16:05:13 +0000.302268][2701] global uninited!
[001:385] [2022-12-22 16:05:13 +0000.303648][2701] clear AppID 50011
[001:385] [2022-12-22 16:05:13 +0000.303721][2701] UnRegister JVM for Xplatform
util
[001:385] [2022-12-22 16:05:13 +0000.303770][2701] Dispose::unregister webrtc video
engine
[001:385] [2022-12-22 16:05:13 +0000.303812][2701] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:385] [2022-12-22 16:05:13 +0000.303861][2701] SetAndroidMediaCodecObjects


time:427781719 enter.

[001:386] [2022-12-22 16:05:13 +0000.303932][2701] ClearAndroidMediaCodecObjects


time:427781720 enter.

[001:386] [2022-12-22 16:05:13 +0000.303966][2701] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:386] [2022-12-22 16:05:13 +0000.304009][2701] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[001:386] [2022-12-22 16:05:13 +0000.304052][2701] SetAndroidMediaCodecObjects


time:427781720 enter.

[001:386] [2022-12-22 16:05:13 +0000.304094][2701] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:386] [2022-12-22 16:05:13 +0000.304137][2701] ClearAndroidMediaCodecObjects
time:427781720 enter.

[001:386] [2022-12-22 16:05:13 +0000.304179][2701] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:386] [2022-12-22 16:05:13 +0000.304220][2701] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:386] [2022-12-22 16:05:13 +0000.304260][2701] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[001:386] [2022-12-22 16:05:13 +0000.304302][2701] Dispose::unregister webrtc voice
engine
[001:386] [2022-

You might also like