You are on page 1of 27

[000:092] [2023-12-15 02:57:20 +0000.

739499][60a3] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-12-
15 02:57:20 +0000
[000:092] [2023-12-15 02:57:20 +0000.739598][60a3] set AppID=50011 old AppID=-1
[000:092] [2023-12-15 02:57:20 +0000.739624][60a3] Init the android object with
jvm:0xb400007ed4821380 env:0x7eb694b780 context:0x7e600d6328

[000:092] [2023-12-15 02:57:20 +0000.739671][60a3] SetAndroidMediaCodecObjects


time:207981823 enter.

[000:092] [2023-12-15 02:57:20 +0000.739732][60a3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:092] [2023-12-15 02:57:20 +0000.739770][60a3] SetAndroidMediaCodecObjects


time:207981823 enter.

[000:092] [2023-12-15 02:57:20 +0000.739822][60a3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007ed4821380
[000:092] [2023-12-15 02:57:20 +0000.739856][60a3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007ed4821380 address:0x7e1e731760
[000:092] [2023-12-15 02:57:20 +0000.739894][60a3] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007ed4821380
address:0x7e1e731760
[000:092] [2023-12-15 02:57:20 +0000.739919][60a3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:092] [2023-12-15 02:57:20 +0000.739964][60a3] Set the android objects with


jvm:0xb400007ed4821380 env:0x7eb694b780 context:0x7e600d6328

[000:095] [2023-12-15 02:57:20 +0000.743007][60a3] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7eb694b780
[000:095] [2023-12-15 02:57:20 +0000.743057][60a3] SystemUtil Init done
[000:099] [2023-12-15 02:57:20 +0000.746829][60a3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:101] [2023-12-15 02:57:20 +0000.748783][60a3] MediaFilterCamera
[000:101] [2023-12-15 02:57:20 +0000.748865][60a3] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:101] [2023-12-15 02:57:20 +0000.749017][60a3] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:101] [2023-12-15 02:57:20 +0000.749070][60a3] Recording session using default
bitrate support by app:14680064
[000:101] [2023-12-15 02:57:20 +0000.749070][650d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7e2b497ec0
[000:102] [2023-12-15 02:57:20 +0000.749280][650d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:102] [2023-12-15 02:57:20 +0000.749397][60a3] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:102] [2023-12-15 02:57:20 +0000.750087][60a3] Error(ini.cc:191): Open the file
failed. error:2
[000:102] [2023-12-15 02:57:20 +0000.750143][60a3]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:102] [2023-12-15 02:57:20 +0000.750197][60a3] The device model: 220333qag
usingSoftwareAEC value: 0
[000:105] [2023-12-15 02:57:20 +0000.752927][60a3] Error(ini.cc:191): Open the file
failed. error:2
[000:105] [2023-12-15 02:57:20 +0000.753014][60a3]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:105] [2023-12-15 02:57:20 +0000.753054][60a3] The device model: 220333qag
usingHardwareAEC value: 0
[000:105] [2023-12-15 02:57:20 +0000.753108][60a3] The machine device: 220333qag
usingHardwareAEC value: 0
[000:105] [2023-12-15 02:57:20 +0000.753161][60a3] Using Default AEC type: software
AEC
[000:106] [2023-12-15 02:57:20 +0000.754250][60a3] The device model: 220333qag enum
value: 0
[000:107] [2023-12-15 02:57:20 +0000.754891][60a3] GetMachineModel is 220333QAG
[000:107] [2023-12-15 02:57:20 +0000.754950][60a3] GetMachineInfo: 220333QAG
[000:107] [2023-12-15 02:57:20 +0000.754990][60a3] Construct BeautifyReader
begin...
[000:107] [2023-12-15 02:57:20 +0000.755018][60a3] dumpStickerRgba:0
dumpStickerYuv:0
[000:107] [2023-12-15 02:57:20 +0000.755042][60a3] Construct BeautifyReader done.
[000:110] [2023-12-15 02:57:20 +0000.757550][60a3] Error(ini.cc:191): Open the file
failed. error:2
[000:110] [2023-12-15 02:57:20 +0000.757637][60a3]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:110] [2023-12-15 02:57:20 +0000.757760][60a3] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:110] [2023-12-15 02:57:20 +0000.757797][60a3] AppDeviceManager telnet server
for statistics started......
[000:110] [2023-12-15 02:57:20 +0000.757800][6510] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7e31b21ea0
[000:110] [2023-12-15 02:57:20 +0000.758127][60a3] CpuOverloadDetect time:207981841
enter.

[000:110] [2023-12-15 02:57:20 +0000.758214][60a3] CpuOverloadDetect leave. expire


time = 0 ms

[000:110] [2023-12-15 02:57:20 +0000.758240][6511] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ec3c84d40
[000:111] [2023-12-15 02:57:20 +0000.758915][60a3] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:111] [2023-12-15 02:57:20 +0000.758953][60a3] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:120] [2023-12-15 02:57:20 +0000.767378][60a3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:122] [2023-12-15 02:57:20 +0000.769577][60a3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:122] [2023-12-15 02:57:20 +0000.770214][60a3] CreatePlatformSpecificObjects:
[000:123] [2023-12-15 02:57:20 +0000.770272][60a3] audio device use opensle input
and opensl output
[000:123] [2023-12-15 02:57:20 +0000.770330][60a3] Create OpenSLES output module
with java VM support.

[000:123] [2023-12-15 02:57:20 +0000.770512][60a3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:123] [2023-12-15 02:57:20 +0000.770669][60a3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:123] [2023-12-15 02:57:20 +0000.770855][60a3] Create OpenSLES output module
with buffer num:1

[000:123] [2023-12-15 02:57:20 +0000.771009][60a3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:123] [2023-12-15 02:57:20 +0000.771150][60a3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:124] [2023-12-15 02:57:20 +0000.771309][60a3] Create OpenSLES input module
with java VM support.

[000:124] [2023-12-15 02:57:20 +0000.771353][60a3] Create OpenSLES input module


with buffer num:1

[000:124] [2023-12-15 02:57:20 +0000.771420][60a3] Error(trace.cc:40): Init the


output and input for audio device template.
[000:124] [2023-12-15 02:57:20 +0000.771460][60a3] Init the output device.

[000:124] [2023-12-15 02:57:20 +0000.771486][60a3] Init the opensl input.


[000:124] [2023-12-15 02:57:20 +0000.771541][60a3] AppDeviceManager get setting
samplerate: 0
[000:124] [2023-12-15 02:57:20 +0000.771982][60a3] The device model: 220333qag enum
value: 0
[000:125] [2023-12-15 02:57:20 +0000.772729][60a3] The device model: 220333qag enum
value: 0
[000:125] [2023-12-15 02:57:20 +0000.772772][60a3] Set the sample rate to be:48000

[000:125] [2023-12-15 02:57:20 +0000.772811][60a3] Enable the recording stereo:0


[000:125] [2023-12-15 02:57:20 +0000.772852][60a3] Set the playout as stereo:1
[000:125] [2023-12-15 02:57:20 +0000.772892][60a3] Init the microphone.
[000:126] [2023-12-15 02:57:20 +0000.773334][60a3] Update the recording sample rate
to be: 48000
[000:126] [2023-12-15 02:57:20 +0000.773393][60a3] Init the speaker.
[000:126] [2023-12-15 02:57:20 +0000.773448][60a3] Low latency buffer size:144 low
sample rate:48000
[000:126] [2023-12-15 02:57:20 +0000.773634][60a3] Using 1 x 10ms for an audio
frame.

[000:129] [2023-12-15 02:57:20 +0000.777178][60a3] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:130] [2023-12-15 02:57:20 +0000.777329][60a3] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:130] [2023-12-15 02:57:20 +0000.777389][60a3] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:134] [2023-12-15 02:57:20 +0000.782252][60a3] The device model:220333qag

[000:135] [2023-12-15 02:57:20 +0000.782346][60a3] speaker output factor:100


defaultFactor: 100

[000:135] [2023-12-15 02:57:20 +0000.782389][60a3] headset output factor:100


defaultFactor: 100

[000:135] [2023-12-15 02:57:20 +0000.782838][60a3] AppDeviceManagerStart finished.


[000:135] [2023-12-15 02:57:20 +0000.782882][60a3] AppDeviceManagerStartMic::mic
status is off
[000:135] [2023-12-15 02:57:20 +0000.782945][60a3] AppDeviceManagerStartMic update
aec type: 2

[000:135] [2023-12-15 02:57:20 +0000.782979][60a3] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:135] [2023-12-15 02:57:20 +0000.783026][60a3]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:135] [2023-12-15 02:57:20 +0000.783065][60a3]
AudioDeviceDataHandler::StartMicProcess

[000:135] [2023-12-15 02:57:20 +0000.783208][60a3] Try to start webrtc recording


device.

[000:135] [2023-12-15 02:57:20 +0000.783247][60a3] StartRecording. threadID:24739

[000:135] [2023-12-15 02:57:20 +0000.783238][6512] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:136] [2023-12-15 02:57:20 +0000.783313][6512] haveEnoughProcessedData
internalAudioStream.length: 0
[000:136] [2023-12-15 02:57:20 +0000.783641][60a3] The machine model:220333QAG

[000:136] [2023-12-15 02:57:20 +0000.783704][60a3] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:136] [2023-12-15 02:57:20 +0000.783739][60a3] Set the recording mode before


getSetting: 4
[000:136] [2023-12-15 02:57:20 +0000.783785][60a3] Set the recording mode after
getSetting: 1
[000:184] [2023-12-15 02:57:20 +0000.832248][60a3] StartRecording finished.

[000:185] [2023-12-15 02:57:20 +0000.832356][60a3] audio: start the audio mic


checker timer.

[000:185] [2023-12-15 02:57:20 +0000.833011][60a3] machine model :redmi


[000:185] [2023-12-15 02:57:20 +0000.833084][60a3] Support this machine
model :redmi
[000:196] [2023-12-15 02:57:20 +0000.843921][60a3] global inited! current sdk
version: 12-14-d8558ab
[000:280] [2023-12-15 02:57:20 +0000.927355][6513] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:280] [2023-12-15 02:57:20 +0000.927445][6513] _deviceSampleRate:48000

[000:283] [2023-12-15 02:57:20 +0000.930903][6512] Run AGC when audioType = 0


[000:283] [2023-12-15 02:57:20 +0000.930983][6512]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:707] [2023-12-15 02:57:21 +0000.355084][6394]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:708] [2023-12-15 02:57:21 +0000.355347][650e] MediaFilterCamera, recording
file context:0x7eb6a7be00 input texture:4
[000:708] [2023-12-15 02:57:21 +0000.355419][650e] GLESContext:
[000:708] [2023-12-15 02:57:21 +0000.355496][650e] The result of eglGetDisplay is:
0x1
[000:710] [2023-12-15 02:57:21 +0000.357685][650e] The result of creation:
0x7e2bb88b80
[000:710] [2023-12-15 02:57:21 +0000.357842][650e] The result of
eglCreatePbufferSurface is: 0x7e2bb88c80
[000:710] [2023-12-15 02:57:21 +0000.357982][6394]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7eb6a7be00 input_texture: 4
[000:867] [2023-12-15 02:57:21 +0000.514329][60a3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:867] [2023-12-15 02:57:21 +0000.514464][60a3] ~MediaFilterCamera
time:207982598 enter.

[000:867] [2023-12-15 02:57:21 +0000.514523][60a3] StopPullFrameAndWriteMp4


time:207982598 enter.

[000:867] [2023-12-15 02:57:21 +0000.515079][650d] stop recording


[000:867] [2023-12-15 02:57:21 +0000.515145][650d] we have stopped recording before
[000:867] [2023-12-15 02:57:21 +0000.515244][60a3] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:868] [2023-12-15 02:57:21 +0000.515718][60a3] DestroyPipelineAndFilters


time:207982599 enter.

[000:868] [2023-12-15 02:57:21 +0000.515788][60a3] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:868] [2023-12-15 02:57:21 +0000.515846][60a3] AppDeviceManagerStopMic

[000:868] [2023-12-15 02:57:21 +0000.515915][60a3] AppDeviceManagerStopMic::mic


status is on
[000:868] [2023-12-15 02:57:21 +0000.515953][60a3] Try to stop webrtc device.

[000:868] [2023-12-15 02:57:21 +0000.516001][60a3] Set record state to


stopped.threadID:24739

[000:910] [2023-12-15 02:57:21 +0000.557797][60a3] Try to destory the


recorder.threadID:24739

[001:110] [2023-12-15 02:57:21 +0000.758018][60a3] DestroyAudioRecorder:


[001:110] [2023-12-15 02:57:21 +0000.758190][60a3] Cleanup the buffer queue in the
recorder.
[001:110] [2023-12-15 02:57:21 +0000.758231][60a3] Destroy the recorder.

[001:133] [2023-12-15 02:57:21 +0000.780893][60a3] StopRecording finished.

[001:133] [2023-12-15 02:57:21 +0000.781078][60a3] The stop recording success.

[001:133] [2023-12-15 02:57:21 +0000.781164][60a3]


AudioDeviceDataHandler::StopMicProcess

[001:137] [2023-12-15 02:57:21 +0000.784474][60a3] AppDeviceManager stop.

[001:137] [2023-12-15 02:57:21 +0000.784602][60a3] Rlease the webrtc device object.

[001:137] [2023-12-15 02:57:21 +0000.784850][60a3] OpenSlesInput destruct.

[001:137] [2023-12-15 02:57:21 +0000.784910][60a3] OpenSlesOutput destruct.

[001:138] [2023-12-15 02:57:21 +0000.785297][60a3] EventDispatchServerScope


destruct
[001:138] [2023-12-15 02:57:21 +0000.785342][60a3]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:138] [2023-12-15 02:57:21 +0000.785394][60a3] ~AudioDeviceDataHandler

[001:138] [2023-12-15 02:57:21 +0000.786226][60a3] AppDeviceManagerDestruct.

[001:139] [2023-12-15 02:57:21 +0000.786330][60a3] ~AppDeviceManager:


[001:139] [2023-12-15 02:57:21 +0000.786407][60a3] ~CpuOverloadDetect
time:207982870 enter.

[001:140] [2023-12-15 02:57:21 +0000.787386][60a3] ~CpuOverloadDetect leave.


expire time = 1 ms

[001:169] [2023-12-15 02:57:21 +0000.816631][60a3] Destruct BeautifyReader begin...


[001:169] [2023-12-15 02:57:21 +0000.816706][60a3] Destruct BeautifyReader done.
[001:169] [2023-12-15 02:57:21 +0000.816758][60a3] ~MediaFilterCamera leave.
expire time = 302 ms

[001:169] [2023-12-15 02:57:21 +0000.817025][60a3] ~GLESContext:


[001:170] [2023-12-15 02:57:21 +0000.817928][60a3] GLESContext destruct finish.
[001:170] [2023-12-15 02:57:21 +0000.818021][60a3] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:171] [2023-12-15 02:57:21 +0000.818814][60a3] global uninited!
[001:172] [2023-12-15 02:57:21 +0000.820049][60a3] clear AppID 50011
[001:172] [2023-12-15 02:57:21 +0000.820146][60a3] UnRegister JVM for Xplatform
util
[001:172] [2023-12-15 02:57:21 +0000.820177][60a3] Dispose::unregister webrtc video
engine
[001:173] [2023-12-15 02:57:21 +0000.820394][60a3] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:173] [2023-12-15 02:57:21 +0000.820437][60a3] SetAndroidMediaCodecObjects


time:207982904 enter.

[001:173] [2023-12-15 02:57:21 +0000.820466][60a3] ClearAndroidMediaCodecObjects


time:207982904 enter.

[001:173] [2023-12-15 02:57:21 +0000.820529][60a3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:173] [2023-12-15 02:57:21 +0000.820724][60a3] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:173] [2023-12-15 02:57:21 +0000.820766][60a3] SetAndroidMediaCodecObjects


time:207982904 enter.

[001:173] [2023-12-15 02:57:21 +0000.820808][60a3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:173] [2023-12-15 02:57:21 +0000.820877][60a3] ClearAndroidMediaCodecObjects
time:207982904 enter.

[001:173] [2023-12-15 02:57:21 +0000.820917][60a3] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:173] [2023-12-15 02:57:21 +0000.820945][60a3] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:173] [2023-12-15 02:57:21 +0000.820971][60a3] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:173] [2023-12-15 02:57:21 +0000.820998][60a3] Dispose::unregister webrtc voice


engine
[001:173] [2023-12-15 02:57:21 +0000.821024][60a3] Set the android obj[000:051]
[2023-12-29 07:17:49 +0000.836264][3585] Log to file:/storage/emulated/0/voip-
data/com.android.camera/trace.txt start time:2023-12-29 07:17:49 +0000
[000:051] [2023-12-29 07:17:49 +0000.836339][3585] set AppID=50011 old AppID=-1
[000:051] [2023-12-29 07:17:49 +0000.836375][3585] Init the android object with
jvm:0xb400007d92c21380 env:0x7d750fa8c0 context:0x7d7dfe7328

[000:051] [2023-12-29 07:17:49 +0000.836418][3585] SetAndroidMediaCodecObjects


time:13918745 enter.

[000:051] [2023-12-29 07:17:49 +0000.836455][3585] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[000:051] [2023-12-29 07:17:49 +0000.836492][3585] SetAndroidMediaCodecObjects
time:13918745 enter.

[000:051] [2023-12-29 07:17:49 +0000.836524][3585] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d92c21380
[000:051] [2023-12-29 07:17:49 +0000.836559][3585] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d92c21380 address:0x7cb667d760
[000:051] [2023-12-29 07:17:49 +0000.836593][3585] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d92c21380
address:0x7cb667d760
[000:051] [2023-12-29 07:17:49 +0000.836628][3585] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:051] [2023-12-29 07:17:49 +0000.836679][3585] Set the android objects with


jvm:0xb400007d92c21380 env:0x7d750fa8c0 context:0x7d7dfe7328

[000:053] [2023-12-29 07:17:49 +0000.838515][3585] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d750fa8c0
[000:053] [2023-12-29 07:17:49 +0000.838561][3585] SystemUtil Init done
[000:057] [2023-12-29 07:17:49 +0000.842327][3585]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:059] [2023-12-29 07:17:49 +0000.844385][3585] MediaFilterCamera
[000:059] [2023-12-29 07:17:49 +0000.844447][3585] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:059] [2023-12-29 07:17:49 +0000.844591][3585] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:059] [2023-12-29 07:17:49 +0000.844639][3585] Recording session using default
bitrate support by app:14680064
[000:059] [2023-12-29 07:17:49 +0000.844629][3f27] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d8225f6c0
[000:059] [2023-12-29 07:17:49 +0000.844839][3f27] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:059] [2023-12-29 07:17:49 +0000.844924][3585] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:060] [2023-12-29 07:17:49 +0000.845504][3585] Error(ini.cc:191): Open the file
failed. error:2
[000:060] [2023-12-29 07:17:49 +0000.845543][3585]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:060] [2023-12-29 07:17:49 +0000.845593][3585] The device model: 220333qag
usingSoftwareAEC value: 0
[000:062] [2023-12-29 07:17:49 +0000.847741][3585] Error(ini.cc:191): Open the file
failed. error:2
[000:062] [2023-12-29 07:17:49 +0000.847789][3585]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:062] [2023-12-29 07:17:49 +0000.847831][3585] The device model: 220333qag
usingHardwareAEC value: 0
[000:062] [2023-12-29 07:17:49 +0000.847861][3585] The machine device: 220333qag
usingHardwareAEC value: 0
[000:062] [2023-12-29 07:17:49 +0000.847899][3585] Using Default AEC type: software
AEC
[000:063] [2023-12-29 07:17:49 +0000.848929][3585] The device model: 220333qag enum
value: 0
[000:064] [2023-12-29 07:17:49 +0000.849485][3585] GetMachineModel is 220333QAG
[000:064] [2023-12-29 07:17:49 +0000.849540][3585] GetMachineInfo: 220333QAG
[000:064] [2023-12-29 07:17:49 +0000.849587][3585] Construct BeautifyReader
begin...
[000:064] [2023-12-29 07:17:49 +0000.849623][3585] dumpStickerRgba:0
dumpStickerYuv:0
[000:064] [2023-12-29 07:17:49 +0000.849656][3585] Construct BeautifyReader done.
[000:075] [2023-12-29 07:17:49 +0000.861136][3585] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:075] [2023-12-29 07:17:49 +0000.861159][3f2a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cfe3035a0
[000:076] [2023-12-29 07:17:49 +0000.861240][3585] AppDeviceManager telnet server
for statistics started......
[000:076] [2023-12-29 07:17:49 +0000.861660][3585] CpuOverloadDetect time:13918770
enter.

[000:076] [2023-12-29 07:17:49 +0000.861759][3585] CpuOverloadDetect leave. expire


time = 0 ms

[000:076] [2023-12-29 07:17:49 +0000.861776][3f2b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d82328b80
[000:077] [2023-12-29 07:17:49 +0000.862449][3585] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:077] [2023-12-29 07:17:49 +0000.862489][3585] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:077] [2023-12-29 07:17:49 +0000.862944][3585] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:078] [2023-12-29 07:17:49 +0000.863253][3585] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:078] [2023-12-29 07:17:49 +0000.863693][3585] CreatePlatformSpecificObjects:
[000:078] [2023-12-29 07:17:49 +0000.863734][3585] audio device use opensle input
and opensl output
[000:078] [2023-12-29 07:17:49 +0000.863783][3585] Create OpenSLES output module
with java VM support.

[000:078] [2023-12-29 07:17:49 +0000.863904][3585] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:078] [2023-12-29 07:17:49 +0000.864037][3585] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:078] [2023-12-29 07:17:49 +0000.864193][3585] Create OpenSLES output module
with buffer num:1

[000:079] [2023-12-29 07:17:49 +0000.864328][3585] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:079] [2023-12-29 07:17:49 +0000.864453][3585] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:079] [2023-12-29 07:17:49 +0000.864594][3585] Create OpenSLES input module
with java VM support.

[000:079] [2023-12-29 07:17:49 +0000.864634][3585] Create OpenSLES input module


with buffer num:1

[000:079] [2023-12-29 07:17:49 +0000.864695][3585] Error(trace.cc:40): Init the


output and input for audio device template.
[000:079] [2023-12-29 07:17:49 +0000.864731][3585] Init the output device.

[000:079] [2023-12-29 07:17:49 +0000.864767][3585] Init the opensl input.


[000:079] [2023-12-29 07:17:49 +0000.864806][3585] AppDeviceManager get setting
samplerate: 0
[000:079] [2023-12-29 07:17:49 +0000.865167][3585] The device model: 220333qag enum
value: 0
[000:080] [2023-12-29 07:17:49 +0000.865769][3585] The device model: 220333qag enum
value: 0
[000:080] [2023-12-29 07:17:49 +0000.865806][3585] Set the sample rate to be:48000
[000:080] [2023-12-29 07:17:49 +0000.865842][3585] Enable the recording stereo:0
[000:080] [2023-12-29 07:17:49 +0000.865878][3585] Set the playout as stereo:1
[000:080] [2023-12-29 07:17:49 +0000.865911][3585] Init the microphone.
[000:081] [2023-12-29 07:17:49 +0000.866327][3585] Update the recording sample rate
to be: 48000
[000:081] [2023-12-29 07:17:49 +0000.866368][3585] Init the speaker.
[000:081] [2023-12-29 07:17:49 +0000.866405][3585] Low latency buffer size:144 low
sample rate:48000
[000:081] [2023-12-29 07:17:49 +0000.866651][3585] Using 1 x 10ms for an audio
frame.

[000:084] [2023-12-29 07:17:49 +0000.869939][3585] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:084] [2023-12-29 07:17:49 +0000.870065][3585] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:084] [2023-12-29 07:17:49 +0000.870121][3585] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:089] [2023-12-29 07:17:49 +0000.874825][3585] The device model:220333qag

[000:089] [2023-12-29 07:17:49 +0000.874921][3585] speaker output factor:100


defaultFactor: 100

[000:089] [2023-12-29 07:17:49 +0000.874947][3585] headset output factor:100


defaultFactor: 100

[000:090] [2023-12-29 07:17:49 +0000.875487][3585] AppDeviceManagerStart finished.


[000:090] [2023-12-29 07:17:49 +0000.875531][3585] AppDeviceManagerStartMic::mic
status is off
[000:090] [2023-12-29 07:17:49 +0000.875577][3585] AppDeviceManagerStartMic update
aec type: 2

[000:090] [2023-12-29 07:17:49 +0000.875608][3585] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:090] [2023-12-29 07:17:49 +0000.875644][3585]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:090] [2023-12-29 07:17:49 +0000.875666][3585]
AudioDeviceDataHandler::StartMicProcess

[000:090] [2023-12-29 07:17:49 +0000.875779][3585] Try to start webrtc recording


device.

[000:090] [2023-12-29 07:17:49 +0000.875814][3585] StartRecording. threadID:13701

[000:090] [2023-12-29 07:17:49 +0000.875806][3f2d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:090] [2023-12-29 07:17:49 +0000.875899][3f2d] haveEnoughProcessedData
internalAudioStream.length: 0
[000:090] [2023-12-29 07:17:49 +0000.876191][3585] The machine model:220333QAG

[000:091] [2023-12-29 07:17:49 +0000.876247][3585] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:091] [2023-12-29 07:17:49 +0000.876279][3585] Set the recording mode before


getSetting: 4
[000:091] [2023-12-29 07:17:49 +0000.876306][3585] Set the recording mode after
getSetting: 1
[000:115] [2023-12-29 07:17:49 +0000.900778][3585] StartRecording finished.
[000:115] [2023-12-29 07:17:49 +0000.900842][3585] audio: start the audio mic
checker timer.

[000:116] [2023-12-29 07:17:49 +0000.901388][3585] machine model :redmi


[000:116] [2023-12-29 07:17:49 +0000.901440][3585] Support this machine
model :redmi
[000:121] [2023-12-29 07:17:49 +0000.906495][3585] global inited! current sdk
version: 12-14-d8558ab
[000:193] [2023-12-29 07:17:49 +0000.978295][3f2e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:193] [2023-12-29 07:17:49 +0000.978389][3f2e] _deviceSampleRate:48000

[000:193] [2023-12-29 07:17:49 +0000.978984][3f2d] Run AGC when audioType = 0


[000:193] [2023-12-29 07:17:49 +0000.979062][3f2d]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:542] [2023-12-29 07:17:50 +0000.327767][36f0]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:542] [2023-12-29 07:17:50 +0000.327994][3f28] MediaFilterCamera, recording
file context:0x7d82277100 input texture:8
[000:542] [2023-12-29 07:17:50 +0000.328062][3f28] GLESContext:
[000:542] [2023-12-29 07:17:50 +0000.328139][3f28] The result of eglGetDisplay is:
0x1
[000:544] [2023-12-29 07:17:50 +0000.329433][3f28] The result of creation:
0x7cfe3ca800
[000:544] [2023-12-29 07:17:50 +0000.329584][3f28] The result of
eglCreatePbufferSurface is: 0x7cfe3ca900
[000:544] [2023-12-29 07:17:50 +0000.329719][36f0]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d82277100 input_texture: 8
[001:183] [2023-12-29 07:17:50 +0000.968388][3585]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:183] [2023-12-29 07:17:50 +0000.968556][3585] ~MediaFilterCamera time:13919877
enter.

[001:183] [2023-12-29 07:17:50 +0000.968601][3585] StopPullFrameAndWriteMp4


time:13919877 enter.

[001:183] [2023-12-29 07:17:50 +0000.968956][3f27] stop recording


[001:185] [2023-12-29 07:17:50 +0000.970527][3f27] we have stopped recording before
[001:185] [2023-12-29 07:17:50 +0000.970753][3585] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[001:186] [2023-12-29 07:17:50 +0000.971313][3585] DestroyPipelineAndFilters


time:13919880 enter.

[001:186] [2023-12-29 07:17:50 +0000.971400][3585] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:186] [2023-12-29 07:17:50 +0000.971427][3585] AppDeviceManagerStopMic

[001:186] [2023-12-29 07:17:50 +0000.971557][3585] AppDeviceManagerStopMic::mic


status is on
[001:186] [2023-12-29 07:17:50 +0000.971814][3585] Try to stop webrtc device.

[001:186] [2023-12-29 07:17:50 +0[000:059] [2024-01-23 14:33:43 +0000.751759][10bb]


Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2024-01-23 14:33:43 +0000
[000:059] [2024-01-23 14:33:43 +0000.751910][10bb] set AppID=50011 old AppID=-1
[000:059] [2024-01-23 14:33:43 +0000.751940][10bb] Init the android object with
jvm:0xb4000076d9c21380 env:0x76bbf2c8c0 context:0x7665590328

[000:059] [2024-01-23 14:33:43 +0000.751983][10bb] SetAndroidMediaCodecObjects


time:320485418 enter.

[000:060] [2024-01-23 14:33:43 +0000.752021][10bb] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[000:060] [2024-01-23 14:33:43 +0000.752065][10bb] SetAndroidMediaCodecObjects


time:320485419 enter.

[000:060] [2024-01-23 14:33:43 +0000.752112][10bb] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000076d9c21380
[000:060] [2024-01-23 14:33:43 +0000.752162][10bb] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000076d9c21380 address:0x76223cd760
[000:060] [2024-01-23 14:33:43 +0000.752208][10bb] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000076d9c21380
address:0x76223cd760
[000:060] [2024-01-23 14:33:43 +0000.752261][10bb] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:060] [2024-01-23 14:33:43 +0000.752338][10bb] Set the android objects with


jvm:0xb4000076d9c21380 env:0x76bbf2c8c0 context:0x7665590328

[000:062] [2024-01-23 14:33:43 +0000.754097][10bb] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x76bbf2c8c0
[000:062] [2024-01-23 14:33:43 +0000.754173][10bb] SystemUtil Init done
[000:064] [2024-01-23 14:33:43 +0000.756714][10bb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:067] [2024-01-23 14:33:43 +0000.759208][10bb] MediaFilterCamera
[000:067] [2024-01-23 14:33:43 +0000.759282][10bb] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:067] [2024-01-23 14:33:43 +0000.759415][10bb] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:067] [2024-01-23 14:33:43 +0000.759472][10bb] Recording session using default
bitrate support by app:14680064
[000:067] [2024-01-23 14:33:43 +0000.759456][1e5e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76c9253f40
[000:067] [2024-01-23 14:33:43 +0000.759548][1e5e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:067] [2024-01-23 14:33:43 +0000.759628][10bb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:068] [2024-01-23 14:33:43 +0000.760361][10bb] Error(ini.cc:191): Open the file
failed. error:2
[000:068] [2024-01-23 14:33:43 +0000.760392][10bb]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:068] [2024-01-23 14:33:43 +0000.760434][10bb] The device model: 220333qag
usingSoftwareAEC value: 0
[000:070] [2024-01-23 14:33:43 +0000.762957][10bb] Error(ini.cc:191): Open the file
failed. error:2
[000:071] [2024-01-23 14:33:43 +0000.763027][10bb]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:071] [2024-01-23 14:33:43 +0000.763068][10bb] The device model: 220333qag
usingHardwareAEC value: 0
[000:071] [2024-01-23 14:33:43 +0000.763094][10bb] The machine device: 220333qag
usingHardwareAEC value: 0
[000:071] [2024-01-23 14:33:43 +0000.763120][10bb] Using Default AEC type: software
AEC
[000:072] [2024-01-23 14:33:43 +0000.764256][10bb] The device model: 220333qag enum
value: 0
[000:072] [2024-01-23 14:33:43 +0000.764847][10bb] GetMachineModel is 220333QAG
[000:072] [2024-01-23 14:33:43 +0000.764915][10bb] GetMachineInfo: 220333QAG
[000:072] [2024-01-23 14:33:43 +0000.764957][10bb] Construct BeautifyReader
begin...
[000:072] [2024-01-23 14:33:43 +0000.764985][10bb] dumpStickerRgba:0
dumpStickerYuv:0
[000:073] [2024-01-23 14:33:43 +0000.765051][10bb] Construct BeautifyReader done.
[000:079] [2024-01-23 14:33:43 +0000.771081][10bb] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:079] [2024-01-23 14:33:43 +0000.771103][1e62] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x763c11b5a0
[000:079] [2024-01-23 14:33:43 +0000.771210][10bb] AppDeviceManager telnet server
for statistics started......
[000:079] [2024-01-23 14:33:43 +0000.771637][10bb] CpuOverloadDetect time:320485438
enter.

[000:079] [2024-01-23 14:33:43 +0000.771769][10bb] CpuOverloadDetect leave. expire


time = 0 ms

[000:079] [2024-01-23 14:33:43 +0000.771784][1e63] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x76c927e680
[000:080] [2024-01-23 14:33:43 +0000.772474][10bb] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:080] [2024-01-23 14:33:43 +0000.772513][10bb] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:084] [2024-01-23 14:33:43 +0000.776110][10bb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:085] [2024-01-23 14:33:43 +0000.777247][10bb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:085] [2024-01-23 14:33:43 +0000.777813][10bb] CreatePlatformSpecificObjects:
[000:085] [2024-01-23 14:33:43 +0000.777866][10bb] audio device use opensle input
and opensl output
[000:085] [2024-01-23 14:33:43 +0000.777911][10bb] Create OpenSLES output module
with java VM support.

[000:086] [2024-01-23 14:33:43 +0000.778096][10bb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:086] [2024-01-23 14:33:43 +0000.778247][10bb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:086] [2024-01-23 14:33:43 +0000.778419][10bb] Create OpenSLES output module
with buffer num:1

[000:086] [2024-01-23 14:33:43 +0000.778579][10bb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:086] [2024-01-23 14:33:43 +0000.778711][10bb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:086] [2024-01-23 14:33:43 +0000.778868][10bb] Create OpenSLES input module
with java VM support.

[000:086] [2024-01-23 14:33:43 +0000.778909][10bb] Create OpenSLES input module


with buffer num:1

[000:086] [2024-01-23 14:33:43 +0000.778983][10bb] Error(trace.cc:40): Init the


output and input for audio device template.
[000:087] [2024-01-23 14:33:43 +0000.779020][10bb] Init the output device.
[000:087] [2024-01-23 14:33:43 +0000.779064][10bb] Init the opensl input.
[000:087] [2024-01-23 14:33:43 +0000.779095][10bb] AppDeviceManager get setting
samplerate: 0
[000:087] [2024-01-23 14:33:43 +0000.779647][10bb] The device model: 220333qag enum
value: 0
[000:088] [2024-01-23 14:33:43 +0000.780270][10bb] The device model: 220333qag enum
value: 0
[000:088] [2024-01-23 14:33:43 +0000.780312][10bb] Set the sample rate to be:48000

[000:088] [2024-01-23 14:33:43 +0000.780339][10bb] Enable the recording stereo:0


[000:088] [2024-01-23 14:33:43 +0000.780369][10bb] Set the playout as stereo:1
[000:088] [2024-01-23 14:33:43 +0000.780393][10bb] Init the microphone.
[000:088] [2024-01-23 14:33:43 +0000.780884][10bb] Update the recording sample rate
to be: 48000
[000:088] [2024-01-23 14:33:43 +0000.780928][10bb] Init the speaker.
[000:088] [2024-01-23 14:33:43 +0000.780972][10bb] Low latency buffer size:144 low
sample rate:48000
[000:089] [2024-01-23 14:33:43 +0000.781329][10bb] Using 1 x 10ms for an audio
frame.

[000:093] [2024-01-23 14:33:43 +0000.785412][10bb] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:093] [2024-01-23 14:33:43 +0000.785610][10bb] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:093] [2024-01-23 14:33:43 +0000.785669][10bb] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:099] [2024-01-23 14:33:43 +0000.791182][10bb] The device model:220333qag

[000:099] [2024-01-23 14:33:43 +0000.791293][10bb] speaker output factor:100


defaultFactor: 100

[000:099] [2024-01-23 14:33:43 +0000.791322][10bb] headset output factor:100


defaultFactor: 100

[000:099] [2024-01-23 14:33:43 +0000.791804][10bb] AppDeviceManagerStart finished.


[000:099] [2024-01-23 14:33:43 +0000.791852][10bb] AppDeviceManagerStartMic::mic
status is off
[000:099] [2024-01-23 14:33:43 +0000.791896][10bb] AppDeviceManagerStartMic update
aec type: 2

[000:099] [2024-01-23 14:33:43 +0000.791921][10bb] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:099] [2024-01-23 14:33:43 +0000.791960][10bb]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:100] [2024-01-23 14:33:43 +0000.792003][10bb]
AudioDeviceDataHandler::StartMicProcess

[000:100] [2024-01-23 14:33:43 +0000.792129][10bb] Try to start webrtc recording


device.

[000:100] [2024-01-23 14:33:43 +0000.792167][10bb] StartRecording. threadID:4283

[000:100] [2024-01-23 14:33:43 +0000.792154][1e64] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:100] [2024-01-23 14:33:43 +0000.792248][1e64] haveEnoughProcessedData
internalAudioStream.length: 0
[000:100] [2024-01-23 14:33:43 +0000.792558][10bb] The machine model:220333QAG
[000:100] [2024-01-23 14:33:43 +0000.792616][10bb] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:100] [2024-01-23 14:33:43 +0000.792650][10bb] Set the recording mode before


getSetting: 4
[000:100] [2024-01-23 14:33:43 +0000.792677][10bb] Set the recording mode after
getSetting: 1
[000:164] [2024-01-23 14:33:43 +0000.856027][10bb] StartRecording finished.

[000:164] [2024-01-23 14:33:43 +0000.856151][10bb] audio: start the audio mic


checker timer.

[000:164] [2024-01-23 14:33:43 +0000.856825][10bb] machine model :redmi


[000:164] [2024-01-23 14:33:43 +0000.856888][10bb] Support this machine
model :redmi
[000:172] [2024-01-23 14:33:43 +0000.864933][10bb] global inited! current sdk
version: 12-14-d8558ab
[000:266] [2024-01-23 14:33:43 +0000.958658][1e65] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:266] [2024-01-23 14:33:43 +0000.958778][1e65] _deviceSampleRate:48000

[000:270] [2024-01-23 14:33:43 +0000.962729][1e64] Run AGC when audioType = 0


[000:270] [2024-01-23 14:33:43 +0000.962848][1e64]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:867] [2024-01-23 14:33:44 +0000.559571][1cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:867] [2024-01-23 14:33:44 +0000.559870][1e5f] MediaFilterCamera, recording
file context:0x76c9214f00 input texture:4
[000:867] [2024-01-23 14:33:44 +0000.559937][1e5f] GLESContext:
[000:868] [2024-01-23 14:33:44 +0000.560008][1e5f] The result of eglGetDisplay is:
0x1
[000:869] [2024-01-23 14:33:44 +0000.561614][1e5f] The result of creation:
0x7616961080
[000:869] [2024-01-23 14:33:44 +0000.561805][1e5f] The result of
eglCreatePbufferSurface is: 0x7616961180
[000:870] [2024-01-23 14:33:44 +0000.562750][1cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x76c9214f00 input_texture: 4
[001:466] [2024-01-23 14:33:45 +0000.158432][10bb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:466] [2024-01-23 14:33:45 +0000.158576][10bb] ~MediaFilterCamera
time:320486825 enter.

[001:466] [2024-01-23 14:33:45 +0000.158608][10bb] StopPullFrameAndWriteMp4


time:320486825 enter.

[001:466] [2024-01-23 14:33:45 +0000.158935][1e5e] stop recording


[001:466] [2024-01-23 14:33:45 +0000.158972][1e5e] we have stopped recording before
[001:467] [2024-01-23 14:33:45 +0000.159031][10bb] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:467] [2024-01-23 14:33:45 +0000.159280][10bb] DestroyPipelineAndFilters


time:320486826 enter.

[001:467] [2024-01-23 14:33:45 +0000.159336][10bb] DestroyPipelineAndFilters


leave. expire time = 0 ms
[001:467] [2024-01-23 14:33:45 +0000.159362][10bb] AppDeviceManagerStopMic

[001:467] [2024-01-23 14:33:45 +0000.159394][10bb] AppDeviceManagerStopMic::mic


status is on
[001:467] [2024-01-23 14:33:45 +0000.159417][10bb] Try to stop webrtc device.

[001:467] [2024-01-23 14:33:[000:074] [2024-01-27 14:09:25 +0000.601315][7057] Log


to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-
01-27 14:09:25 +0000
[000:074] [2024-01-27 14:09:25 +0000.601450][7057] set AppID=50011 old AppID=-1
[000:074] [2024-01-27 14:09:25 +0000.601488][7057] Init the android object with
jvm:0xb400007105e21380 env:0x70e82a58c0 context:0x70f54c2328

[000:074] [2024-01-27 14:09:25 +0000.601543][7057] SetAndroidMediaCodecObjects


time:34967790 enter.

[000:074] [2024-01-27 14:09:25 +0000.601583][7057] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:074] [2024-01-27 14:09:25 +0000.601620][7057] SetAndroidMediaCodecObjects


time:34967790 enter.

[000:074] [2024-01-27 14:09:25 +0000.601653][7057] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007105e21380
[000:074] [2024-01-27 14:09:25 +0000.601688][7057] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007105e21380 address:0x7030fbf760
[000:074] [2024-01-27 14:09:25 +0000.601724][7057] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007105e21380
address:0x7030fbf760
[000:074] [2024-01-27 14:09:25 +0000.601762][7057] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:074] [2024-01-27 14:09:25 +0000.601810][7057] Set the android objects with


jvm:0xb400007105e21380 env:0x70e82a58c0 context:0x70f54c2328

[000:076] [2024-01-27 14:09:25 +0000.603400][7057] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x70e82a58c0
[000:076] [2024-01-27 14:09:25 +0000.603446][7057] SystemUtil Init done
[000:077] [2024-01-27 14:09:25 +0000.605000][7057]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:080] [2024-01-27 14:09:25 +0000.607394][7057] MediaFilterCamera
[000:080] [2024-01-27 14:09:25 +0000.607468][7057] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:080] [2024-01-27 14:09:25 +0000.607615][7057] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:080] [2024-01-27 14:09:25 +0000.607648][7676] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70f4e1a4c0
[000:080] [2024-01-27 14:09:25 +0000.607668][7057] Recording session using default
bitrate support by app:14680064
[000:080] [2024-01-27 14:09:25 +0000.607905][7676] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:080] [2024-01-27 14:09:25 +0000.607991][7057] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:081] [2024-01-27 14:09:25 +0000.608572][7057] Error(ini.cc:191): Open the file
failed. error:2
[000:081] [2024-01-27 14:09:25 +0000.608613][7057]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:081] [2024-01-27 14:09:25 +0000.608654][7057] The device model: 220333qag
usingSoftwareAEC value: 0
[000:083] [2024-01-27 14:09:25 +0000.610736][7057] Error(ini.cc:191): Open the file
failed. error:2
[000:083] [2024-01-27 14:09:25 +0000.610782][7057]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:083] [2024-01-27 14:09:25 +0000.610821][7057] The device model: 220333qag
usingHardwareAEC value: 0
[000:083] [2024-01-27 14:09:25 +0000.610857][7057] The machine device: 220333qag
usingHardwareAEC value: 0
[000:083] [2024-01-27 14:09:25 +0000.610892][7057] Using Default AEC type: software
AEC
[000:084] [2024-01-27 14:09:25 +0000.612038][7057] The device model: 220333qag enum
value: 0
[000:085] [2024-01-27 14:09:25 +0000.612611][7057] GetMachineModel is 220333QAG
[000:085] [2024-01-27 14:09:25 +0000.612662][7057] GetMachineInfo: 220333QAG
[000:085] [2024-01-27 14:09:25 +0000.612716][7057] Construct BeautifyReader
begin...
[000:085] [2024-01-27 14:09:25 +0000.612749][7057] dumpStickerRgba:0
dumpStickerYuv:0
[000:085] [2024-01-27 14:09:25 +0000.612787][7057] Construct BeautifyReader done.
[000:089] [2024-01-27 14:09:25 +0000.616414][7057] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:089] [2024-01-27 14:09:25 +0000.616444][7679] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70f4e9b0a0
[000:089] [2024-01-27 14:09:25 +0000.616489][7057] AppDeviceManager telnet server
for statistics started......
[000:089] [2024-01-27 14:09:25 +0000.616903][7057] CpuOverloadDetect time:34967805
enter.

[000:089] [2024-01-27 14:09:25 +0000.616998][7057] CpuOverloadDetect leave. expire


time = 0 ms

[000:089] [2024-01-27 14:09:25 +0000.617018][767a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70f4ec1f80
[000:090] [2024-01-27 14:09:25 +0000.617639][7057] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:090] [2024-01-27 14:09:25 +0000.617677][7057] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:092] [2024-01-27 14:09:25 +0000.619435][7057] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:095] [2024-01-27 14:09:25 +0000.622503][7057] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:095] [2024-01-27 14:09:25 +0000.623128][7057] CreatePlatformSpecificObjects:
[000:095] [2024-01-27 14:09:25 +0000.623177][7057] audio device use opensle input
and opensl output
[000:095] [2024-01-27 14:09:25 +0000.623219][7057] Create OpenSLES output module
with java VM support.

[000:096] [2024-01-27 14:09:25 +0000.623429][7057] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:096] [2024-01-27 14:09:25 +0000.623573][7057] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:096] [2024-01-27 14:09:25 +0000.623721][7057] Create OpenSLES output module
with buffer num:1

[000:096] [2024-01-27 14:09:25 +0000.623863][7057] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:096] [2024-01-27 14:09:25 +0000.623998][7057] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:096] [2024-01-27 14:09:25 +0000.624133][7057] Create OpenSLES input module
with java VM support.

[000:096] [2024-01-27 14:09:25 +0000.624172][7057] Create OpenSLES input module


with buffer num:1

[000:097] [2024-01-27 14:09:25 +0000.624240][7057] Error(trace.cc:40): Init the


output and input for audio device template.
[000:097] [2024-01-27 14:09:25 +0000.624275][7057] Init the output device.

[000:097] [2024-01-27 14:09:25 +0000.624315][7057] Init the opensl input.


[000:097] [2024-01-27 14:09:25 +0000.624363][7057] AppDeviceManager get setting
samplerate: 0
[000:097] [2024-01-27 14:09:25 +0000.624775][7057] The device model: 220333qag enum
value: 0
[000:098] [2024-01-27 14:09:25 +0000.625377][7057] The device model: 220333qag enum
value: 0
[000:098] [2024-01-27 14:09:25 +0000.625425][7057] Set the sample rate to be:48000

[000:098] [2024-01-27 14:09:25 +0000.625460][7057] Enable the recording stereo:0


[000:098] [2024-01-27 14:09:25 +0000.625500][7057] Set the playout as stereo:1
[000:098] [2024-01-27 14:09:25 +0000.625538][7057] Init the microphone.
[000:098] [2024-01-27 14:09:25 +0000.626010][7057] Update the recording sample rate
to be: 48000
[000:098] [2024-01-27 14:09:25 +0000.626053][7057] Init the speaker.
[000:098] [2024-01-27 14:09:25 +0000.626097][7057] Low latency buffer size:144 low
sample rate:48000
[000:099] [2024-01-27 14:09:25 +0000.626367][7057] Using 1 x 10ms for an audio
frame.

[000:102] [2024-01-27 14:09:25 +0000.629613][7057] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:102] [2024-01-27 14:09:25 +0000.629746][7057] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:102] [2024-01-27 14:09:25 +0000.629808][7057] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:107] [2024-01-27 14:09:25 +0000.634287][7057] The device model:220333qag

[000:107] [2024-01-27 14:09:25 +0000.634383][7057] speaker output factor:100


defaultFactor: 100

[000:107] [2024-01-27 14:09:25 +0000.634419][7057] headset output factor:100


defaultFactor: 100

[000:107] [2024-01-27 14:09:25 +0000.634858][7057] AppDeviceManagerStart finished.


[000:107] [2024-01-27 14:09:25 +0000.634898][7057] AppDeviceManagerStartMic::mic
status is off
[000:107] [2024-01-27 14:09:25 +0000.634953][7057] AppDeviceManagerStartMic update
aec type: 2

[000:107] [2024-01-27 14:09:25 +0000.634988][7057] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:107] [2024-01-27 14:09:25 +0000.635028][7057]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:107] [2024-01-27 14:09:25 +0000.635061][7057]
AudioDeviceDataHandler::StartMicProcess
[000:107] [2024-01-27 14:09:25 +0000.635186][7057] Try to start webrtc recording
device.

[000:108] [2024-01-27 14:09:25 +0000.635249][7057] StartRecording. threadID:28759

[000:107] [2024-01-27 14:09:25 +0000.635214][767b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:108] [2024-01-27 14:09:25 +0000.635316][767b] haveEnoughProcessedData
internalAudioStream.length: 0
[000:108] [2024-01-27 14:09:25 +0000.635612][7057] The machine model:220333QAG

[000:108] [2024-01-27 14:09:25 +0000.635684][7057] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:108] [2024-01-27 14:09:25 +0000.635719][7057] Set the recording mode before


getSetting: 4
[000:108] [2024-01-27 14:09:25 +0000.635759][7057] Set the recording mode after
getSetting: 1
[000:156] [2024-01-27 14:09:25 +0000.683676][7057] StartRecording finished.

[000:156] [2024-01-27 14:09:25 +0000.683776][7057] audio: start the audio mic


checker timer.

[000:157] [2024-01-27 14:09:25 +0000.684341][7057] machine model :redmi


[000:157] [2024-01-27 14:09:25 +0000.684419][7057] Support this machine
model :redmi
[000:164] [2024-01-27 14:09:25 +0000.692096][7057] global inited! current sdk
version: 12-14-d8558ab
[000:248] [2024-01-27 14:09:25 +0000.775359][767c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:248] [2024-01-27 14:09:25 +0000.775452][767c] _deviceSampleRate:48000

[000:250] [2024-01-27 14:09:25 +0000.777803][767b] Run AGC when audioType = 0


[000:250] [2024-01-27 14:09:25 +0000.777875][767b]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:689] [2024-01-27 14:09:26 +0000.216530][73f7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:689] [2024-01-27 14:09:26 +0000.216737][7677] MediaFilterCamera, recording
file context:0x70e8486900 input texture:4
[000:689] [2024-01-27 14:09:26 +0000.216790][7677] GLESContext:
[000:689] [2024-01-27 14:09:26 +0000.216850][7677] The result of eglGetDisplay is:
0x1
[000:696] [2024-01-27 14:09:26 +0000.223938][7677] The result of creation:
0x7058a2e500
[000:697] [2024-01-27 14:09:26 +0000.224307][7677] The result of
eglCreatePbufferSurface is: 0x7058a2e600
[000:697] [2024-01-27 14:09:26 +0000.224685][73f7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70e8486900 input_texture: 4
[001:244] [2024-01-27 14:09:26 +0000.771885][7057]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:244] [2024-01-27 14:09:26 +0000.772031][7057] ~MediaFilterCamera time:34968960
enter.

[001:244] [2024-01-27 14:09:26 +0000.772063][7057] StopPullFrameAndWriteMp4


time:34968960 enter.
[001:245] [2024-01-27 14:09:26 +0000.772822][7676] stop recording
[001:245] [2024-01-27 14:09:26 +0000.772887][7676] we have stopped recording before
[001:245] [2024-01-27 14:09:26 +0000.772996][7057] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:246] [2024-01-27 14:09:26 +0000.773531][7057] DestroyPipelineAndFilters


time:34968962 enter.

[001:246] [2024-01-27 14:09:26 +0000.773577][7057] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:246] [2024-01-27 14:09:26 +0000.773603][7057] AppDeviceManagerStopMic

[001:246] [2024-01-27 14:09:26 +0000.773680][7057] AppDeviceManagerStopMic::mic


status is on
[001:246] [2024-01-27 14:09:26 +0000.773707][7057] Try to stop webrtc device.

[001:246] [2024-01-27 14:09:26 +0[000:044] [2024-01-27 14:14:57 +0000.364704][a64]


Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2024-01-27 14:14:57 +0000
[000:044] [2024-01-27 14:14:57 +0000.364753][a64] set AppID=50011 old AppID=-1
[000:044] [2024-01-27 14:14:57 +0000.364778][a64] Init the android object with
jvm:0xb400007105e21380 env:0x70e82a7a00 context:0x70f53ac328

[000:044] [2024-01-27 14:14:57 +0000.364820][a64] SetAndroidMediaCodecObjects


time:35299553 enter.

[000:044] [2024-01-27 14:14:57 +0000.364849][a64] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:044] [2024-01-27 14:14:57 +0000.364876][a64] SetAndroidMediaCodecObjects


time:35299553 enter.

[000:044] [2024-01-27 14:14:57 +0000.364900][a64] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007105e21380
[000:044] [2024-01-27 14:14:57 +0000.364924][a64] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007105e21380 address:0x702dbe4760
[000:044] [2024-01-27 14:14:57 +0000.364951][a64] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007105e21380
address:0x702dbe4760
[000:044] [2024-01-27 14:14:57 +0000.364988][a64] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:044] [2024-01-27 14:14:57 +0000.365024][a64] Set the android objects with


jvm:0xb400007105e21380 env:0x70e82a7a00 context:0x70f53ac328

[000:046] [2024-01-27 14:14:57 +0000.366984][a64] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x70e82a7a00
[000:046] [2024-01-27 14:14:57 +0000.367038][a64] SystemUtil Init done
[000:048] [2024-01-27 14:14:57 +0000.369046][a64]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:050] [2024-01-27 14:14:57 +0000.370962][a64] MediaFilterCamera
[000:050] [2024-01-27 14:14:57 +0000.371032][a64] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:050] [2024-01-27 14:14:57 +0000.371174][a64] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:050] [2024-01-27 14:14:57 +0000.371222][a64] Recording session using default
bitrate support by app:14680064
[000:050] [2024-01-27 14:14:57 +0000.371208][dd1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70f5a90dc0
[000:051] [2024-01-27 14:14:57 +0000.371437][dd1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:051] [2024-01-27 14:14:57 +0000.371522][a64] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:051] [2024-01-27 14:14:57 +0000.372129][a64] Error(ini.cc:191): Open the file
failed. error:2
[000:051] [2024-01-27 14:14:57 +0000.372169][a64]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:051] [2024-01-27 14:14:57 +0000.372210][a64] The device model: 220333qag
usingSoftwareAEC value: 0
[000:054] [2024-01-27 14:14:57 +0000.374283][a64] Error(ini.cc:191): Open the file
failed. error:2
[000:054] [2024-01-27 14:14:57 +0000.374330][a64]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:054] [2024-01-27 14:14:57 +0000.374371][a64] The device model: 220333qag
usingHardwareAEC value: 0
[000:054] [2024-01-27 14:14:57 +0000.374401][a64] The machine device: 220333qag
usingHardwareAEC value: 0
[000:054] [2024-01-27 14:14:57 +0000.374434][a64] Using Default AEC type: software
AEC
[000:055] [2024-01-27 14:14:57 +0000.375558][a64] The device model: 220333qag enum
value: 0
[000:055] [2024-01-27 14:14:57 +0000.376123][a64] GetMachineModel is 220333QAG
[000:055] [2024-01-27 14:14:57 +0000.376181][a64] GetMachineInfo: 220333QAG
[000:056] [2024-01-27 14:14:57 +0000.376226][a64] Construct BeautifyReader begin...
[000:056] [2024-01-27 14:14:57 +0000.376258][a64] dumpStickerRgba:0
dumpStickerYuv:0
[000:056] [2024-01-27 14:14:57 +0000.376294][a64] Construct BeautifyReader done.
[000:059] [2024-01-27 14:14:57 +0000.379847][a64] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:059] [2024-01-27 14:14:57 +0000.379906][dd4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70f5a18fa0
[000:059] [2024-01-27 14:14:57 +0000.379926][a64] AppDeviceManager telnet server
for statistics started......
[000:060] [2024-01-27 14:14:57 +0000.380345][a64] CpuOverloadDetect time:35299569
enter.

[000:060] [2024-01-27 14:14:57 +0000.380444][a64] CpuOverloadDetect leave. expire


time = 0 ms

[000:060] [2024-01-27 14:14:57 +0000.380468][dd5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7059ffe5c0
[000:060] [2024-01-27 14:14:57 +0000.381102][a64] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:060] [2024-01-27 14:14:57 +0000.381138][a64] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:062] [2024-01-27 14:14:57 +0000.382863][a64] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:062] [2024-01-27 14:14:57 +0000.383187][a64] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:063] [2024-01-27 14:14:57 +0000.383696][a64] CreatePlatformSpecificObjects:
[000:063] [2024-01-27 14:14:57 +0000.383744][a64] audio device use opensle input
and opensl output
[000:063] [2024-01-27 14:14:57 +0000.383796][a64] Create OpenSLES output module
with java VM support.

[000:063] [2024-01-27 14:14:57 +0000.383964][a64] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:063] [2024-01-27 14:14:57 +0000.384107][a64] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2024-01-27 14:14:57 +0000.384280][a64] Create OpenSLES output module
with buffer num:1

[000:064] [2024-01-27 14:14:57 +0000.384422][a64] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:064] [2024-01-27 14:14:57 +0000.384548][a64] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2024-01-27 14:14:57 +0000.384691][a64] Create OpenSLES input module with
java VM support.

[000:064] [2024-01-27 14:14:57 +0000.384730][a64] Create OpenSLES input module with


buffer num:1

[000:064] [2024-01-27 14:14:57 +0000.384793][a64] Error(trace.cc:40): Init the


output and input for audio device template.
[000:064] [2024-01-27 14:14:57 +0000.384829][a64] Init the output device.

[000:064] [2024-01-27 14:14:57 +0000.384864][a64] Init the opensl input.


[000:064] [2024-01-27 14:14:57 +0000.384906][a64] AppDeviceManager get setting
samplerate: 0
[000:065] [2024-01-27 14:14:57 +0000.385317][a64] The device model: 220333qag enum
value: 0
[000:065] [2024-01-27 14:14:57 +0000.385918][a64] The device model: 220333qag enum
value: 0
[000:065] [2024-01-27 14:14:57 +0000.385955][a64] Set the sample rate to be:48000

[000:065] [2024-01-27 14:14:57 +0000.385991][a64] Enable the recording stereo:0


[000:065] [2024-01-27 14:14:57 +0000.386025][a64] Set the playout as stereo:1
[000:065] [2024-01-27 14:14:57 +0000.386059][a64] Init the microphone.
[000:067] [2024-01-27 14:14:57 +0000.387561][a64] Update the recording sample rate
to be: 48000
[000:067] [2024-01-27 14:14:57 +0000.387604][a64] Init the speaker.
[000:067] [2024-01-27 14:14:57 +0000.387662][a64] Low latency buffer size:144 low
sample rate:48000
[000:067] [2024-01-27 14:14:57 +0000.387948][a64] Using 1 x 10ms for an audio
frame.

[000:070] [2024-01-27 14:14:57 +0000.391044][a64] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:070] [2024-01-27 14:14:57 +0000.391213][a64] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:071] [2024-01-27 14:14:57 +0000.391316][a64] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:075] [2024-01-27 14:14:57 +0000.395779][a64] The device model:220333qag

[000:075] [2024-01-27 14:14:57 +0000.395867][a64] speaker output factor:100


defaultFactor: 100

[000:075] [2024-01-27 14:14:57 +0000.395903][a64] headset output factor:100


defaultFactor: 100

[000:076] [2024-01-27 14:14:57 +0000.396322][a64] AppDeviceManagerStart finished.


[000:076] [2024-01-27 14:14:57 +0000.396399][a64] AppDeviceManagerStartMic::mic
status is off
[000:076] [2024-01-27 14:14:57 +0000.396455][a64] AppDeviceManagerStartMic update
aec type: 2
[000:076] [2024-01-27 14:14:57 +0000.396488][a64] AppDeviceManagerStartMic update
voiceChangeMode: 4

[000:076] [2024-01-27 14:14:57 +0000.396526][a64]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:076] [2024-01-27 14:14:57 +0000.396560][a64]
AudioDeviceDataHandler::StartMicProcess

[000:076] [2024-01-27 14:14:57 +0000.396706][a64] Try to start webrtc recording


device.

[000:076] [2024-01-27 14:14:57 +0000.396744][a64] StartRecording. threadID:2660

[000:076] [2024-01-27 14:14:57 +0000.396730][dd8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:076] [2024-01-27 14:14:57 +0000.396824][dd8] haveEnoughProcessedData
internalAudioStream.length: 0
[000:076] [2024-01-27 14:14:57 +0000.397111][a64] The machine model:220333QAG

[000:076] [2024-01-27 14:14:57 +0000.397170][a64] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:076] [2024-01-27 14:14:57 +0000.397204][a64] Set the recording mode before


getSetting: 4
[000:077] [2024-01-27 14:14:57 +0000.397244][a64] Set the recording mode after
getSetting: 1
[000:116] [2024-01-27 14:14:57 +0000.437064][a64] StartRecording finished.

[000:116] [2024-01-27 14:14:57 +0000.437145][a64] audio: start the audio mic


checker timer.

[000:117] [2024-01-27 14:14:57 +0000.437688][a64] machine model :redmi


[000:117] [2024-01-27 14:14:57 +0000.437742][a64] Support this machine model :redmi
[000:123] [2024-01-27 14:14:57 +0000.443297][a64] global inited! current sdk
version: 12-14-d8558ab
[000:190] [2024-01-27 14:14:57 +0000.510488][dda] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:190] [2024-01-27 14:14:57 +0000.510605][dda] _deviceSampleRate:48000

[000:194] [2024-01-27 14:14:57 +0000.514761][dd8] Run AGC when audioType = 0


[000:194] [2024-01-27 14:14:57 +0000.514841][dd8]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:616] [2024-01-27 14:14:57 +0000.936989][abc]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:617] [2024-01-27 14:14:57 +0000.937500][dd2] MediaFilterCamera, recording file
context:0x70f4ec0980 input texture:4
[000:617] [2024-01-27 14:14:57 +0000.937610][dd2] GLESContext:
[000:617] [2024-01-27 14:14:57 +0000.937716][dd2] The result of eglGetDisplay is:
0x1
[000:619] [2024-01-27 14:14:57 +0000.939866][dd2] The result of creation:
0x704c4ab880
[000:619] [2024-01-27 14:14:57 +0000.940144][dd2] The result of
eglCreatePbufferSurface is: 0x704c4abc80
[000:620] [2024-01-27 14:14:57 +0000.940345][abc]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70f4ec0980 input_texture: 4
[001:012] [2024-01-27 14:14:58 +0000.332410][a64]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:012] [2024-01-27 14:14:58 +0000.332582][a64] ~MediaFilterCamera time:35300521
enter.

[001:012] [2024-01-27 14:14:58 +0000.332616][a64] StopPullFrameAndWriteMp4


time:35300521 enter.

[001:012] [2024-01-27 14:14:58 +0000.332977][dd1] stop recording


[001:012] [2024-01-27 14:14:58 +0000.333035][dd1] we have stopped recording before
[001:012] [2024-01-27 14:14:58 +0000.333116][a64] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[001:013] [2024-01-27 14:14:58 +0000.333540][a64] DestroyPipelineAndFilters


time:35300522 enter.

[001:013] [2024-01-27 14:14:58 +0000.333598][a64] DestroyPipelineAndFilters leave.


expire time = 0 ms

[001:013] [2024-01-27 14:14:58 +0000.333632][a64] AppDeviceManagerStopMic

[001:013] [2024-01-27 14:14:58 +0000.333698][a64] AppDeviceManagerStopMic::mic


status is on
[001:013] [2024-01-27 14:14:58 +0000.333743][a64] Try to stop webrtc device.

[001:013] [2024-01-27 14:14:58 +0000.333772][a64] Set record state to


stopped.threadID:2660

[001:055] [2024-01-27 14:14:58 +0000.375664][a64] Try to [000:074] [2024-01-29


10:00:33 +0000.89062][2bab] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-01-
29 10:00:33 +0000
[000:074] [2024-01-29 10:00:33 +0000.89156][2bab] set AppID=50011 old AppID=-1
[000:074] [2024-01-29 10:00:33 +0000.89183][2bab] Init the android object with
jvm:0xb400007105e21380 env:0x70e82c28c0 context:0x70f54d6328

[000:074] [2024-01-29 10:00:33 +0000.89247][2bab] SetAndroidMediaCodecObjects


time:152814370 enter.

[000:074] [2024-01-29 10:00:33 +0000.89287][2bab] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:074] [2024-01-29 10:00:33 +0000.89324][2bab] SetAndroidMediaCodecObjects


time:152814370 enter.

[000:074] [2024-01-29 10:00:33 +0000.89358][2bab] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007105e21380
[000:075] [2024-01-29 10:00:33 +0000.89383][2bab] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007105e21380 address:0x7048be9760
[000:075] [2024-01-29 10:00:33 +0000.89428][2bab] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007105e21380
address:0x7048be9760
[000:075] [2024-01-29 10:00:33 +0000.89463][2bab] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:075] [2024-01-29 10:00:33 +0000.89510][2bab] Set the android objects with


jvm:0xb400007105e21380 env:0x70e82c28c0 context:0x70f54d6328

[000:076] [2024-01-29 10:00:33 +0000.90967][2bab] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x70e82c28c0
[000:076] [2024-01-29 10:00:33 +0000.91009][2bab] SystemUtil Init done
[000:078] [2024-01-29 10:00:33 +0000.92506][2bab]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:080] [2024-01-29 10:00:33 +0000.94812][2bab] MediaFilterCamera
[000:080] [2024-01-29 10:00:33 +0000.94868][2bab] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:080] [2024-01-29 10:00:33 +0000.95001][2bab] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:080] [2024-01-29 10:00:33 +0000.95050][2bab] Recording session using default
bitrate support by app:14680064
[000:080] [2024-01-29 10:00:33 +0000.95036][3124] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70494c5140
[000:080] [2024-01-29 10:00:33 +0000.95250][3124] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:080] [2024-01-29 10:00:33 +0000.95332][2bab] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:081] [2024-01-29 10:00:33 +0000.95915][2bab] Error(ini.cc:191): Open the file
failed. error:2
[000:081] [2024-01-29 10:00:33 +0000.95955][2bab]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:081] [2024-01-29 10:00:33 +0000.96005][2bab] The device model: 220333qag
usingSoftwareAEC value: 0
[000:083] [2024-01-29 10:00:33 +0000.98176][2bab] Error(ini.cc:191): Open the file
failed. error:2
[000:083] [2024-01-29 10:00:33 +0000.98232][2bab]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:083] [2024-01-29 10:00:33 +0000.98266][2bab] The device model: 220333qag
usingHardwareAEC value: 0
[000:083] [2024-01-29 10:00:33 +0000.98299][2bab] The machine device: 220333qag
usingHardwareAEC value: 0
[000:083] [2024-01-29 10:00:33 +0000.98323][2bab] Using Default AEC type: software
AEC
[000:085] [2024-01-29 10:00:33 +0000.99424][2bab] The device model: 220333qag enum
value: 0
[000:085] [2024-01-29 10:00:33 +0000.99963][2bab] GetMachineModel is 220333QAG
[000:085] [2024-01-29 10:00:33 +0000.100021][2bab] GetMachineInfo: 220333QAG
[000:085] [2024-01-29 10:00:33 +0000.100060][2bab] Construct BeautifyReader
begin...
[000:085] [2024-01-29 10:00:33 +0000.100098][2bab] dumpStickerRgba:0
dumpStickerYuv:0
[000:085] [2024-01-29 10:00:33 +0000.100133][2bab] Construct BeautifyReader done.
[000:090] [2024-01-29 10:00:33 +0000.104578][2bab] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:090] [2024-01-29 10:00:33 +0000.104606][3127] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70f4ff03a0
[000:090] [2024-01-29 10:00:33 +0000.104691][2bab] AppDeviceManager telnet server
for statistics started......
[000:090] [2024-01-29 10:00:33 +0000.105099][2bab] CpuOverloadDetect time:152814386
enter.

[000:090] [2024-01-29 10:00:33 +0000.105189][2bab] CpuOverloadDetect leave. expire


time = 0 ms

[000:090] [2024-01-29 10:00:33 +0000.105210][3128] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70f4ece240
[000:091] [2024-01-29 10:00:33 +0000.105845][2bab] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:091] [2024-01-29 10:00:33 +0000.105883][2bab] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:097] [2024-01-29 10:00:33 +0000.112234][2bab] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:100] [2024-01-29 10:00:33 +0000.114907][2bab] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:101] [2024-01-29 10:00:33 +0000.115599][2bab] CreatePlatformSpecificObjects:
[000:101] [2024-01-29 10:00:33 +0000.115652][2bab] audio device use opensle input
and opensl output
[000:101] [2024-01-29 10:00:33 +0000.115705][2bab] Create OpenSLES output module
with java VM support.

[000:101] [2024-01-29 10:00:33 +0000.115883][2bab] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:101] [2024-01-29 10:00:33 +0000.116022][2bab] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:101] [2024-01-29 10:00:33 +0000.116186][2bab] Create OpenSLES output module
with buffer num:1

[000:101] [2024-01-29 10:00:33 +0000.116331][2bab] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:102] [2024-01-29 10:00:33 +0000.116457][2bab] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:102] [2024-01-29 10:00:33 +0000.116602][2bab] Create OpenSLES input module
with java VM support.

[000:102] [2024-01-29 10:00:33 +0000.116641][2bab] Create OpenSLES input module


with buffer num:1

[000:102] [2024-01-29 10:00:33 +0000.116719][2bab] Error(trace.cc:40): Init the


output and input for audio device template.
[000:102] [2024-01-29 10:00:33 +0000.116755][2bab] Init the output device.

[000:102] [2024-01-29 10:00:33 +0000.116794][2bab] Init the opensl input.


[000:102] [2024-01-29 10:00:33 +0000.116837][2bab] AppDeviceManager get setting
samplerate: 0
[000:102] [2024-01-29 10:00:33 +0000.117266][2bab] The device model: 220333qag enum
value: 0
[000:103] [2024-01-29 10:00:33 +0000.117881][2bab] The device model: 220333qag enum
value: 0
[000:103] [2024-01-29 10:00:33 +0000.117932][2bab] Set the sample rate to be:48000

[000:103] [2024-01-29 10:00:33 +0000.117960][2bab] Enable the recording stereo:0


[000:103] [2024-01-29 10:00:33 +0000.117986][2bab] Set the playout as stereo:1
[000:103] [2024-01-29 10:00:33 +0000.118019][2bab] Init the microphone.
[000:104] [2024-01-29 10:00:33 +0000.119109][2bab] Update the recording sample rate
to be: 48000
[000:104] [2024-01-29 10:00:33 +0000.119200][2bab] Init the speaker.
[000:104] [2024-01-29 10:00:33 +0000.119244][2bab] Low latency buffer size:144 low
sample rate:48000
[000:105] [2024-01-29 10:00:33 +0000.119488][2bab] Using 1 x 10ms for an audio
frame.

[000:108] [2024-01-29 10:00:33 +0000.122815][2bab] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:108] [2024-01-29 10:00:33 +0000.122959][2bab] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:108] [2024-01-29 10:00:33 +0000.123013][2bab] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:113] [2024-01-29 10:00:33 +0000.127483][2bab] The device model:220333qag

[000:113] [2024-01-29 10:00:33 +0000.127577][2bab] speaker output factor:100


defaultFactor: 100

[000:113] [2024-01-29 10:00:33 +0000.127615][2bab] headset output factor:100


defaultFactor: 100

[000:113] [2024-01-29 10:00:33 +0000.128023][2bab] AppDeviceManagerStart finished.


[000:113] [2024-01-29 10:00:33 +0000.128088][2bab] AppDeviceManagerStartMic::mic
status is off
[000:113] [2024-01-29 10:00:33 +0000.128143][2bab] AppDeviceManagerStartMic update
aec type: 2

[000:113] [2024-01-29 10:00:33 +0000.128178][2bab] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:113] [2024-01-29 10:00:33 +0000.128216][2bab]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:113] [2024-01-29 10:00:33 +0000.128249][2bab]
AudioDeviceDataHandler::StartMicProcess

[000:114] [2024-01-29 10:00:33 +0000.128376][2bab] Try to start webrtc recording


device.

[000:114] [2024-01-29 10:00:33 +0000.128413][2bab] StartRecording. threadID:11179

[000:114] [2024-01-29 10:00:33 +0000.128403][3129] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:114] [2024-01-29 10:00:33 +0000.128501][3129] haveEnoughProcessedData
internalAudioStream.length: 0
[000:114] [2024-01-29 10:00:33 +0000.128770][2bab] The machine model:220333QAG

[000:114] [2024-01-29 10:00:33 +0000.128828][2bab] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:114] [2024-01-29 10:00:33 +0000.128863][2bab] Set the recording mode before


getSetting: 4
[000:114] [2024-01-29 10:00:33 +0000.128902][2bab] Set the recording mode after
getSetting: 1
[000:166] [2024-01-29 10:00:33 +0000.181262][2bab] StartRecording finished.

[000:166] [2024-01-29 10:00:33 +0000.181333][2bab] audio: start the audio mic


checker timer.

[000:167] [2024-01-29 10:00:33 +0000.181953][2bab] machine model :redmi


[000:167] [2024-01-29 10:00:33 +0000.181994][2bab] Support this machine
model :redmi
[000:175] [2024-01-29 10:00:33 +0000.189454][2bab] global inited! current sdk
version: 12-14-d8558ab
[000:250] [2024-01-29 10:00:33 +0000.264983][312a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:250] [2024-01-29 10:00:33 +0000.265074][312a] _deviceSampleRate:48000

[000:251] [2024-01-29 10:00:33 +0000.265918][3129] Run AGC when audioType = 0


[000:251] [2024-01-29 10:00:33 +0000.265992][3129]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:605] [2024-01-29 10:00:33 +0000.620221][3058]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:606] [2024-01-29 10:00:33 +0000.620395][3125] MediaFilterCamera, recording
file context:0x70e84a8380 input texture:4
[000:606] [2024-01-29 10:00:33 +0000.620449][3125] GLESContext:
[000:606] [2024-01-29 10:00:33 +0000.620512][3125] The result of eglGetDisplay is:
0x1
[000:607] [2024-01-29 10:00:33 +0000.621515][3125] The result of creation:
0x7054380780
[000:607] [2024-01-29 10:00:33 +0000.621604][3125] The result of
eglCreatePbufferSurface is: 0x7054380880
[000:607] [2024-01-29 10:00:33 +0000.621700][3058]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70e84a8380 input_texture: 4
[001:029] [2024-01-29 10:00:34 +0000.43724][2bab]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:029] [2024-01-29 10:00:34 +0000.43828][2bab] ~MediaFilterCamera time:152815325
enter.

[001:029] [2024-01-29 10:00:34 +0000.43866][2bab] StopPullFrameAndWriteMp4


time:152815325 enter.

[001:029] [2024-01-29 10:00:34 +0000.44188][3124] stop recording


[001:029] [2024-01-29 10:00:34 +0000.44235][3124] we have stopped recording before
[001:029] [2024-01-29 10:00:34 +0000.44303][2bab] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[001:030] [2024-01-29 10:00:34 +0000.44544][2bab] DestroyPipelineAndFilters


time:152815326 enter.

[001:030] [2024-01-29 10:00:34 +0000.44587][2bab] DestroyPipelineAndFilters leave.


expire time = 0 ms

[001:030] [2024-01-29 10:00:34 +0000.44621][2bab] AppDeviceManagerStopMic

[001:030] [2024-01-29 10:00:34 +0000.44663][2bab] AppDeviceManagerStopMic::mic


status is on
[001:030] [2024-01-29 10:00:34 +0000.44691][2bab] Try to stop webrtc device.

[001:030] [2024-01-29 10:00:34 +0000.44717][2bab] Set record state to

You might also like