You are on page 1of 62

[000:070] [2022-04-28 16:19:36 +0000.

19085][6111] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-04-
28 16:19:36 +0000
[000:070] [2022-04-28 16:19:36 +0000.19144][6111] set AppID=50011 old AppID=-1
[000:070] [2022-04-28 16:19:36 +0000.19159][6111] Init the android object with
jvm:0xb40000708ba45380 env:0x6fe7df7580 context:0x6f90d37318

[000:070] [2022-04-28 16:19:36 +0000.19183][6111] SetAndroidMediaCodecObjects


time:19931263 enter.

[000:070] [2022-04-28 16:19:36 +0000.19201][6111] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:070] [2022-04-28 16:19:36 +0000.19212][6111] SetAndroidMediaCodecObjects


time:19931263 enter.

[000:070] [2022-04-28 16:19:36 +0000.19222][6111] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000708ba45380
[000:070] [2022-04-28 16:19:36 +0000.19232][6111] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000708ba45380 address:0x6f04485760
[000:070] [2022-04-28 16:19:36 +0000.19242][6111] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000708ba45380
address:0x6f04485760
[000:070] [2022-04-28 16:19:36 +0000.19252][6111] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:070] [2022-04-28 16:19:36 +0000.19269][6111] Set the android objects with


jvm:0xb40000708ba45380 env:0x6fe7df7580 context:0x6f90d37318

[000:070] [2022-04-28 16:19:36 +0000.19287][6111] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fe7df7580
[000:070] [2022-04-28 16:19:36 +0000.19300][6111] SystemUtil Init done
[000:076] [2022-04-28 16:19:36 +0000.25198][6111]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:076] [2022-04-28 16:19:36 +0000.25344][6111] MediaFilterCamera
[000:076] [2022-04-28 16:19:36 +0000.25390][6111] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:076] [2022-04-28 16:19:36 +0000.25477][6111] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:076] [2022-04-28 16:19:36 +0000.25508][6111] Recording session using default
bitrate support by app:31457280
[000:076] [2022-04-28 16:19:36 +0000.25529][67e9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6fef087440
[000:077] [2022-04-28 16:19:36 +0000.25784][67e9] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:077] [2022-04-28 16:19:36 +0000.25894][6111] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:077] [2022-04-28 16:19:36 +0000.26383][6111] Error(ini.cc:191): Open the file
failed. error:2
[000:077] [2022-04-28 16:19:36 +0000.26431][6111]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:077] [2022-04-28 16:19:36 +0000.26446][6111] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:080] [2022-04-28 16:19:36 +0000.29263][6111] Error(ini.cc:191): Open the file
failed. error:2
[000:080] [2022-04-28 16:19:36 +0000.29320][6111]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:080] [2022-04-28 16:19:36 +0000.29340][6111] The device model: 21091116ai
usingHardwareAEC value: 0
[000:080] [2022-04-28 16:19:36 +0000.29353][6111] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:080] [2022-04-28 16:19:36 +0000.29365][6111] Using Default AEC type: software
AEC
[000:081] [2022-04-28 16:19:36 +0000.30223][6111] The device model: 21091116ai enum
value: 0
[000:081] [2022-04-28 16:19:36 +0000.30626][6111] GetMachineModel is 21091116AI
[000:081] [2022-04-28 16:19:36 +0000.30662][6111] GetMachineInfo: 21091116AI
[000:081] [2022-04-28 16:19:36 +0000.30683][6111] Construct BeautifyReader begin...
[000:081] [2022-04-28 16:19:36 +0000.30701][6111] dumpStickerRgba:0
dumpStickerYuv:0
[000:082] [2022-04-28 16:19:36 +0000.30712][6111] Construct BeautifyReader done.
[000:088] [2022-04-28 16:19:36 +0000.37705][6111] Error(ini.cc:191): Open the file
failed. error:2
[000:089] [2022-04-28 16:19:36 +0000.37758][6111]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:089] [2022-04-28 16:19:36 +0000.37875][6111] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:089] [2022-04-28 16:19:36 +0000.37899][6111] AppDeviceManager telnet server
for statistics started......
[000:089] [2022-04-28 16:19:36 +0000.37937][67ec] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f721c5ea0
[000:089] [2022-04-28 16:19:36 +0000.38479][6111] CpuOverloadDetect time:19931282
enter.

[000:089] [2022-04-28 16:19:36 +0000.38613][6111] CpuOverloadDetect leave. expire


time = 0 ms

[000:089] [2022-04-28 16:19:36 +0000.38670][67ed] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f7220d3c0
[000:090] [2022-04-28 16:19:36 +0000.39100][6111] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:090] [2022-04-28 16:19:36 +0000.39125][6111] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:090] [2022-04-28 16:19:36 +0000.39360][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:090] [2022-04-28 16:19:36 +0000.39626][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:091] [2022-04-28 16:19:36 +0000.40086][6111] CreatePlatformSpecificObjects:
[000:091] [2022-04-28 16:19:36 +0000.40116][6111] audio device use opensle input
and opensl output
[000:091] [2022-04-28 16:19:36 +0000.40145][6111] Create OpenSLES output module
with java VM support.

[000:091] [2022-04-28 16:19:36 +0000.40260][6111] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:091] [2022-04-28 16:19:36 +0000.40391][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:091] [2022-04-28 16:19:36 +0000.40556][6111] Create OpenSLES output module
with buffer num:1

[000:091] [2022-04-28 16:19:36 +0000.40692][6111] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:092] [2022-04-28 16:19:36 +0000.40821][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:092] [2022-04-28 16:19:36 +0000.40962][6111] Create OpenSLES input module with
java VM support.
[000:092] [2022-04-28 16:19:36 +0000.40988][6111] Create OpenSLES input module with
buffer num:1

[000:092] [2022-04-28 16:19:36 +0000.41013][6111] Error(trace.cc:40): Init the


output and input for audio device template.
[000:092] [2022-04-28 16:19:36 +0000.41028][6111] Init the output device.

[000:092] [2022-04-28 16:19:36 +0000.41039][6111] Init the opensl input.


[000:092] [2022-04-28 16:19:36 +0000.41052][6111] AppDeviceManager get setting
samplerate: 0
[000:092] [2022-04-28 16:19:36 +0000.41340][6111] The device model: 21091116ai enum
value: 0
[000:093] [2022-04-28 16:19:36 +0000.41731][6111] The device model: 21091116ai enum
value: 0
[000:093] [2022-04-28 16:19:36 +0000.41757][6111] Set the sample rate to be:48000

[000:093] [2022-04-28 16:19:36 +0000.41769][6111] Enable the recording stereo:0


[000:093] [2022-04-28 16:19:36 +0000.41780][6111] Set the playout as stereo:1
[000:093] [2022-04-28 16:19:36 +0000.41789][6111] Init the microphone.
[000:093] [2022-04-28 16:19:36 +0000.42101][6111] Update the recording sample rate
to be: 48000
[000:093] [2022-04-28 16:19:36 +0000.42134][6111] Init the speaker.
[000:093] [2022-04-28 16:19:36 +0000.42156][6111] Low latency buffer size:256 low
sample rate:48000
[000:093] [2022-04-28 16:19:36 +0000.42364][6111] Using 1 x 10ms for an audio
frame.

[000:096] [2022-04-28 16:19:36 +0000.45419][6111] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:096] [2022-04-28 16:19:36 +0000.45490][6111] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:096] [2022-04-28 16:19:36 +0000.45523][6111] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:100] [2022-04-28 16:19:36 +0000.49442][6111] The device model:21091116ai

[000:100] [2022-04-28 16:19:36 +0000.49510][6111] speaker output factor:100


defaultFactor: 100

[000:100] [2022-04-28 16:19:36 +0000.49523][6111] headset output factor:100


defaultFactor: 100

[000:101] [2022-04-28 16:19:36 +0000.49774][6111] AppDeviceManagerStart finished.


[000:101] [2022-04-28 16:19:36 +0000.49795][6111] AppDeviceManagerStartMic::mic
status is off
[000:101] [2022-04-28 16:19:36 +0000.49830][6111] AppDeviceManagerStartMic update
aec type: 2

[000:101] [2022-04-28 16:19:36 +0000.49844][6111] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:101] [2022-04-28 16:19:36 +0000.49854][6111]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:101] [2022-04-28 16:19:36 +0000.49864][6111]
AudioDeviceDataHandler::StartMicProcess

[000:101] [2022-04-28 16:19:36 +0000.49937][6111] Try to start webrtc recording


device.
[000:101] [2022-04-28 16:19:36 +0000.49956][6111] StartRecording. threadID:24849

[000:101] [2022-04-28 16:19:36 +0000.49996][67ee] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:101] [2022-04-28 16:19:36 +0000.50104][67ee] haveEnoughProcessedData
internalAudioStream.length: 0
[000:101] [2022-04-28 16:19:36 +0000.50176][6111] The machine model:21091116AI

[000:101] [2022-04-28 16:19:36 +0000.50215][6111] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:101] [2022-04-28 16:19:36 +0000.50229][6111] Set the recording mode before


getSetting: 4
[000:101] [2022-04-28 16:19:36 +0000.50242][6111] Set the recording mode after
getSetting: 1
[000:126] [2022-04-28 16:19:36 +0000.75067][6111] StartRecording finished.

[000:126] [2022-04-28 16:19:36 +0000.75112][6111] audio: start the audio mic


checker timer.

[000:126] [2022-04-28 16:19:36 +0000.75538][6111] machine model :redmi


[000:126] [2022-04-28 16:19:36 +0000.75575][6111] Support this machine model :redmi
[000:126] [2022-04-28 16:19:36 +0000.75658][6111] global inited! current sdk
version: 07-20-936c45f
[000:219] [2022-04-28 16:19:36 +0000.168041][67ef] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:219] [2022-04-28 16:19:36 +0000.168161][67ef] _deviceSampleRate:48000

[000:223] [2022-04-28 16:19:36 +0000.172175][67ee] Run AGC when audioType = 0


[000:223] [2022-04-28 16:19:36 +0000.172464][67ee]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:698] [2022-04-28 16:19:36 +0000.647243][6561]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:698] [2022-04-28 16:19:36 +0000.647519][67ea] MediaFilterCamera, recording
file context:0x6ff53b3580 input texture:10
[000:698] [2022-04-28 16:19:36 +0000.647583][67ea] GLESContext:
[000:698] [2022-04-28 16:19:36 +0000.647705][67ea] The result of eglGetDisplay is:
0x1
[000:702] [2022-04-28 16:19:36 +0000.650856][67ea] The result of creation:
0x6fec054800
[000:703] [2022-04-28 16:19:36 +0000.652205][67ea] The result of
eglCreatePbufferSurface is: 0x6fec054880
[000:703] [2022-04-28 16:19:36 +0000.652331][6561]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6ff53b3580 input_texture: 10
[001:829] [2022-04-28 16:19:37 +0000.778298][67ee] haveEnoughProcessedData
internalAudioStream.length: 0
[002:206] [2022-04-28 16:19:38 +0000.154779][67ee] Run AGC when audioType = 0
[003:531] [2022-04-28 16:19:39 +0000.479969][67ee] haveEnoughProcessedData
internalAudioStream.length: 0
[004:128] [2022-04-28 16:19:40 +0000.77456][67e5]
monitorTime:4002totalDuration:3930
[004:205] [2022-04-28 16:19:40 +0000.154592][67ee] Run AGC when audioType = 0
[004:206] [2022-04-28 16:19:40 +0000.154730][67ee]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:224] [2022-04-28 16:19:41 +0000.173277][67ee] haveEnoughProcessedData
internalAudioStream.length: 10
[006:208] [2022-04-28 16:19:42 +0000.156990][67ee] Run AGC when audioType = 0
[006:917] [2022-04-28 16:19:42 +0000.866564][67ee] haveEnoughProcessedData
internalAudioStream.length: 0
[007:828] [2022-04-28 16:19:43 +0000.777032][6111]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[007:828] [2022-04-28 16:19:43 +0000.777150][6111] ~MediaFilterCamera time:19939021
enter.

[007:828] [2022-04-28 16:19:43 +0000.777182][6111] StopPullFrameAndWriteMp4


time:19939021 enter.

[007:829] [2022-04-28 16:19:43 +0000.777949][67e9] stop recording


[007:829] [2022-04-28 16:19:43 +0000.778008][67e9] we have stopped recording before
[007:829] [2022-04-28 16:19:43 +0000.778203][6111] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[007:830] [2022-04-28 16:19:43 +0000.778856][6111] DestroyPipelineAndFilters


time:19939023 enter.

[007:830] [2022-04-28 16:19:43 +0000.779390][6111] DestroyPipelineAndFilters


leave. expire time = 0 ms

[007:830] [2022-04-28 16:19:43 +0000.779454][6111] AppDeviceManagerStopMic

[007:830] [2022-04-28 16:19:43 +0000.779532][6111] AppDeviceManagerStopMic::mic


status is on
[007:830] [2022-04-28 16:19:43 +0000.779561][6111] Try to stop webrtc device.

[007:830] [2022-04-28 16:19:43 +0000.779590][6111] Set record state to


stopped.threadID:24849

[007:854] [2022-04-28 16:19:43 +0000.803157][6111] Try to destory the


recorder.threadID:24849

[008:054] [2022-04-28 16:19:44 +0000.3397][6111] DestroyAudioRecorder:


[008:054] [2022-04-28 16:19:44 +0000.3499][6111] Cleanup the buffer queue in the
recorder.
[008:054] [2022-04-28 16:19:44 +0000.3558][6111] Destroy the recorder.

[008:055] [2022-04-28 16:19:44 +0000.4480][6111] StopRecording finished.

[008:055] [2022-04-28 16:19:44 +0000.4560][6111] The stop recording success.

[008:055] [2022-04-28 16:19:44 +0000.4609][6111]


AudioDeviceDataHandler::StopMicProcess

[008:057] [2022-04-28 16:19:44 +0000.5780][6111] AppDeviceManager stop.

[008:057] [2022-04-28 16:19:44 +0000.5882][6111] Rlease the webrtc device object.

[008:057] [2022-04-28 16:19:44 +0000.6252][6111] OpenSlesInput destruct.

[008:057] [2022-04-28 16:19:44 +0000.6293][6111] OpenSlesOutput destruct.

[008:058] [2022-04-28 16:19:44 +0000.6752][6111] EventDispatchServerScope destruct


[008:058] [2022-04-28 16:19:44 +0000.6814][6111]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[008:058] [2022-04-28 16:19:44 +0000.6889][6111] ~AudioDeviceDataHandler
[008:058] [2022-04-28 16:19:44 +0000.7458][6111] AppDeviceManagerDestruct.

[008:058] [2022-04-28 16:19:44 +0000.7550][6111] ~AppDeviceManager:


[008:058] [2022-04-28 16:19:44 +0000.7665][6111] ~CpuOverloadDetect time:19939251
enter.

[008:059] [2022-04-28 16:19:44 +0000.8089][6111] ~CpuOverloadDetect leave. expire


time = 1 ms

[008:070] [2022-04-28 16:19:44 +0000.18811][6111] Destruct BeautifyReader begin...


[008:070] [2022-04-28 16:19:44 +0000.18964][6111] Destruct BeautifyReader done.
[008:070] [2022-04-28 16:19:44 +0000.19031][6111] ~MediaFilterCamera leave. expire
time = 242 ms

[008:070] [2022-04-28 16:19:44 +0000.19572][6111] ~GLESContext:


[008:073] [2022-04-28 16:19:44 +0000.22433][6111] GLESContext destruct finish.
[008:073] [2022-04-28 16:19:44 +0000.22561][6111] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[008:074] [2022-04-28 16:19:44 +0000.22857][6111] global uninited!
[008:075] [2022-04-28 16:19:44 +0000.24279][6111] clear AppID 50011
[008:075] [2022-04-28 16:19:44 +0000.24375][6111] UnRegister JVM for Xplatform util
[008:075] [2022-04-28 16:19:44 +0000.24436][6111] Dispose::unregister webrtc video
engine
[008:075] [2022-04-28 16:19:44 +0000.24480][6111] Init the android object with
jvm:0x0 env:0x0 context:0x0

[008:075] [2022-04-28 16:19:44 +0000.24527][6111] SetAndroidMediaCodecObjects


time:19939268 enter.

[008:075] [2022-04-28 16:19:44 +0000.24568][6111] ClearAndroidMediaCodecObjects


time:19939268 enter.

[008:075] [2022-04-28 16:19:44 +0000.24614][6111] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[008:075] [2022-04-28 16:19:44 +0000.24658][6111] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[008:075] [2022-04-28 16:19:44 +0000.24702][6111] SetAndroidMediaCodecObjects


time:19939268 enter.

[008:076] [2022-04-28 16:19:44 +0000.24744][6111] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[008:076] [2022-04-28 16:19:44 +0000.24818][6111] ClearAndroidMediaCodecObjects
time:19939269 enter.

[008:076] [2022-04-28 16:19:44 +0000.24861][6111] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[008:076] [2022-04-28 16:19:44 +0000.24901][6111] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[008:076] [2022-04-28 16:19:44 +0000.24939][6111] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[008:076] [2022-04-28 16:19:44 +0000.24979][6111] Dispose::unregister webrtc voice


engine
[008:076] [2022-04-28 16:19:44 +0000.25017][6111] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[008:076] [2022-04-28 16:19:44 +0000.25062][6111] SystemUtil UnInit done
[009:365] [2022-04-28 16:19:45 +0000.313823][6111] Register JVM for xplatform util
[009:370] [2022-04-28 16:19:45 +0000.319485][6111] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-04-
28 16:19:45 +0000
[009:370] [2022-04-28 16:19:45 +0000.319517][6111] set AppID=50011 old AppID=-1
[009:370] [2022-04-28 16:19:45 +0000.319531][6111] Init the android object with
jvm:0xb40000708ba45380 env:0x6fe7df7580 context:0x6f90d37318

[009:370] [2022-04-28 16:19:45 +0000.319545][6111] SetAndroidMediaCodecObjects


time:19940563 enter.

[009:370] [2022-04-28 16:19:45 +0000.319559][6111] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[009:370] [2022-04-28 16:19:45 +0000.319571][6111] SetAndroidMediaCodecObjects


time:19940563 enter.

[009:370] [2022-04-28 16:19:45 +0000.319582][6111] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000708ba45380
[009:370] [2022-04-28 16:19:45 +0000.319593][6111] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000708ba45380 address:0x6f04485760
[009:370] [2022-04-28 16:19:45 +0000.319604][6111] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000708ba45380
address:0x6f04485760
[009:370] [2022-04-28 16:19:45 +0000.319615][6111] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[009:370] [2022-04-28 16:19:45 +0000.319625][6111] Set the android objects with


jvm:0xb40000708ba45380 env:0x6fe7df7580 context:0x6f90d37318

[009:370] [2022-04-28 16:19:45 +0000.319648][6111] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6fe7df7580
[009:370] [2022-04-28 16:19:45 +0000.319662][6111] SystemUtil Init done
[009:371] [2022-04-28 16:19:45 +0000.319871][6111]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[009:371] [2022-04-28 16:19:45 +0000.319951][6111] MediaFilterCamera
[009:371] [2022-04-28 16:19:45 +0000.319979][6111] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[009:371] [2022-04-28 16:19:45 +0000.320113][6111] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[009:371] [2022-04-28 16:19:45 +0000.320141][6111] Recording session using default
bitrate support by app:31457280
[009:371] [2022-04-28 16:19:45 +0000.320172][6a3f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6fef087440
[009:371] [2022-04-28 16:19:45 +0000.320267][6a3f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[009:371] [2022-04-28 16:19:45 +0000.320351][6111] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[009:372] [2022-04-28 16:19:45 +0000.320924][6111] Error(ini.cc:191): Open the file
failed. error:2
[009:372] [2022-04-28 16:19:45 +0000.320957][6111]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[009:372] [2022-04-28 16:19:45 +0000.320970][6111] The device model: 21091116ai
usingSoftwareAEC value: 0
[009:375] [2022-04-28 16:19:45 +0000.324397][6111] Error(ini.cc:191): Open the file
failed. error:2
[009:375] [2022-04-28 16:19:45 +0000.324462][6111]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[009:375] [2022-04-28 16:19:45 +0000.324481][6111] The device model: 21091116ai
usingHardwareAEC value: 0
[009:375] [2022-04-28 16:19:45 +0000.324493][6111] The machine device: 21091116ai
usingHardwareAEC value: 0
[009:375] [2022-04-28 16:19:45 +0000.324503][6111] Using Default AEC type: software
AEC
[009:376] [2022-04-28 16:19:45 +0000.325357][6111] The device model: 21091116ai
enum value: 0
[009:377] [2022-04-28 16:19:45 +0000.325732][6111] GetMachineModel is 21091116AI
[009:377] [2022-04-28 16:19:45 +0000.325761][6111] GetMachineInfo: 21091116AI
[009:377] [2022-04-28 16:19:45 +0000.325774][6111] Construct BeautifyReader
begin...
[009:377] [2022-04-28 16:19:45 +0000.325785][6111] dumpStickerRgba:0
dumpStickerYuv:0
[009:377] [2022-04-28 16:19:45 +0000.325794][6111] Construct BeautifyReader done.
[009:382] [2022-04-28 16:19:45 +0000.330929][6111] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[009:382] [2022-04-28 16:19:45 +0000.330993][6111] AppDeviceManager telnet server
for statistics started......
[009:382] [2022-04-28 16:19:45 +0000.330984][6a42] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f4f2fcea0
[009:382] [2022-04-28 16:19:45 +0000.331398][6111] CpuOverloadDetect time:19940575
enter.

[009:382] [2022-04-28 16:19:45 +0000.331465][6111] CpuOverloadDetect leave. expire


time = 0 ms

[009:382] [2022-04-28 16:19:45 +0000.331508][6a43] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f4f129340
[009:383] [2022-04-28 16:19:45 +0000.331943][6111] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[009:383] [2022-04-28 16:19:45 +0000.331965][6111] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[009:383] [2022-04-28 16:19:45 +0000.332116][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:383] [2022-04-28 16:19:45 +0000.332326][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:383] [2022-04-28 16:19:45 +0000.332515][6111] CreatePlatformSpecificObjects:
[009:383] [2022-04-28 16:19:45 +0000.332537][6111] audio device use opensle input
and opensl output
[009:383] [2022-04-28 16:19:45 +0000.332552][6111] Create OpenSLES output module
with java VM support.

[009:383] [2022-04-28 16:19:45 +0000.332641][6111] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:384] [2022-04-28 16:19:45 +0000.332828][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:384] [2022-04-28 16:19:45 +0000.333028][6111] Create OpenSLES output module
with buffer num:1

[009:384] [2022-04-28 16:19:45 +0000.333120][6111] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:384] [2022-04-28 16:19:45 +0000.333237][6111] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:384] [2022-04-28 16:19:45 +0000.333357][6111] Create OpenSLES input module
with java VM support.

[009:384] [2022-04-28 16:19:45 +0000.333381][6111] Create OpenSLES input module


with buffer num:1

[009:384] [2022-04-28 16:19:45 +0000.333400][6111] Error(trace.cc:40): Init the


output and input for audio device template.
[009:384] [2022-04-28 16:19:45 +0000.333419][6111] Init the output device.

[009:384] [2022-04-28 16:19:45 +0000.333430][6111] Init the opensl input.


[009:384] [2022-04-28 16:19:45 +0000.333442][6111] AppDeviceManager get setting
samplerate: 0
[009:385] [2022-04-28 16:19:45 +0000.333715][6111] The device model: 21091116ai
enum value: 0
[009:385] [2022-04-28 16:19:45 +0000.334080][6111] The device model: 21091116ai
enum value: 0
[009:385] [2022-04-28 16:19:45 +0000.334100][6111] Set the sample rate to be:48000

[009:385] [2022-04-28 16:19:45 +0000.334112][6111] Enable the recording stereo:0


[009:385] [2022-04-28 16:19:45 +0000.334124][6111] Set the playout as stereo:1
[009:385] [2022-04-28 16:19:45 +0000.334140][6111] Init the microphone.
[009:385] [2022-04-28 16:19:45 +0000.334368][6111] Update the recording sample rate
to be: 48000
[009:385] [2022-04-28 16:19:45 +0000.334391][6111] Init the speaker.
[009:385] [2022-04-28 16:19:45 +0000.334409][6111] Low latency buffer size:256 low
sample rate:48000
[009:385] [2022-04-28 16:19:45 +0000.334608][6111] Using 1 x 10ms for an audio
frame.

[009:388] [2022-04-28 16:19:45 +0000.337546][6111] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[009:388] [2022-04-28 16:19:45 +0000.337611][6111] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[009:388] [2022-04-28 16:19:45 +0000.337633][6111] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[009:393] [2022-04-28 16:19:45 +0000.341747][6111] The device model:21091116ai

[009:393] [2022-04-28 16:19:45 +0000.341797][6111] speaker output factor:100


defaultFactor: 100

[009:393] [2022-04-28 16:19:45 +0000.341811][6111] headset output factor:100


defaultFactor: 100

[009:393] [2022-04-28 16:19:45 +0000.342095][6111] AppDeviceManagerStart finished.


[009:393] [2022-04-28 16:19:45 +0000.342125][6111] AppDeviceManagerStartMic::mic
status is off
[009:393] [2022-04-28 16:19:45 +0000.342159][6111] AppDeviceManagerStartMic update
aec type: 2

[009:393] [2022-04-28 16:19:45 +0000.342176][6111] AppDeviceManagerStartMic update


voiceChangeMode: 4

[009:393] [2022-04-28 16:19:45 +0000.342187][6111]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[009:393] [2022-04-28 16:19:45 +0000.342198][6111]
AudioDeviceDataHandler::StartMicProcess

[009:393] [2022-04-28 16:19:45 +0000.342324][6111] Try to start webrtc recording


device.

[009:393] [2022-04-28 16:19:45 +0000.342347][6111] StartRecording. threadID:24849


[009:393] [2022-04-28 16:19:45 +0000.342386][6111] default mode: Set the recording
mode to voice communication to enable HW AEC .

[009:393] [2022-04-28 16:19:45 +0000.342404][6111] Set the recording mode before


getSetting: 4
[009:393] [2022-04-28 16:19:45 +0000.342418][6111] Set the recording mode after
getSetting: 1
[009:393] [2022-04-28 16:19:45 +0000.342379][6a44] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[009:411] [2022-04-28 16:19:45 +0000.360068][6111] StartRecording finished.

[009:411] [2022-04-28 16:19:45 +0000.360113][6111] audio: start the audio mic


checker timer.

[009:411] [2022-04-28 16:19:45 +0000.360461][6111] machine model :redmi


[009:411] [2022-04-28 16:19:45 +0000.360495][6111] Support this machine
model :redmi
[009:411] [2022-04-28 16:19:45 +0000.360511][6111] global inited! current sdk
version: 07-20-936c45f
[009:843] [2022-04-28 16:19:45 +0000.791956][6111]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[009:843] [2022-04-28 16:19:45 +0000.792021][6111] ~MediaFilterCamera time:19941036
enter.

[009:843] [2022-04-28 16:19:45 +0000.792048][6111] StopPullFrameAndWriteMp4


time:19941036 enter.

[009:843] [2022-04-28 16:19:45 +0000.792313][6a3f] stop recording


[009:843] [2022-04-28 16:19:45 +0000.792389][6a3f] we have stopped recording before
[009:843] [2022-04-28 16:19:45 +0000.792467][6111] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[009:843] [2022-04-28 16:19:45 +0000.792699][6111] DestroyPipelineAndFilters


time:19941036 enter.

[009:844] [2022-04-28 16:19:45 +0000.792730][6111] DestroyPipelineAndFilters


leave. expire time = 1 ms

[009:844] [2022-04-28 16:19:45 +0000.792743][6111] AppDeviceManagerStopMic

[009:844] [2022-04-28 16:19:45 +0000.792775][6111] AppDeviceManagerStopMic::mic


status is on
[009:844] [2022-04-28 16:19:45 +0000.792796][6111] Try to stop webrtc device.

[009:844] [2022-04-28 16:19:45 +0000.792808][6111] Set record state to


stopped.threadID:24849

[009:868] [2022-04-28 16:19:45 +0000.817269][6111] Try to destory the


recorder.threadID:24849

[010:068] [2022-04-28 16:19:46 +0000.17460][6111] DestroyAudioRecorder:


[010:068] [2022-04-28 16:19:46 +0000.17584][6111] Cleanup the buffer queue in the
recorder.
[010:068] [2022-04-28 16:19:46 +0000.17620][6111] Destroy the recorder.

[010:070] [2022-04-28 16:19:46 +0000.19414][6111] StopRecording finished.

[010:070] [2022-04-28 16:19:46 +0000.19554][6111] The stop recording success.


[010:070] [2022-04-28 16:19:46 +0000.19612][6111]
AudioDeviceDataHandler::StopMicProcess

[010:072] [2022-04-28 16:19:46 +0000.21486][6111] AppDeviceManager stop.

[010:072] [2022-04-28 16:19:46 +0000.21570][6111] Rlease the webrtc device object.

[010:073] [2022-04-28 16:19:46 +0000.21764][6111] OpenSlesInput destruct.

[010:073] [2022-04-28 16:19:46 +0000.21809][6111] OpenSlesOutput destruct.

[010:073] [2022-04-28 16:19:46 +0000.22224][6111] EventDispatchServerScope destruct


[010:073] [2022-04-28 16:19:46 +0000.22295][6111]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[010:073] [2022-04-28 16:19:46 +0000.22366][6111] ~AudioDeviceDataHandler

[010:074] [2022-04-28 16:19:46 +0000.22932][6111] AppDeviceManagerDestruct.

[010:074] [2022-04-28 16:19:46 +0000.22999][6111] ~A[000:029] [2022-05-15 04:13:34


+0000.684041][2af6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
15 04:13:34 +0000
[000:029] [2022-05-15 04:13:34 +0000.684080][2af6] set AppID=50011 old AppID=-1
[000:029] [2022-05-15 04:13:34 +0000.684097][2af6] Init the android object with
jvm:0xb4000079800a0380 env:0x78dc9fc580 context:0x78859a3318

[000:029] [2022-05-15 04:13:34 +0000.684128][2af6] SetAndroidMediaCodecObjects


time:311678841 enter.

[000:030] [2022-05-15 04:13:34 +0000.684154][2af6] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[000:030] [2022-05-15 04:13:34 +0000.684174][2af6] SetAndroidMediaCodecObjects


time:311678842 enter.

[000:030] [2022-05-15 04:13:34 +0000.684187][2af6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:030] [2022-05-15 04:13:34 +0000.684200][2af6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x7825925760
[000:030] [2022-05-15 04:13:34 +0000.684220][2af6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x7825925760
[000:030] [2022-05-15 04:13:34 +0000.684233][2af6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:030] [2022-05-15 04:13:34 +0000.684254][2af6] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dc9fc580 context:0x78859a3318

[000:030] [2022-05-15 04:13:34 +0000.684712][2af6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dc9fc580
[000:030] [2022-05-15 04:13:34 +0000.684749][2af6] SystemUtil Init done
[000:033] [2022-05-15 04:13:34 +0000.687823][2af6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:034] [2022-05-15 04:13:34 +0000.688453][2af6] MediaFilterCamera
[000:034] [2022-05-15 04:13:34 +0000.688966][2af6] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:035] [2022-05-15 04:13:34 +0000.689199][2af6] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:035] [2022-05-15 04:13:34 +0000.689248][2af6] Recording session using default
bitrate support by app:31457280
[000:035] [2022-05-15 04:13:34 +0000.689269][3740] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7841203cc0
[000:035] [2022-05-15 04:13:34 +0000.689704][3740] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:035] [2022-05-15 04:13:34 +0000.689795][2af6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:036] [2022-05-15 04:13:34 +0000.690367][2af6] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2022-05-15 04:13:34 +0000.690403][2af6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:036] [2022-05-15 04:13:34 +0000.690526][2af6] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:039] [2022-05-15 04:13:34 +0000.694000][2af6] Error(ini.cc:191): Open the file
failed. error:2
[000:039] [2022-05-15 04:13:34 +0000.694061][2af6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:039] [2022-05-15 04:13:34 +0000.694081][2af6] The device model: 21091116ai
usingHardwareAEC value: 0
[000:039] [2022-05-15 04:13:34 +0000.694093][2af6] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:039] [2022-05-15 04:13:34 +0000.694105][2af6] Using Default AEC type: software
AEC
[000:040] [2022-05-15 04:13:34 +0000.695011][2af6] The device model: 21091116ai
enum value: 0
[000:041] [2022-05-15 04:13:34 +0000.695842][2af6] GetMachineModel is 21091116AI
[000:041] [2022-05-15 04:13:34 +0000.695892][2af6] GetMachineInfo: 21091116AI
[000:041] [2022-05-15 04:13:34 +0000.695916][2af6] Construct BeautifyReader
begin...
[000:041] [2022-05-15 04:13:34 +0000.695931][2af6] dumpStickerRgba:0
dumpStickerYuv:0
[000:041] [2022-05-15 04:13:34 +0000.695947][2af6] Construct BeautifyReader done.
[000:045] [2022-05-15 04:13:34 +0000.699881][2af6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:045] [2022-05-15 04:13:34 +0000.699945][3743] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78467beca0
[000:046] [2022-05-15 04:13:34 +0000.700216][2af6] AppDeviceManager telnet server
for statistics started......
[000:046] [2022-05-15 04:13:34 +0000.700759][2af6] CpuOverloadDetect time:311678858
enter.

[000:046] [2022-05-15 04:13:34 +0000.700859][2af6] CpuOverloadDetect leave. expire


time = 0 ms

[000:046] [2022-05-15 04:13:34 +0000.700908][3744] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7840f3de00
[000:047] [2022-05-15 04:13:34 +0000.701375][2af6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:047] [2022-05-15 04:13:34 +0000.701402][2af6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:047] [2022-05-15 04:13:34 +0000.701749][2af6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-05-15 04:13:34 +0000.702428][2af6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-05-15 04:13:34 +0000.702930][2af6] CreatePlatformSpecificObjects:
[000:048] [2022-05-15 04:13:34 +0000.702969][2af6] audio device use opensle input
and opensl output
[000:048] [2022-05-15 04:13:34 +0000.702997][2af6] Create OpenSLES output module
with java VM support.

[000:048] [2022-05-15 04:13:34 +0000.703121][2af6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:049] [2022-05-15 04:13:34 +0000.703308][2af6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-05-15 04:13:34 +0000.703495][2af6] Create OpenSLES output module
with buffer num:1

[000:049] [2022-05-15 04:13:34 +0000.703631][2af6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:049] [2022-05-15 04:13:34 +0000.703777][2af6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-05-15 04:13:34 +0000.703916][2af6] Create OpenSLES input module
with java VM support.

[000:049] [2022-05-15 04:13:34 +0000.703942][2af6] Create OpenSLES input module


with buffer num:1

[000:049] [2022-05-15 04:13:34 +0000.703979][2af6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:049] [2022-05-15 04:13:34 +0000.703997][2af6] Init the output device.

[000:049] [2022-05-15 04:13:34 +0000.704009][2af6] Init the opensl input.


[000:049] [2022-05-15 04:13:34 +0000.704022][2af6] AppDeviceManager get setting
samplerate: 0
[000:050] [2022-05-15 04:13:34 +0000.704310][2af6] The device model: 21091116ai
enum value: 0
[000:050] [2022-05-15 04:13:34 +0000.704729][2af6] The device model: 21091116ai
enum value: 0
[000:050] [2022-05-15 04:13:34 +0000.704750][2af6] Set the sample rate to be:48000

[000:050] [2022-05-15 04:13:34 +0000.704763][2af6] Enable the recording stereo:0


[000:050] [2022-05-15 04:13:34 +0000.704782][2af6] Set the playout as stereo:1
[000:050] [2022-05-15 04:13:34 +0000.704794][2af6] Init the microphone.
[000:050] [2022-05-15 04:13:34 +0000.705090][2af6] Update the recording sample rate
to be: 48000
[000:050] [2022-05-15 04:13:34 +0000.705114][2af6] Init the speaker.
[000:050] [2022-05-15 04:13:34 +0000.705139][2af6] Low latency buffer size:256 low
sample rate:48000
[000:051] [2022-05-15 04:13:34 +0000.705678][2af6] Using 1 x 10ms for an audio
frame.

[000:054] [2022-05-15 04:13:34 +0000.708726][2af6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:054] [2022-05-15 04:13:34 +0000.708818][2af6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:054] [2022-05-15 04:13:34 +0000.708856][2af6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:058] [2022-05-15 04:13:34 +0000.713004][2af6] The device model:21091116ai

[000:058] [2022-05-15 04:13:34 +0000.713077][2af6] speaker output factor:100


defaultFactor: 100

[000:058] [2022-05-15 04:13:34 +0000.713099][2af6] headset output factor:100


defaultFactor: 100

[000:059] [2022-05-15 04:13:34 +0000.713507][2af6] AppDeviceManagerStart finished.


[000:059] [2022-05-15 04:13:34 +0000.713554][2af6] AppDeviceManagerStartMic::mic
status is off
[000:059] [2022-05-15 04:13:34 +0000.713624][2af6] AppDeviceManagerStartMic update
aec type: 2

[000:059] [2022-05-15 04:13:34 +0000.713648][2af6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:059] [2022-05-15 04:13:34 +0000.713660][2af6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:059] [2022-05-15 04:13:34 +0000.713673][2af6]
AudioDeviceDataHandler::StartMicProcess

[000:059] [2022-05-15 04:13:34 +0000.713882][2af6] Try to start webrtc recording


device.

[000:059] [2022-05-15 04:13:34 +0000.713909][2af6] StartRecording. threadID:10998

[000:059] [2022-05-15 04:13:34 +0000.713976][3745] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:059] [2022-05-15 04:13:34 +0000.714104][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[000:060] [2022-05-15 04:13:34 +0000.714245][2af6] The machine model:21091116AI

[000:060] [2022-05-15 04:13:34 +0000.714288][2af6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:060] [2022-05-15 04:13:34 +0000.714307][2af6] Set the recording mode before


getSetting: 4
[000:060] [2022-05-15 04:13:34 +0000.714323][2af6] Set the recording mode after
getSetting: 1
[000:078] [2022-05-15 04:13:34 +0000.732311][2af6] StartRecording finished.

[000:078] [2022-05-15 04:13:34 +0000.732362][2af6] audio: start the audio mic


checker timer.

[000:078] [2022-05-15 04:13:34 +0000.732759][2af6] machine model :redmi


[000:078] [2022-05-15 04:13:34 +0000.732789][2af6] Support this machine
model :redmi
[000:081] [2022-05-15 04:13:34 +0000.736122][2af6] global inited! current sdk
version: 07-20-936c45f
[000:173] [2022-05-15 04:13:34 +0000.827270][3746] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:173] [2022-05-15 04:13:34 +0000.827385][3746] _deviceSampleRate:48000

[000:178] [2022-05-15 04:13:34 +0000.832161][3745] Run AGC when audioType = 0


[000:178] [2022-05-15 04:13:34 +0000.832315][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:544] [2022-05-15 04:13:35 +0000.199030][353e]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:545] [2022-05-15 04:13:35 +0000.199588][3741] MediaFilterCamera, recording
file context:0x78dc9b0780 input texture:8
[000:545] [2022-05-15 04:13:35 +0000.199755][3741] GLESContext:
[000:546] [2022-05-15 04:13:35 +0000.200172][3741] The result of eglGetDisplay is:
0x1
[000:551] [2022-05-15 04:13:35 +0000.205369][3741] The result of creation:
0x78e98e5180
[000:551] [2022-05-15 04:13:35 +0000.205606][3741] The result of
eglCreatePbufferSurface is: 0x78e98e5a80
[000:551] [2022-05-15 04:13:35 +0000.205736][353e]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78dc9b0780 input_texture: 8
[001:801] [2022-05-15 04:13:36 +0000.455173][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[002:160] [2022-05-15 04:13:36 +0000.814528][3745] Run AGC when audioType = 0
[003:497] [2022-05-15 04:13:38 +0000.151799][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[004:080] [2022-05-15 04:13:38 +0000.734354][373c]
monitorTime:4002totalDuration:3930
[004:158] [2022-05-15 04:13:38 +0000.812924][3745] Run AGC when audioType = 0
[004:159] [2022-05-15 04:13:38 +0000.813282][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:199] [2022-05-15 04:13:39 +0000.854106][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[006:157] [2022-05-15 04:13:40 +0000.811301][3745] Run AGC when audioType = 0
[006:902] [2022-05-15 04:13:41 +0000.556439][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[008:160] [2022-05-15 04:13:42 +0000.814729][3745] Run AGC when audioType = 0
[008:160] [2022-05-15 04:13:42 +0000.814985][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:603] [2022-05-15 04:13:43 +0000.257281][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[010:156] [2022-05-15 04:13:44 +0000.810797][3746] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:156] [2022-05-15 04:13:44 +0000.810951][3746] _deviceSampleRate:48000

[010:156] [2022-05-15 04:13:44 +0000.811092][3745] Run AGC when audioType = 0


[010:301] [2022-05-15 04:13:44 +0000.955412][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[011:997] [2022-05-15 04:13:46 +0000.651524][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[012:161] [2022-05-15 04:13:46 +0000.815916][3745] Run AGC when audioType = 0
[012:161] [2022-05-15 04:13:46 +0000.816111][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:700] [2022-05-15 04:13:48 +0000.355073][3745] haveEnoughProcessedData
internalAudioStream.length: 10
[013:929] [2022-05-15 04:13:48 +0000.583463][2ab3] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[013:929] [2022-05-15 04:13:48 +0000.583613][2ab3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[013:931] [2022-05-15 04:13:48 +0000.585521][2ab3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[013:931] [2022-05-15 04:13:48 +0000.585854][3741] operator() time:311692743
enter.

[013:932] [2022-05-15 04:13:48 +0000.586629][3741] MediaFilterCamera, recording


file context:0x78dc9b0780 input texture:8
[013:934] [2022-05-15 04:13:48 +0000.589149][3741] MicSource: Mic source
created:10x78e9961b80
[013:936] [2022-05-15 04:13:48 +0000.590378][3741] received external audio stream

[013:936] [2022-05-15 04:13:48 +0000.590537][3741] alloc thread: 0x78e98d6180


name:worker0 thread id:515728293056 to Mic_source
[013:936] [2022-05-15 04:13:48 +0000.590622][3741] audio: start the audio sender
thread.

[013:936] [2022-05-15 04:13:48 +0000.590997][3741] construct OpenGLRenderProgram


0x78e9992f98
[013:936] [2022-05-15 04:13:48 +0000.591112][3741] CropFilter::SetOrientation
orientation: 90
[013:937] [2022-05-15 04:13:48 +0000.591790][3741] filter: filter pipeline
construtc this: 0x78e98db640
[013:937] [2022-05-15 04:13:48 +0000.591931][3741] filter: filter pipeline2 update
pattern: 1
[013:937] [2022-05-15 04:13:48 +0000.592073][3741] CameraSource::source_id_:1
[013:937] [2022-05-15 04:13:48 +0000.592147][3741] RecordAudioSource::source_id_:2
[013:938] [2022-05-15 04:13:48 +0000.593058][3745] On audio frame the broadcast
with timestamp:311692750 samples:480. (1000 frame for one log)

[013:939] [2022-05-15 04:13:48 +0000.593208][3741] BindInputFilter 0x78e98d77c0


this 0x78e99931c0
[013:939] [2022-05-15 04:13:48 +0000.593317][3741] BindInputFilter 0x78e98d7958
this 0x78e98d7ad0
[013:939] [2022-05-15 04:13:48 +0000.593386][3741] BindInputFilter 0x78e99931c0
this 0x78e98db6e0
[013:939] [2022-05-15 04:13:48 +0000.593559][3741] setParamentForFilters:
speed:1.000000
[013:939] [2022-05-15 04:13:48 +0000.593625][3741] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[013:939] [2022-05-15 04:13:48 +0000.593703][3741] SetParamForFilter time:311692751
enter.

[013:939] [2022-05-15 04:13:48 +0000.593776][3741] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[013:939] [2022-05-15 04:13:48 +0000.593844][3741] SetParamForFilter: Params video
index is: 0
[013:939] [2022-05-15 04:13:48 +0000.593937][3741] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[013:939] [2022-05-15 04:13:48 +0000.594014][3741] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[013:939] [2022-05-15 04:13:48 +0000.594058][3741] crop filter mode tpye:
citytravelvideo index:0
[013:946] [2022-05-15 04:13:48 +0000.600901][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:946] [2022-05-15 04:13:48 +0000.600911][38a9] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[013:946] [2022-05-15 04:13:48 +0000.600992][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601216][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601282][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601339][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601441][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601483][3741]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601528][3741]
Warning(parse_template_json.cc:81): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601562][3741]
Warning(parse_template_json.cc:81): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601589][3741]
Warning(parse_template_json.cc:67): json parament no found the parament
[013:947] [2022-05-15 04:13:48 +0000.601620][3741]
Warning(parse_template_json.cc:93): json parament no found the duration
[013:947] [2022-05-15 04:13:48 +0000.601642][38a9] The output timestamp from audio
mixer change:311692750
[013:947] [2022-05-15 04:13:48 +0000.601697][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:947] [2022-05-15 04:13:48 +0000.601816][3741] SetParamForFilter leave. expire
time = 8 ms

[013:947] [2022-05-15 04:13:48 +0000.602098][3741] OnOutputSizeChanged width 1280


height 720
[013:948] [2022-05-15 04:13:48 +0000.602188][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602304][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602400][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602444][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602485][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602519][3741] OpenGLFrameBuffer: width:1280
height:720
[013:948] [2022-05-15 04:13:48 +0000.602568][3741] construct TrivalImageDrawer
0x784c2a5500
[013:948] [2022-05-15 04:13:48 +0000.602607][3741] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x784c2a5500 context 0x78e9847780
[013:948] [2022-05-15 04:13:48 +0000.602640][3741] setupGLES:
[013:962] [2022-05-15 04:13:48 +0000.616825][3741] OpenGLRenderProgram::Initialize.
[013:962] [2022-05-15 04:13:48 +0000.616939][3741] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[013:962] [2022-05-15 04:13:48 +0000.616978][3741] The extension of the OpenGL:
GL_EXT_debug_marker GL_ARM_rgba8 GL_ARM_mali_shader_binary GL_OES_depth24
GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_packed_depth_stencil
GL_OES_rgb8_rgba8 GL_EXT_read_format_bgra GL_OES_compressed_paletted_texture
GL_OES_compressed_ETC1_RGB8_texture GL_OES_standard_derivatives GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
GL_OES_texture_npot GL_OES_vertex_half_float GL_OES_required_internalformat
GL_OES_vertex_array_object GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888
GL_EXT_texture_rg GL_EXT_texture_type_2_10_10_10_REV GL_OES_fbo_render_mipmap
GL_OES_element_index_uint GL_EXT_shadow_samplers GL_OES_texture_compression_astc
GL_KHR_texture_compression_astc_ldr GL_KHR_texture_compression_astc_hdr
GL_KHR_texture_compression_astc_sliced_3d
GL_EXT_texture_compression_astc_decode_mode
GL_EXT_texture_compression_astc_decode_mode_rgb9e5 GL_KHR_debug
GL_EXT_occlusion_query_boolean GL_EXT_disjoint_timer_query GL_EXT_blend_minmax
GL_EXT_discard_framebuffer GL_OES_get_program_binary GL_OES_texture_3D
GL_EXT_texture_storage GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_surfaceless_context
GL_OES_texture_stencil8 GL_EXT_shader_pixel_local_storage
GL_ARM_shader_framebuffer_fetch GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_ARM_mali_program_binary GL_EXT_sRGB GL_EXT_sRGB_write_control
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent
GL_OES_texture_storage_multisample_2d_array GL_OES_shader_image_atomic
GL_EXT_robustness GL_EXT_draw_buffers_indexed GL_OES_draw_buffers_indexed
GL_EXT_texture_border_clamp GL_OES_texture_border_clamp
GL_EXT_texture_cube_map_array GL_OES_texture_cube_map_array GL_OES_sample_variables
GL_OES_sample_shading GL_OES_shader_multisample_interpolation
GL_EXT_shader_io_blocks GL_OES_shader_io_blocks GL_EXT_tessellation_shader
GL_OES_tessellation_shader GL_EXT_primitive_bounding_box
GL_OES_primitive_bounding_box GL_EXT_geometry_shader GL_OES_geometry_shader
GL_ANDROID_extension_pack_es31a GL_EXT_gpu_shader5 GL_OES_gpu_shader5
GL_EXT_texture_buffer GL_OES_texture_buffer GL_EXT_copy_image GL_OES_copy_image
GL_EXT_shader_non_constant_global_initializers GL_EXT_color_buffer_half_float
GL_EXT_color_buffer_float GL_EXT_YUV_target GL_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture GL_KHR_robustness
GL_KHR_robust_buffer_access_behavior GL_EXT_draw_elements_base_vertex
GL_OES_draw_elements_base_vertex GL_EXT_protected_textures GL_EXT_buffer_storage
GL_EXT_external_buffer GL_EXT_EGL_image_array GL_EXT_texture_filter_anisotropic
GL_OES_texture_float_linear GL_ARM_texture_unnormalized_coordinates
[013:962] [2022-05-15 04:13:48 +0000.617054][3741] Init open gl render:
0x78e9992f98
[013:962] [2022-05-15 04:13:48 +0000.617107][3741] Fragement shader path:
[013:963] [2022-05-15 04:13:48 +0000.617163][3741] Fragement shader path:
[013:963] [2022-05-15 04:13:48 +0000.617203][3741] create opengl program object.
[013:963] [2022-05-15 04:13:48 +0000.617232][3741] create shader: vertex
[013:964] [2022-05-15 04:13:48 +0000.618693][3741] create shader: fragment
[014:045] [2022-05-15 04:13:48 +0000.699886][3741] Have not extra filter filename!
[014:045] [2022-05-15 04:13:48 +0000.700016][3741] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[014:045] [2022-05-15 04:13:48 +0000.700056][3741] OpenGLRenderProgram::Initialize
success.
[014:049] [2022-05-15 04:13:48 +0000.703703][3741] Setup the OpenGL result:1
[014:049] [2022-05-15 04:13:48 +0000.704034][3740] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
[014:050] [2022-05-15 04:13:48 +0000.704188][3740] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[014:050] [2022-05-15 04:13:48 +0000.704260][3740] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[014:050] [2022-05-15 04:13:48 +0000.704273][38b2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7840d6a298
[014:050] [2022-05-15 04:13:48 +0000.704306][3740] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
fileFD: -1
[014:051] [2022-05-15 04:13:48 +0000.705905][3740] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
is opened successfully
[014:051] [2022-05-15 04:13:48 +0000.705972][3740] setupMediaProcessers:
[014:051] [2022-05-15 04:13:48 +0000.706003][3740]
RecordingSessionInternalSimple:setup media processers.
[014:051] [2022-05-15 04:13:48 +0000.706025][3740] construct AAC encoder
[014:052] [2022-05-15 04:13:48 +0000.706392][3740] H264Encoder creating:
superfast011818
[014:052] [2022-05-15 04:13:48 +0000.706444][3740] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[014:052] [2022-05-15 04:13:48 +0000.707041][3740] H264Encode::GetMachineModel is
21091116AI
[014:052] [2022-05-15 04:13:48 +0000.707094][3740] H264Encoder machine_mode
is:21091116AI
[014:052] [2022-05-15 04:13:48 +0000.707116][3740] H264Encode::machine size :9
machine_mode:21091116AI
[014:053] [2022-05-15 04:13:48 +0000.707155][3740] H264Encode::machine array
size :22 machine_mode:21091116AI
[014:053] [2022-05-15 04:13:48 +0000.707190][3740] H264Encode::current machine
is :21091116AI auto check hw codec decide to use hw codec
[014:053] [2022-05-15 04:13:48 +0000.707226][3740] setupCompressionSession:
[014:053] [2022-05-15 04:13:48 +0000.707256][3740] H264Encode::creating hareware
Encoder
[014:053] [2022-05-15 04:13:48 +0000.707282][3740] AndroidHwAvcEncoder
time:311692865 enter.

[014:053] [2022-05-15 04:13:48 +0000.707488][3740] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000079800a0380 address:0x7825925760
[014:053] [2022-05-15 04:13:48 +0000.707622][3740] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[014:053] [2022-05-15 04:13:48 +0000.707666][3740] The video avc hw codec address
is 0x7840f91c10
[014:053] [2022-05-15 04:13:48 +0000.707748][3740] AndroidHwAvcEncoder leave.
expire time = 0 ms

[014:053] [2022-05-15 04:13:48 +0000.707790][3740] RegisterEncodeCompleteCallback


time:311692865 enter.

[014:053] [2022-05-15 04:13:48 +0000.707932][3740] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[014:053] [2022-05-15 04:13:48 +0000.707981][3740] InitEncode time:311692865


enter.

[014:053] [2022-05-15 04:13:48 +0000.708091][3740] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[014:054] [2022-05-15 04:13:48 +0000.708159][3740] Create time:311692866 enter.

[014:054] [2022-05-15 04:13:48 +0000.708196][3740] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[014:054] [2022-05-15 04:13:48 +0000.708239][3740]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7852be1580
[014:086] [2022-05-15 04:13:48 +0000.740854][3740] supported_type:audio/mp4a-latm
[014:086] [2022-05-15 04:13:48 +0000.740987][3740] supported_type:audio/mp4a-latm
[014:086] [2022-05-15 04:13:48 +0000.741042][3740] supported_type:audio/3gpp
[014:086] [2022-05-15 04:13:48 +0000.741094][3740] supported_type:audio/3gpp
[014:087] [2022-05-15 04:13:48 +0000.741156][3740] supported_type:audio/amr-wb
[014:087] [2022-05-15 04:13:48 +0000.741202][3740] supported_type:audio/amr-wb
[014:087] [2022-05-15 04:13:48 +0000.741256][3740] supported_type:audio/flac
[014:087] [2022-05-15 04:13:48 +0000.741316][3740] supported_type:audio/flac
[014:087] [2022-05-15 04:13:48 +0000.741640][3740] supported_type:audio/opus
[014:087] [2022-05-15 04:13:48 +0000.741756][3740]
supported_type:image/vnd.android.heic
[014:087] [2022-05-15 04:13:48 +0000.741829][3740] supported_type:video/avc
[014:087] [2022-05-15 04:13:48 +0000.741891][3740] name:OMX.MTK.VIDEO.ENCODER.AVC
mime:video/avc
[014:087] [2022-05-15 04:13:48 +0000.741959][3740] hwCodecPrefix :OMX.qcom.
[014:087] [2022-05-15 04:13:48 +0000.741990][3740] hwCodecPrefix :OMX.Nvidia.
[014:087] [2022-05-15 04:13:48 +0000.742016][3740] hwCodecPrefix :OMX.IMG.TOPAZ
[014:087] [2022-05-15 04:13:48 +0000.742037][3740] hwCodecPrefix :OMX.Exynos
[014:087] [2022-05-15 04:13:48 +0000.742059][3740] hwCodecPrefix :OMX.MTK
[014:087] [2022-05-15 04:13:48 +0000.742086][3740] Found target codecer
OMX.MTK.VIDEO.ENCODER.AVCcodecColorFormat:21
[014:087] [2022-05-15 04:13:48 +0000.742120][3740] mediacodec_createCodecByName
time:311692899 enter.
[014:088] [2022-05-15 04:13:48 +0000.742258][3740] WrapAndroidMediaCodec
time:311692900 enter.

[014:088] [2022-05-15 04:13:48 +0000.742496][3740] WrapAndroidMediaCodec leave.


expire time = 0 ms

[014:106] [2022-05-15 04:13:48 +0000.760823][3740] mediacodec_createCodecByName


leave. expire time = 19 ms

[014:106] [2022-05-15 04:13:48 +0000.760942][3740] WrapAndroidMediaFromat


time:311692918 enter.

[014:106] [2022-05-15 04:13:48 +0000.761045][3740] WrapAndroidMediaFromat leave.


expire time = 0 ms

[014:161] [2022-05-15 04:13:48 +0000.815973][3745] Run AGC when audioType = 0


[014:176] [2022-05-15 04:13:48 +0000.831012][3740] Destroy time:311692988 enter.

[014:176] [2022-05-15 04:13:48 +0000.831108][3740] WrapAndroidMediaFromat::


Destroy
[014:177] [2022-05-15 04:13:48 +0000.831181][3740] Destroy leave. expire time = 1
ms

[014:177] [2022-05-15 04:13:48 +0000.831216][3740] ~WrapAndroidMediaFromat


time:311692989 enter.

[014:177] [2022-05-15 04:13:48 +0000.831261][3740] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[014:177] [2022-05-15 04:13:48 +0000.831295][3740] Create leave. expire time = 123


ms

[014:177] [2022-05-15 04:13:48 +0000.831325][3740] isSemiPlanarSupport


time:311692989 enter.

[014:177] [2022-05-15 04:13:48 +0000.831412][3740] H264Encoder isSemiPlanarSupport


[014:177] [2022-05-15 04:13:48 +0000.831482][3740] isSemiPlanarSupport leave.
expire time = 0 ms

[014:177] [2022-05-15 04:13:48 +0000.831517][3740] creat hw H264Encoder success,


isSemiPlanar:1
[014:177] [2022-05-15 04:13:48 +0000.831650][3740] InitEncode leave. expire time =
124 ms

[014:177] [2022-05-15 04:13:48 +0000.831687][3740] H264Encode::created Encoder


[014:177] [2022-05-15 04:13:48 +0000.831716][3740] H264Encode:: H264 encoder
created.
[014:177] [2022-05-15 04:13:48 +0000.831739][3740] H264 encoder created.
[014:177] [2022-05-15 04:13:48 +0000.831764][3740]
RecordingSessionInternalSimple:created avc encoder avc: 0x7841028e00
[014:177] [2022-05-15 04:13:48 +0000.831791][3740] setOutput:
[014:177] [2022-05-15 04:13:48 +0000.831817][3740]
RecordingSessionInternalSimple:encoder set output to muxer!
[014:177] [2022-05-15 04:13:48 +0000.831843][3740] request a key frame
[014:177] [2022-05-15 04:13:48 +0000.831913][3740] H264Encode:: request a key frame
[014:177] [2022-05-15 04:13:48 +0000.832100][3740] setDisplayRotate :90
[014:178] [2022-05-15 04:13:48 +0000.832147][3740] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[014:178] [2022-05-15 04:13:48 +0000.832233][3741] StartRecording:
[014:178] [2022-05-15 04:13:48 +0000.832322][38a9] operator(): Set the recording
session in mic source. recording session: 0x78e98d7800
[014:178] [2022-05-15 04:13:48 +0000.832550][3741] operator() leave. expire time =
247 ms

[014:178] [2022-05-15 04:13:48 +0000.832536][38a8] AF_SpeedFilter audio


0x78e98d7980 PullFrame
[014:178] [2022-05-15 04:13:48 +0000.832691][38a8]
RecordAudioSource::PullAudioFrame
[014:178] [2022-05-15 04:13:48 +0000.832749][38a8] AF_SpeedFilter::PullFrame eof4
[014:181] [2022-05-15 04:13:48 +0000.835670][38a8]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[014:189] [2022-05-15 04:13:48 +0000.843272][38a8] AF_SpeedFilter audio time,
0x78e98d7980 rcv time: 311692990
[014:189] [2022-05-15 04:13:48 +0000.843621][38a8] AF_SpeedFilter audio time,
0x78e98d7980 rcv time: 311692990in_nSamples:441
[014:189] [2022-05-15 04:13:48 +0000.843851][38a8] resampled_data_size:0
[014:215] [2022-05-15 04:13:48 +0000.869837][3741]
MediaFilterCamera::NeedProcessTexture
[014:215] [2022-05-15 04:13:48 +0000.869940][3741] begine recode to first frame
spend time:284
[014:215] [2022-05-15 04:13:48 +0000.869979][3741] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x78e98d7680
[014:215] [2022-05-15 04:13:48 +0000.870023][3741] blur_distance_:0
[014:215] [2022-05-15 04:13:48 +0000.870051][3741] blur_direction_angle_:-90
[014:215] [2022-05-15 04:13:48 +0000.870113][3741]
GPUImageProcessing::SetOrientation orientation: 90
[014:216] [2022-05-15 04:13:48 +0000.870190][3741] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[014:216] [2022-05-15 04:13:48 +0000.870350][3741] GPUImageProcessing: process
video frame with resolution 1280 X 720
[014:216] [2022-05-15 04:13:48 +0000.870421][3741] GPUImageProcessing: input frame
width1280 X 720
[014:216] [2022-05-15 04:13:48 +0000.870539][3741] drawYUV420 render
OpenGLRenderProgram:0x78e9992f98
[014:216] [2022-05-15 04:13:48 +0000.870774][3741] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[014:216] [2022-05-15 04:13:48 +0000.871068][3741] CropFilter::OnVideoFrame
outputtexture :10
[014:216] [2022-05-15 04:13:48 +0000.871121][3741] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[014:221] [2022-05-15 04:13:48 +0000.875699][3741] The read pixel from buffer take:
3 width:1280 height:720 frameType:0
[014:260] [2022-05-15 04:13:48 +0000.914335][3741] drawYUV420 render
OpenGLRenderProgram:0x78e9992f98
[014:271] [2022-05-15 04:13:48 +0000.925574][3741] The convert RGB to YUV take 5
[014:271] [2022-05-15 04:13:48 +0000.925738][3741] FilterPipeline2::OnVideoFrame
pts 43 last_video_timestamp_ 43
[014:271] [2022-05-15 04:13:48 +0000.925800][3741]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[014:273] [2022-05-15 04:13:48 +0000.927363][38b1]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[014:273] [2022-05-15 04:13:48 +0000.927511][38b1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[014:273] [2022-05-15 04:13:48 +0000.927586][38b1] push video frame to H264
encoder. (100 frame for one log)

[014:273] [2022-05-15 04:13:48 +0000.927654][38b1] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[014:273] [2022-05-15 04:13:48 +0000.927716][38b1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:0(100 frame for one log)

[014:273] [2022-05-15 04:13:48 +0000.927780][38b1] Push an pts:0 to dts queue.


[014:273] [2022-05-15 04:13:48 +0000.927889][38b1] DTS queue for
Generator:0x7840d6a4b8 0
[014:273] [2022-05-15 04:13:48 +0000.927958][38b1] The input pts:0 fps:30
[014:277] [2022-05-15 04:13:48 +0000.931329][38b1]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[014:294] [2022-05-15 04:13:48 +0000.948982][3741] drawYUV420 render
OpenGLRenderProgram:0x78e9992f98
[014:310] [2022-05-15 04:13:48 +0000.964495][38a8] AF_SpeedFilter audio time 222,
0x78e98d7980 out time: 311692990 org time: 311692990
[014:310] [2022-05-15 04:13:48 +0000.964841][38a8] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[014:310] [2022-05-15 04:13:48 +0000.965062][38a8]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 311692990
[014:311] [2022-05-15 04:13:48 +0000.965621][38a8]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[014:311] [2022-05-15 04:13:48 +0000.965762][38a8] AF_SpeedFilter audio time
[014:311] [2022-05-15 04:13:48 +0000.965852][38a8] AF_SpeedFilter audio time 111,
0x78e98d7980 out time: 311693000 org time: 311693000
[014:312] [2022-05-15 04:13:48 +0000.966631][38b0]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[014:312] [2022-05-15 04:13:48 +0000.967052][38b2] add aac audio track with id:1
[014:313] [2022-05-15 04:13:48 +0000.967806][38b2] audio start ts:0
[014:313] [2022-05-15 04:13:48 +0000.968032][38b2] the audio frame has been written
into MP4 file
[014:451] [2022-05-15 04:13:49 +0000.106045][38b1] h264 add frame header cdr flag
[014:452] [2022-05-15 04:13:49 +0000.106812][38b1] h264 add frame header cdr flag
[014:453] [2022-05-15 04:13:49 +0000.107217][38b1] SendFrame
encodedImage._timeStamp:0encodedImage->_length:75264
[014:453] [2022-05-15 04:13:49 +0000.107326][38b1] Received key frame:0
[014:453] [2022-05-15 04:13:49 +0000.107388][38b1] last dts:0 currentPts:0
ppsOrSPS:0 queue length:6
[014:453] [2022-05-15 04:13:49 +0000.107446][38b1] H264Encode::H264SWEncoder get
callback, length:75264 type:0 nalType:7length:19
[014:453] [2022-05-15 04:13:49 +0000.107496][38b1] H264Encode:: get a sps pps
header!headerSize:31
[014:453] [2022-05-15 04:13:49 +0000.107556][38b1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[014:453] [2022-05-15 04:13:49 +0000.107684][38b2] get the H.264 SPS parameter
[014:454] [2022-05-15 04:13:49 +0000.108377][38b2] add video track with id:2
[014:454] [2022-05-15 04:13:49 +0000.108808][38b2] get the H.264 PPS parameter
[014:455] [2022-05-15 04:13:49 +0000.109220][38b2] get the H.264 IDR frame
[014:455] [2022-05-15 04:13:49 +0000.109347][38b2] resss:true
[014:455] [2022-05-15 04:13:49 +0000.109432][38b2] video start ts:0
[014:455] [2022-05-15 04:13:49 +0000.109529][38b2] the video frame has been written
into MP4 file
[014:726] [2022-05-15 04:13:49 +0000.380197][3741] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[014:777] [2022-05-15 04:13:49 +0000.431680][3741] The convert RGB to YUV take 23
[014:948] [2022-05-15 04:13:49 +0000.602216][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:107] [2022-05-15 04:13:49 +0000.762049][38b1] DTS queue for
Generator:0x7840d6a4b8 793 830
[015:219] [2022-05-15 04:13:49 +0000.873632][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:273] [2022-05-15 04:13:49 +0000.927175][3741] The convert RGB to YUV take 20
[015:411] [2022-05-15 04:13:50 +0000.66023][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[015:587] [2022-05-15 04:13:50 +0000.242033][38b1] Push an pts:1323 to dts queue.
[015:626] [2022-05-15 04:13:50 +0000.280717][38b1] last dts:1303 currentPts:1323
ppsOrSPS:0 queue length:2
[015:718] [2022-05-15 04:13:50 +0000.372727][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:755] [2022-05-15 04:13:50 +0000.410029][3741] The convert RGB to YUV take 3
[015:811] [2022-05-15 04:13:50 +0000.465874][38a8] AF_SpeedFilter audio
0x78e98d7980 PullFrame
[015:933] [2022-05-15 04:13:50 +0000.588148][38b1] DTS queue for
Generator:0x7840d6a4b8 1629 1662
[015:945] [2022-05-15 04:13:50 +0000.599885][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:083] [2022-05-15 04:13:50 +0000.737619][38a8]
RecordAudioSource::PullAudioFrame
[016:157] [2022-05-15 04:13:50 +0000.812167][3745] Run AGC when audioType = 0
[016:158] [2022-05-15 04:13:50 +0000.812353][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:224] [2022-05-15 04:13:50 +0000.878433][3741] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[016:254] [2022-05-15 04:13:50 +0000.908175][3741] The convert RGB to YUV take 5
[016:281] [2022-05-15 04:13:50 +0000.935617][3741] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 984 diff: 17
[016:292] [2022-05-15 04:13:50 +0000.946662][38b1] h264 add frame header cdr flag
[016:294] [2022-05-15 04:13:50 +0000.948322][38b1] Received key frame:1990
[016:336] [2022-05-15 04:13:50 +0000.990423][38b2] get the H.264 IDR frame
[016:472] [2022-05-15 04:13:51 +0000.127033][38a8] resampled_data_size:7168
[016:521] [2022-05-15 04:13:51 +0000.175297][38a8] AF_SpeedFilter::PullFrame eof4
[016:523] [2022-05-15 04:13:51 +0000.177489][38a8]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[016:667] [2022-05-15 04:13:51 +0000.321308][38b0]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[016:720] [2022-05-15 04:13:51 +0000.374311][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[016:733] [2022-05-15 04:13:51 +0000.387652][38b1] DTS queue for
Generator:0x7840d6a4b8 2461
[016:770] [2022-05-15 04:13:51 +0000.424696][3741] The convert RGB to YUV take 16
[016:931] [2022-05-15 04:13:51 +0000.585779][38b1] Push an pts:2661 to dts queue.
[016:947] [2022-05-15 04:13:51 +0000.601988][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:964] [2022-05-15 04:13:51 +0000.618741][38b1] last dts:2630 currentPts:2661
ppsOrSPS:0 queue length:2
[017:123] [2022-05-15 04:13:51 +0000.777601][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[017:223] [2022-05-15 04:13:51 +0000.877616][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[017:266] [2022-05-15 04:13:51 +0000.920945][3741] The convert RGB to YUV take 9
[017:440] [2022-05-15 04:13:52 +0000.94477][38a8] AF_SpeedFilter audio 0x78e98d7980
PullFrame
[017:517] [2022-05-15 04:13:52 +0000.171222][3741] drawYUV420 render
OpenGLRenderProgram:0x78e9992f98
[017:563] [2022-05-15 04:13:52 +0000.217864][38b1] DTS queue for
Generator:0x7840d6a4b8 3294
[017:585] [2022-05-15 04:13:52 +0000.240147][3741] GPUImageProcessing: process
video frame with resolution 1280 X 720
[017:586] [2022-05-15 04:13:52 +0000.240287][3741] GPUImageProcessing: input frame
width1280 X 720
[017:586] [2022-05-15 04:13:52 +0000.240532][3741] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[017:586] [2022-05-15 04:13:52 +0000.240744][3741] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[017:602] [2022-05-15 04:13:52 +0000.256355][38b1]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3327
[017:605] [2022-05-15 04:13:52 +0000.259514][38b1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3294 pts:3294
[017:625] [2022-05-15 04:13:52 +0000.279287][38b1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3360
[017:625] [2022-05-15 04:13:52 +0000.279429][38b1] push video frame to H264
encoder. (100 frame for one log)

[017:625] [2022-05-15 04:13:52 +0000.279467][38b1] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[017:625] [2022-05-15 04:13:52 +0000.279497][38b1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:3360(100 frame for one
log)

[017:625] [2022-05-15 04:13:52 +0000.279752][38b1] The input pts:3360 fps:30


[017:630] [2022-05-15 04:13:52 +0000.284578][38b1] SendFrame
encodedImage._timeStamp:3327encodedImage->_length:134768
[017:671] [2022-05-15 04:13:52 +0000.325278][38b1] H264Encode::H264SWEncoder get
callback, length:132227 type:1 nalType:1length:132223
[017:722] [2022-05-15 04:13:52 +0000.376334][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[017:758] [2022-05-15 04:13:52 +0000.412225][3741] The convert RGB to YUV take 4
[017:945] [2022-05-15 04:13:52 +0000.599761][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:989] [2022-05-15 04:13:52 +0000.643218][38a8]
RecordAudioSource::PullAudioFrame
[018:159] [2022-05-15 04:13:52 +0000.813450][3745] Run AGC when audioType = 0
[018:224] [2022-05-15 04:13:52 +0000.878657][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[018:265] [2022-05-15 04:13:52 +0000.919972][3741] The convert RGB to YUV take 4
[018:268] [2022-05-15 04:13:52 +0000.922688][38b1] Push an pts:3999 to dts queue.
[018:298] [2022-05-15 04:13:52 +0000.952396][38b1] h264 add frame header cdr flag
[018:299] [2022-05-15 04:13:52 +0000.953350][38b1] Received key frame:3999
[018:299] [2022-05-15 04:13:52 +0000.953488][38b1] last dts:3965 currentPts:3999
ppsOrSPS:0 queue length:2
[018:333] [2022-05-15 04:13:52 +0000.987383][38b2] get the H.264 IDR frame
[018:370] [2022-05-15 04:13:53 +0000.24397][3741] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[018:407] [2022-05-15 04:13:53 +0000.61824][38b1] DTS queue for
Generator:0x7840d6a4b8 4098 4131
[018:670] [2022-05-15 04:13:53 +0000.324957][38a8] resampled_data_size:0
[018:722] [2022-05-15 04:13:53 +0000.376445][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[018:770] [2022-05-15 04:13:53 +0000.425133][3741] The convert RGB to YUV take 18
[018:833] [2022-05-15 04:13:53 +0000.487808][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[018:861] [2022-05-15 04:13:53 +0000.516050][38a8] AF_SpeedFilter::PullFrame eof4
[018:864] [2022-05-15 04:13:53 +0000.518451][38a8]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[018:945] [2022-05-15 04:13:53 +0000.599310][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:024] [2022-05-15 04:13:53 +0000.678980][38b0]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[019:052] [2022-05-15 04:13:53 +0000.706827][38a8] AF_SpeedFilter audio
0x78e98d7980 PullFrame
[019:219] [2022-05-15 04:13:53 +0000.873590][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[019:224] [2022-05-15 04:13:53 +0000.878208][38b1] DTS queue for
Generator:0x7840d6a4b8 4927 4960
[019:266] [2022-05-15 04:13:53 +0000.921039][3741] The convert RGB to YUV take 12
[019:604] [2022-05-15 04:13:54 +0000.258912][38b1] Push an pts:5333 to dts queue.
[019:639] [2022-05-15 04:13:54 +0000.293322][38b1] last dts:5296 currentPts:5333
ppsOrSPS:0 queue length:2
[019:724] [2022-05-15 04:13:54 +0000.378212][3741] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[019:764] [2022-05-15 04:13:54 +0000.418460][3741] The convert RGB to YUV take 8
[019:852] [2022-05-15 04:13:54 +0000.506593][38a8]
RecordAudioSource::PullAudioFrame
[019:945] [2022-05-15 04:13:54 +0000.599305][38a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:061] [2022-05-15 04:13:54 +0000.716008][38b1] DTS queue for
Generator:0x7840d6a4b8 5764 5794
[020:156] [2022-05-15 04:13:54 +0000.810867][3746] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:156] [2022-05-15 04:13:54 +0000.811017][3746] _deviceSampleRate:48000

[020:160] [2022-05-15 04:13:54 +0000.814509][3745] Run AGC when audioType = 0


[020:162] [2022-05-15 04:13:54 +0000.816601][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:221] [2022-05-15 04:13:54 +0000.875272][3741] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[020:262] [2022-05-15 04:13:54 +0000.917132][3741] The convert RGB to YUV take 4
[020:302] [2022-05-15 04:13:54 +0000.956956][38b1] h264 add frame header cdr flag
[020:303] [2022-05-15 04:13:54 +0000.957750][38b1] Received key frame:5999
[020:338] [2022-05-15 04:13:54 +0000.992607][38b2] get the H.264 IDR frame
[020:428] [2022-05-15 04:13:55 +0000.83094][3741] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2984 diff: 17
[020:531] [2022-05-15 04:13:55 +0000.185965][2ab3]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[020:532] [2022-05-15 04:13:55 +0000.186463][3741] operator(): Stop
[020:532] [2022-05-15 04:13:55 +0000.186584][3741] StopPullFrameAndWriteMp4
time:311699344 enter.

[020:532] [2022-05-15 04:13:55 +0000.186632][3741] StopRecording:


[020:536] [2022-05-15 04:13:55 +0000.190867][38a8] resampled_data_size:512
[020:537] [2022-05-15 04:13:55 +0000.191308][38a8] AF_SpeedFilter audio time 222,
0x78e98d7980 out time: 311699300 org time: 311699300
[020:537] [2022-05-15 04:13:55 +0000.191485][38a8] PullAudioFrame: PullFrame audio
finished.
[020:537] [2022-05-15 04:13:55 +0000.191558][38a8]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[020:539] [2022-05-15 04:13:55 +0000.193763][38b1]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:189
[020:540] [2022-05-15 04:13:55 +0000.194871][3740] stop recording
[020:540] [2022-05-15 04:13:55 +0000.194966][3740]
RecordingSessionInternalSimple:destroy media processers
[020:540] [2022-05-15 04:13:55 +0000.195004][3740] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[020:540] [2022-05-15 04:13:55 +0000.195036][3740] H264Encode::flushing hareware
Encoder
[020:541] [2022-05-15 04:13:55 +0000.195252][3740] Flush time:311699353 enter.

[020:541] [2022-05-15 04:13:55 +0000.195303][3740] H264Encoder encoder flush


[020:541] [2022-05-15 04:13:55 +0000.195334][3740] flush output queue
[020:543] [2022-05-15 04:13:55 +0000.198089][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[020:856] [2022-05-15 04:13:55 +0000.510531][3740] Flush leave. expire time = 315
ms

[020:856] [2022-05-15 04:13:55 +0000.510837][3740] ~H264EncodeWrap:


[020:856] [2022-05-15 04:13:55 +0000.510914][3740] ~H264Encode:
[020:856] [2022-05-15 04:13:55 +0000.510970][3740] teardownCompressionSession:
H264Encode::destroying Encoder
[020:856] [2022-05-15 04:13:55 +0000.511027][3740] Release time:311699668 enter.

[020:857] [2022-05-15 04:13:55 +0000.511304][3740] Release:


MediaCodecVideoEncoder::Release _inited:1
[020:857] [2022-05-15 04:13:55 +0000.511402][3740] Destroy time:311699669 enter.

[020:857] [2022-05-15 04:13:55 +0000.511462][3740] H264Encoder encoderDestroy


[020:857] [2022-05-15 04:13:55 +0000.511600][3740]
AndroidMediaCodecVideoEncoder::release env: 0x7841028f40
[020:857] [2022-05-15 04:13:55 +0000.511665][3740]
AndroidMediaCodecVideoEncoder::Destroy
[020:890] [2022-05-15 04:13:55 +0000.545059][3740] Destroy leave. expire time = 33
ms

[020:891] [2022-05-15 04:13:55 +0000.545229][3740] Release leave. expire time = 35


ms

[020:891] [2022-05-15 04:13:55 +0000.545295][3740] ~AndroidHwAvcEncoder


time:311699703 enter.

[020:891] [2022-05-15 04:13:55 +0000.545515][3740] Release time:311699703 enter.

[020:891] [2022-05-15 04:13:55 +0000.545582][3740] Release:


MediaCodecVideoEncoder:: has been released before, just return
[020:891] [2022-05-15 04:13:55 +0000.545617][3740] Release leave. expire time = 0
ms

[020:891] [2022-05-15 04:13:55 +0000.545673][3740] ~AndroidMediaCodecVideoEncoder


[020:891] [2022-05-15 04:13:55 +0000.545703][3740] ~WrapAndroidMediaCodec
time:311699703 enter.

[020:891] [2022-05-15 04:13:55 +0000.545745][3740] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[020:891] [2022-05-15 04:13:55 +0000.545773][3740] video hevc hw codec


destructor:0x7840f91c10

[020:891] [2022-05-15 04:13:55 +0000.545899][3740] ~AndroidHwAvcEncoder leave.


expire time = 0 ms
[020:891] [2022-05-15 04:13:55 +0000.545985][3740] teardownCompressionSession:
H264Encode::destroyed Encoder
[020:891] [2022-05-15 04:13:55 +0000.546085][3740]
RecordingSessionInternalSimple:destroy aac encoder output!
[020:891] [2022-05-15 04:13:55 +0000.546116][3740] AACSWEncode destructor
[020:899] [2022-05-15 04:13:55 +0000.553175][38b2] MP4 close file successfully
[020:899] [2022-05-15 04:13:55 +0000.553317][38b2] Recording session Internal:
notify recording ok
[020:899] [2022-05-15 04:13:55 +0000.553367][38b2] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4,
output_video_timestamp_:6256 last_video_pts_:6256
[020:899] [2022-05-15 04:13:55 +0000.553433][38b2] OnRecordFinish:
[020:900] [2022-05-15 04:13:55 +0000.554962][38b2] onRecordingOk: net seek
pos:0record video duration:6289record audio duration:6269
[020:901] [2022-05-15 04:13:55 +0000.555837][38a9] destructMicSource_w:
[020:901] [2022-05-15 04:13:55 +0000.555989][38a9] setOutput_w:
MicSource::setOutput() 0x0
[020:901] [2022-05-15 04:13:55 +0000.556055][38a9] close external audio stream

[020:903] [2022-05-15 04:13:55 +0000.557518][3741] releaseThread 0x78e98d6180


[020:903] [2022-05-15 04:13:55 +0000.557616][3741] ~MicSource: Mic source
destroyed:0x78e9961b80
[020:904] [2022-05-15 04:13:55 +0000.558631][3741] StopPullFrameAndWriteMp4 leave.
expire time = 372 ms

[020:904] [2022-05-15 04:13:55 +0000.558704][3741] DestroyPipelineAndFilters


time:311699716 enter.

[020:904] [2022-05-15 04:13:55 +0000.558751][3741] UnbindInputFilter 0x78e98d77c0


this 0x78e99931c0
[020:904] [2022-05-15 04:13:55 +0000.558794][3741] UnbindInputFilter 0x78e98d7958
this 0x78e98d7ad0
[020:904] [2022-05-15 04:13:55 +0000.558845][3741] UnbindInputFilter 0x78e99931c0
this 0x78e98db6e0
[020:904] [2022-05-15 04:13:55 +0000.558877][3741] filter: filter pipeline destroy
this: 0x78e98db640
[020:904] [2022-05-15 04:13:55 +0000.559148][3741] ClearVideoOfSources: recodring
total frames:0
[020:905] [2022-05-15 04:13:55 +0000.559199][3741] ClearVideoOfSources:
[020:905] [2022-05-15 04:13:55 +0000.559230][3741] GPUImageProcessing destruct.
[020:905] [2022-05-15 04:13:55 +0000.559299][3741] destroy TrivalImageDrawer
0x784c2a5500
[020:905] [2022-05-15 04:13:55 +0000.559339][3741] The shader has been initialize,
clean up them.

[020:905] [2022-05-15 04:13:55 +0000.559397][3741] ~OpenGLFrameBuffer:


[020:905] [2022-05-15 04:13:55 +0000.559575][3741] ~OpenGLFrameBuffer:
[020:905] [2022-05-15 04:13:55 +0000.559722][3741] ~OpenGLFrameBuffer:
[020:905] [2022-05-15 04:13:55 +0000.559846][3741] ~OpenGLFrameBuffer:
[020:905] [2022-05-15 04:13:55 +0000.559982][3741] ~OpenGLFrameBuffer:
[020:905] [2022-05-15 04:13:55 +0000.560118][3741] ~OpenGLFrameBuffer:
[020:906] [2022-05-15 04:13:55 +0000.560305][3741] GPUImageProcessing destruct
finish.
[020:906] [2022-05-15 04:13:55 +0000.560413][3741] GPURGBAFrame destruct.
[020:906] [2022-05-15 04:13:55 +0000.560526][3741] destroy OpenGLRenderProgram
0x78e9992f98
[020:906] [2022-05-15 04:13:55 +0000.560575][3741] ~CameraSource time:311699718
enter.

[020:906] [2022-05-15 04:13:55 +0000.560605][3741] ~CameraSource leave. expire


time = 0 ms

[020:906] [2022-05-15 04:13:55 +0000.560645][3741] ~RecordAudioSource


time:311699718 enter.

[020:906] [2022-05-15 04:13:55 +0000.560679][3741] ~RecordAudioSource leave.


expire time = 0 ms

[020:906] [2022-05-15 04:13:55 +0000.560716][3741] DestroyPipelineAndFilters


leave. expire time = 2 ms

[020:928] [2022-05-15 04:13:55 +0000.583064][2ab3]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[020:929] [2022-05-15 04:13:55 +0000.583803][2ab3] machine model :redmi
[020:929] [2022-05-15 04:13:55 +0000.583852][2ab3] Support this machine
model :redmi
[020:929] [2022-05-15 04:13:55 +0000.583878][2ab3] global inited! current sdk
version: 07-20-936c45f
[020:929] [2022-05-15 04:13:55 +0000.584095][2ab3] filter: filter pipeline
construtc this: 0x78413ea900
[020:930] [2022-05-15 04:13:55 +0000.584150][2ab3] MediaFilterGraph:
MediaFilterGraph construct
[020:930] [2022-05-15 04:13:55 +0000.584182][2ab3] GLESContext:
[020:930] [2022-05-15 04:13:55 +0000.584248][2ab3] The result of eglGetDisplay is:
0x1
[020:933] [2022-05-15 04:13:55 +0000.587434][2ab3] The result of creation:
0x7852d11480
[020:933] [2022-05-15 04:13:55 +0000.587685][2ab3] The result of
eglCreatePbufferSurface is: 0x7852d11500
[020:934] [2022-05-15 04:13:55 +0000.588926][2ab3] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
[020:934] [2022-05-15 04:13:55 +0000.589007][2ab3] The source 0 speed:1
[020:934] [2022-05-15 04:13:55 +0000.589052][2ab3] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4,
delay: 0
[020:934] [2022-05-15 04:13:55 +0000.589092][2ab3] CreateDecoderByVideoSource
time:311699746 enter.

[020:935] [2022-05-15 04:13:55 +0000.589816][2ab3] running_decoder_count:0max


count:2
[020:935] [2022-05-15 04:13:55 +0000.589897][2ab3] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7846ab2400
[020:948] [2022-05-15 04:13:55 +0000.602506][38cb] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x78dbaa9200] Current FFmpeg version git-2021-06-16-
97cea6f

[021:146] [2022-05-15 04:13:55 +0000.801045][38cb] OnStreamInfoFound: video


duration_: 6289
[021:148] [2022-05-15 04:13:55 +0000.802435][38cc] NO get frame from decoder
[021:148] [2022-05-15 04:13:55 +0000.802435][2ab3] start decoder
[021:148] [2022-05-15 04:13:55 +0000.802661][2ab3] CreateDecoderByVideoSource
leave. expire time = 214 ms

[021:148] [2022-05-15 04:13:55 +0000.802778][2ab3] BindInputFilter 0x783da0e9a0


this 0x78db7d7b58
[021:148] [2022-05-15 04:13:55 +0000.802899][2ab3] BindInputFilter 0x78db7d7b58
this 0x7852b86798
[021:148] [2022-05-15 04:13:55 +0000.802973][2ab3] BindInputFilter 0x783da0e9a0
this 0x7846685d98
[021:148] [2022-05-15 04:13:55 +0000.803048][2ab3] BindInputFilter 0x7846685d98
this 0x7846685fd8
[021:148] [2022-05-15 04:13:55 +0000.803089][2ab3] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
[021:149] [2022-05-15 04:13:55 +0000.803150][2ab3] BindInputFilter 0x7852b86798
this 0x7846aaac18
[021:149] [2022-05-15 04:13:55 +0000.803238][2ab3] BindInputFilter 0x7846aaac18
this 0x78413ea9a0
[021:149] [2022-05-15 04:13:55 +0000.803374][2ab3] BindInputFilter 0x7846685fd8
this 0x7840fee658
[021:149] [2022-05-15 04:13:55 +0000.803440][2ab3] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_311692861.mp4
[021:151] [2022-05-15 04:13:55 +0000.805244][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[021:152] [2022-05-15 04:13:55 +0000.806289][2ab3] machine model :redmi
[021:152] [2022-05-15 04:13:55 +0000.806387][2ab3] Support this machine
model :redmi
[021:152] [2022-05-15 04:13:55 +0000.806418][2ab3] global inited! current sdk
version: 07-20-936c45f
[021:152] [2022-05-15 04:13:55 +0000.806499][2ab3] GetPipeline:
-----------------------------------------
[021:152] [2022-05-15 04:13:55 +0000.806546][2ab3] GetPipeline: source:
0x783da0e780
[021:152] [2022-05-15 04:13:55 +0000.806579][2ab3] GetPipeline: filter: NULLFilter
[021:152] [2022-05-15 04:13:55 +0000.806615][2ab3] GetPipeline: filter: NULLFilter
[021:149] [2022-05-15 04:13:55 +0000.803221][38cc] NO get frame from decoder
[021:152] [2022-05-15 04:13:55 +0000.806651][2ab3] GetPipeline: filter: NULLFilter
[021:152] [2022-05-15 04:13:55 +0000.806688][2ab3] GetPipeline: audio filter:
AuidoNULLFilter
[021:152] [2022-05-15 04:13:55 +0000.806732][2ab3] GetPipeline: audio filter:
AuidoNULLFilter
[021:152] [2022-05-15 04:13:55 +0000.806770][2ab3] GetPipeline: audio filter:
AudioNUllFilter
[021:152] [2022-05-15 04:13:55 +0000.806806][2ab3] GetPipeline:
------------------------------------------
[021:152] [2022-05-15 04:13:55 +0000.806850][2ab3] filter: filter pipeline2 update
pattern: 0
[021:152] [2022-05-15 04:13:55 +0000.806962][38cc] NO get frame from decoder
[021:154] [2022-05-15 04:13:55 +0000.808247][2ab3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:154] [2022-05-15 04:13:55 +0000.808544][2ab3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:154] [2022-05-15 04:13:55 +0000.808657][2ab3] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[021:154] [2022-05-15 04:13:55 +0000.808883][2ab3] DeviceInit:
[021:155] [2022-05-15 04:13:55 +0000.809248][2ab3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[021:155] [2022-05-15 04:13:55 +0000.809582][2ab3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[021:155] [2022-05-15 04:13:55 +0000.809889][2ab3] CreatePlatformSpecificObjects:
[021:155] [2022-05-15 04:13:55 +0000.809946][2ab3] audio device use null audio
input and opensl output
[021:155] [2022-05-15 04:13:55 +0000.809991][2ab3] Create OpenSLES output module
with java VM support.

[021:156] [2022-05-15 04:13:55 +0000.810309][2ab3] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[021:156] [2022-05-15 04:13:55 +0000.810639][38cc] NO get frame from decoder
[021:156] [2022-05-15 04:13:55 +0000.810951][2ab3] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[021:157] [2022-05-15 04:13:55 +0000.811494][2ab3] Create OpenSLES output module
with buffer num:2

[021:157] [2022-05-15 04:13:55 +0000.811614][2ab3] Error(trace.cc:40): Init the


output and input for audio device template.
[021:157] [2022-05-15 04:13:55 +0000.811672][2ab3] Init the output device.

[021:157] [2022-05-15 04:13:55 +0000.811705][2ab3] Set the playout as stereo:1


[021:157] [2022-05-15 04:13:55 +0000.811738][2ab3] Set the sample rate to be:44100

[021:157] [2022-05-15 04:13:55 +0000.811799][2ab3] Low latency buffer size:256 low


sample rate:48000
[021:157] [2022-05-15 04:13:55 +0000.811854][2ab3] DeviceInit: Done
[021:157] [2022-05-15 04:13:55 +0000.812084][2ab3] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[021:159] [2022-05-15 04:13:55 +0000.813787][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[021:159] [2022-05-15 04:13:55 +0000.814015][2ab3]
MediaFilterPlayer::SetPlayerNotify 0x78411db080
[021:160] [2022-05-15 04:13:55 +0000.814456][38d9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78465ca918
[021:161] [2022-05-15 04:13:55 +0000.815453][2ab3]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[021:161] [2022-05-15 04:13:55 +0000.815580][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[021:162] [2022-05-15 04:13:55 +0000.816934][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[021:164] [2022-05-15 04:13:55 +0000.818308][2ab3] SetGraphLoop: SetGraphLoop 1
[021:164] [2022-05-15 04:13:55 +0000.818418][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[021:165] [2022-05-15 04:13:55 +0000.819524][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[021:167] [2022-05-15 04:13:55 +0000.821250][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[021:167] [2022-05-15 04:13:55 +0000.821574][38cc] NO get frame from decoder
[021:168] [2022-05-15 04:13:55 +0000.823093][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[021:169] [2022-05-15 04:13:55 +0000.823275][38cc] NO get frame from decoder
[021:169] [2022-05-15 04:13:55 +0000.823418][38db] Start:
[021:173] [2022-05-15 04:13:55 +0000.827910][38cc] NO get frame from decoder
[021:175] [2022-05-15 04:13:55 +0000.829310][38da] operator(): video render
started.
[021:175] [2022-05-15 04:13:55 +0000.829466][38db] Start:
[021:175] [2022-05-15 04:13:55 +0000.829608][38db] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[021:175] [2022-05-15 04:13:55 +0000.829653][38db] Reset: history total size: 98
[021:175] [2022-05-15 04:13:55 +0000.829679][38db] DeviceStart:
audioDevice_:0x7839ab9000
[021:175] [2022-05-15 04:13:55 +0000.829698][38db] DeviceStart: time profile
playout init before
[021:175] [2022-05-15 04:13:55 +0000.829721][38db] DeviceStart: time profile
playout init end
[021:175] [2022-05-15 04:13:55 +0000.829739][38db] OpenSlesOutput:Start playout

[021:175] [2022-05-15 04:13:55 +0000.829862][38da] DriveRender working... (1/200)


[021:175] [2022-05-15 04:13:55 +0000.829898][38da] Warning(video_render.cc:390): No
picture to display (1/50)
[021:176] [2022-05-15 04:13:55 +0000.830735][38cc] NO get frame from decoder
[021:177] [2022-05-15 04:13:55 +0000.831899][38db] Create the opensl output player.
streamtype before:0

[021:177] [2022-05-15 04:13:55 +0000.831966][38db] Create the opensl output player.


streamtype after:3

[021:211] [2022-05-15 04:13:55 +0000.865497][38db] Enqueue opensl buffer size:1764


[021:238] [2022-05-15 04:13:55 +0000.892612][38db] DeviceStart: time profile
playout all end
[021:238] [2022-05-15 04:13:55 +0000.892641][38de]
PlayerSimpleBufferQueueCallbackHandler function
[021:238] [2022-05-15 04:13:55 +0000.892724][38db] operator(): Audio playback
started.
[021:238] [2022-05-15 04:13:55 +0000.892797][38de] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[021:238] [2022-05-15 04:13:55 +0000.892814][38db] operator(): Started now!
[021:238] [2022-05-15 04:13:55 +0000.892837][38de]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:238] [2022-05-15 04:13:55 +0000.892897][38dc] Pull audio failed.(wait video!)
[021:238] [2022-05-15 04:13:55 +0000.892937][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:239] [2022-05-15 04:13:55 +0000.893305][38dd] Error(video_source.cc:430): wait
decoder a frame: 0
[021:239] [2022-05-15 04:13:55 +0000.894040][38dc] Pull audio failed.(wait video!)
[021:239] [2022-05-15 04:13:55 +0000.894110][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:240] [2022-05-15 04:13:55 +0000.894971][38dc] Pull audio failed.(wait video!)
[021:240] [2022-05-15 04:13:55 +0000.895037][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:241] [2022-05-15 04:13:55 +0000.895854][38dc] Pull audio failed.(wait video!)
[021:241] [2022-05-15 04:13:55 +0000.895894][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:242] [2022-05-15 04:13:55 +0000.896816][38dc] Pull audio failed.(wait video!)
[021:242] [2022-05-15 04:13:55 +0000.896889][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:243] [2022-05-15 04:13:55 +0000.897565][38dd] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[021:245] [2022-05-15 04:13:55 +0000.899555][38dd] OnVideoFrameReady(1/200)
[021:245] [2022-05-15 04:13:55 +0000.899715][38da] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[021:246] [2022-05-15 04:13:55 +0000.900831][38dc] audio_frame_list_ empty
[021:253] [2022-05-15 04:13:55 +0000.907223][38da] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:311700065
[021:275] [2022-05-15 04:13:55 +0000.929651][38dd]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[021:340] [2022-05-15 04:13:55 +0000.995011][38da] lipsync_debug: render a video
frame
[021:341] [2022-05-15 04:13:55 +0000.995153][38da] lipsync_debug: First video frame
rendering.
[021:358] [2022-05-15 04:13:56 +0000.12307][38da] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:24 timeDelta:105 last video ts:900 frame->pts:3060
pkt_dts:-9223372036854775808 pkt_pts:-9223372036854775808
[021:358] [2022-05-15 04:13:56 +0000.12441][38da] lipsync_debug: tsDelta -
timeDelta = -81
[021:358] [2022-05-15 04:13:56 +0000.12476][38da] lipsync_debug:result remaining
time:0
[021:358] [2022-05-15 04:13:56 +0000.12520][38da] dynamic updated lipsync delay:0
[021:531] [2022-05-15 04:13:56 +0000.185373][38dc] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[021:531] [2022-05-15 04:13:56 +0000.185515][38dc] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[021:531] [2022-05-15 04:13:56 +0000.185501][38dd] video frame wait audio frame:
last_video_timestamp:144 last_audio_timestamp:0
[021:531] [2022-05-15 04:13:56 +0000.185874][38dc] audio frame wait video
frame.last_video_timestamp:144 last_audio_timestamp:254.921
[021:532] [2022-05-15 04:13:56 +0000.186305][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:532] [2022-05-15 04:13:56 +0000.187000][38dc] audio frame wait video
frame.last_video_timestamp:144 last_audio_timestamp:254.921
[021:533] [2022-05-15 04:13:56 +0000.187281][38dc]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[021:533] [2022-05-15 04:13:56 +0000.187850][38dc] audio frame wait video
frame.last_video_timestamp:144 last_audio_timestamp:254.921
[021:533] [2022-05-15 04:13:56 +0000.187944][38db] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[021:533] [2022-05-15 04:13:56 +0000.188055][38db] The audio playback speed:100
(1/100)
[021:533] [2022-05-15 04:13:56 +0000.188086][38db] lipsync_debug: The current
played audio timestamp is:0(1/50)
[021:533] [2022-05-15 04:13:56 +0000.188106][38db] First audio frame rendering
[021:654] [2022-05-15 04:13:56 +0000.309085][38da] lipsync_debug:remaining time:10
tsDelta - timeDelta:17
[021:655] [2022-05-15 04:13:56 +0000.309181][38da] lipsync_debug:result remaining
time:10
[021:906] [2022-05-15 04:13:56 +0000.560305][38da] lipsync_debug:displaying video
ts:59670 The current displayed video timestamp is:311700718
[022:147] [2022-05-15 04:13:56 +0000.801311][38de]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:159] [2022-05-15 04:13:56 +0000.813784][3745] Run AGC when audioType = 0
[022:238] [2022-05-15 04:13:56 +0000.892502][38db] do work DoLipsync!
[022:238] [2022-05-15 04:13:56 +0000.892661][38db] total delay:348 videoTsMS:994
audioTsMS:646 diff:348
[022:238] [2022-05-15 04:13:56 +0000.892705][38db] Set the lipsync delay:348
[022:257] [2022-05-15 04:13:56 +0000.912082][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[022:538] [2022-05-15 04:13:57 +0000.192815][38dd] Error(video_source.cc:430): wait
decoder a frame: 0
[022:729] [2022-05-15 04:13:57 +0000.383949][38da] lipsync_debug:displaying video
ts:119070 The current displayed video timestamp is:311701541
[022:947] [2022-05-15 04:13:57 +0000.601286][38da] DriveRender working... (1/200)
[023:143] [2022-05-15 04:13:57 +0000.797264][38de]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:207] [2022-05-15 04:13:57 +0000.862083][38da]
lipsync_debug:lipsync_threadhold: lipsync_delta:16 tsDelta:49 timeDelta:22 last
video ts:146610 frame->pts:149580 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[023:208] [2022-05-15 04:13:57 +0000.862428][38da] lipsync_debug: tsDelta -
timeDelta = 27
[023:579] [2022-05-15 04:13:58 +0000.233280][38da] lipsync_debug:displaying video
ts:179100 The current displayed video timestamp is:311702391
[023:613] [2022-05-15 04:13:58 +0000.267269][38dc] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[023:613] [2022-05-15 04:13:58 +0000.267431][38dc] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[023:663] [2022-05-15 04:13:58 +0000.317976][38db] The audio playback speed:100
(1/100)
[023:663] [2022-05-15 04:13:58 +0000.318050][38db] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[023:679] [2022-05-15 04:13:58 +0000.333685][38da] lipsync_debug:remaining time:10
tsDelta - timeDelta:2
[023:679] [2022-05-15 04:13:58 +0000.333767][38da] lipsync_debug:result remaining
time:2
[023:909] [2022-05-15 04:13:58 +0000.563414][38dd] Error(video_source.cc:430): wait
decoder a frame: 0
[023:971] [2022-05-15 04:13:58 +0000.625435][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[024:139] [2022-05-15 04:13:58 +0000.793856][38de]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:160] [2022-05-15 04:13:58 +0000.814635][3745] Run AGC when audioType = 0
[024:160] [2022-05-15 04:13:58 +0000.814795][3745]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:254] [2022-05-15 04:13:58 +0000.908597][38da] lipsync_debug:displaying video
ts:239490 The current displayed video timestamp is:311703066
[024:501] [2022-05-15 04:13:59 +0000.156097][38da] DriveRender working... (1/200)
[024:520] [2022-05-15 04:13:59 +0000.174433][38dd] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 299430pts ms:3.327e+06
[024:523] [2022-05-15 04:13:59 +0000.177599][38dd] OnVideoFrameReady(1/200)
[024:523] [2022-05-15 04:13:59 +0000.177744][38da] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[024:696] [2022-05-15 04:13:59 +0000.350418][2ab3]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[024:698] [2022-05-15 04:13:59 +0000.352325][38db] Stop:
[024:702] [2022-05-15 04:13:59 +0000.356340][38da] operator(): Video Render
stopped.
[024:702] [2022-05-15 04:13:59 +0000.356709][38db] Stop:
[024:702] [2022-05-15 04:13:59 +0000.357013][38db] DeviceStop:
audioDevice_:0x7839ab9000
[024:702] [2022-05-15 04:13:59 +0000.357108][38db] OpenSlesOutput:Stop playout

[024:707] [2022-05-15 04:13:59 +0000.361331][38db] DeviceStop: Done


[024:707] [2022-05-15 04:13:59 +0000.361609][38db] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[024:707] [2022-05-15 04:13:59 +0000.361702][38db] operator(): Stop now!
[024:708] [2022-05-15 04:13:59 +0000.362371][2ab3] Stop:
[024:708] [2022-05-15 04:13:59 +0000.362533][38db] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[024:708] [2022-05-15 04:13:59 +0000.362812][2ab3] DeviceRelease:
audioDevice_:0x7839ab9000
[024:708] [2022-05-15 04:13:59 +0000.362878][2ab3] OpenSlesOutput:Stop playout

[024:708] [2022-05-15 04:13:59 +0000.362930][2ab3] DeviceRelease: Release the


webrtc device object.
[024:709] [2022-05-15 04:13:59 +0000.363249][2ab3] OpenSlesOutput destruct.

[024:709] [2022-05-15 04:13:59 +0000.363354][2ab3] DeviceRelease: Done


[024:709] [2022-05-15 04:13:59 +0000.363503][2ab3] Stop:
[024:709] [2022-05-15 04:13:59 +0000.363693][38da] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[024:716] [2022-05-15 04:13:59 +0000.370225][2ab3] global uninited!
[024:717] [2022-05-15 04:13:59 +0000.371727][2ab3]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[024:717] [2022-05-15 04:13:59 +0000.371935][2ab3] ~MediaFilterGraph:
MediaFilterGraph destruct
[024:717] [2022-05-15 04:13:59 +0000.371992][2ab3] RemoveVideoBackGroud: hava not
add video backgroud
[024:717] [2022-05-15 04:13:59 +0000.372123][2ab3] UnbindInputFilter 0x7846aaac18
this 0x78413ea9a0
[024:718] [2022-05-15 04:13:59 +0000.372241][2ab3] ClearAllSource: remove source
filter, sourceid: 0x783da0e780
[024:718] [2022-05-15 04:13:59 +0000.372275][2ab3] DestoryDecoderByVideoSource
time:311703530 enter.

[024:718] [2022-05-15 04:13:59 +0000.372309][2ab3] ~VideoBindDecoder time:311703530


enter.

[024:720] [2022-05-15 04:13:59 +0000.374633][2ab3] CleanUp time:311703532 enter.

[024:727] [2022-05-15 04:13:59 +0000.381621][2ab3] CleanUp leave. expire time = 7


ms

[024:727] [2022-05-15 04:13:59 +0000.381724][2ab3] CleanUp time:311703539 enter.

[024:727] [2022-05-15 04:13:59 +0000.382109][2ab3] CleanUp leave. expire time = 0


ms

[024:728] [2022-05-15 04:13:59 +0000.382813][2ab3] ~VideoBindDecoder leave. expire


time = 10 ms

[024:728] [2022-05-15 04:13:59 +0000.382904][2ab3] DestoryDecoderByVideoSource


leave. expire time = 10 ms

[024:728] [2022-05-15 04:13:59 +0000.382971][2ab3] UnbindInputFilter 0x7852b86798


this 0x7846aaac18
[024:728] [2022-05-15 04:13:59 +0000.383031][2ab3] UnbindInputFilter 0x78db7d7b58
this 0x7852b86798
[024:728] [2022-05-15 04:13:59 +0000.383092][2ab3] UnbindInputFilter 0x783da0e9a0
this 0x78db7d7b58
[024:728] [2022-05-15 04:13:59 +0000.383140][2ab3] UnbindInputFilter 0x7846685fd8
this 0x7840fee658
[024:729] [2022-05-15 04:13:59 +0000.383233][2ab3] UnbindInputFilter 0x7846685d98
this 0x7846685fd8
[024:729] [2022-05-15 04:13:59 +0000.383299][2ab3] UnbindInputFilter 0x783da0e9a0
this 0x7846685d98
[024:732] [2022-05-15 04:13:59 +0000.387002][2ab3] ~GLESContext:
[024:736] [2022-05-15 04:13:59 +0000.390331][2ab3] GLESContext destruct finish.
[024:736] [2022-05-15 04:13:59 +0000.390438][2ab3] filter: filter pipeline destroy
this: 0x78413ea900
[025:679] [2022-05-15 04:14:00 +0000.333852][3745] haveEnoughProcessedData
internalAudioStream.length: 0
[026:159] [2022-05-15 04:14:00 +0000.813850][3745] Run AGC when audioType = 0
[026:447] [2022-05-15 04:14:01 +0000.101244][2af6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[026:447] [2022-05-15 04:14:01 +0000.101417][2af6] ~MediaFilterCamera
time:311705259 enter.
[026:447] [2022-05-15 04:14:01 +0000.101443][2af6] StopPullFrameAndWriteMp4
time:311705259 enter.

[026:451] [2022-05-15 04:14:01 +0000.105771][3740] stop recording


[026:451] [2022-05-15 04:14:01 +0000.105884][3740] we have stopped recording before
[026:451] [2022-05-15 04:14:01 +0000.106001][2af6] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[026:454] [2022-05-15 04:14:01 +0000.108861][2af6] DestroyPipelineAndFilters


time:311705266 enter.

[026:454] [2022-05-15 04:14:01 +0000.108927][2af6] DestroyPipelineAndFilters


leave. expire time = 0 ms

[026:454] [2022-05-15 04:14:01 +0000.108945][2af6] AppDeviceManagerStopMic

[026:454] [2022-05-15 04:14:01 +0000.108982][2af6] AppDeviceManagerStopMic::mic


status is on
[026:454] [2022-05-15 04:14:01 +0000.108994][2af6] Try to stop webrtc device.

[026:454] [2022-05-15 04:14:01 +0000.109007][2af6] Set record state to


stopped.threadID:10998

[026:484] [2022-05-15 04:14:01 +0000.138874][2af6] Try to destory the


recorder.threadID:10998

[026:684] [2022-05-15 04:14:01 +0000.339159][2af6] DestroyAudioRecorder:


[026:685] [2022-05-15 04:14:01 +0000.339449][2af6] Cleanup the buffer queue in the
recorder.
[026:685] [2022-05-15 04:14:01 +0000.339552][2af6] Destroy the recorder.

[026:692] [2022-05-15 04:14:01 +0000.346551][2af6] StopRecording finished.

[026:692] [2022-05-15 04:14:01 +0000.346659][2af6] The stop recording success.

[026:692] [2022-05-15 04:14:01 +0000.346698][2af6]


AudioDeviceDataHandler::StopMicProcess

[026:697] [2022-05-15 04:14:01 +0000.352015][2af6] AppDeviceManager stop.

[026:698] [2022-05-15 04:14:01 +0000.352178][2af6] Rlease the webrtc device object.

[026:699] [2022-05-15 04:14:01 +0000.354060][2af6] OpenSlesInput destruct.

[026:700] [2022-05-15 04:14:01 +0000.354299][2af6] OpenSlesOutput destruct.

[026:702] [2022-05-15 04:14:01 +0000.356425][2af6] EventDispatchServerScope


destruct
[026:702] [2022-05-15 04:14:01 +0000.356485][000:027] [2022-05-21 17:00:10
+0000.741252][45e9] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
21 17:00:10 +0000
[000:027] [2022-05-21 17:00:10 +0000.741290][45e9] set AppID=50011 old AppID=-1
[000:027] [2022-05-21 17:00:10 +0000.741303][45e9] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859a5318

[000:027] [2022-05-21 17:00:10 +0000.741327][45e9] SetAndroidMediaCodecObjects


time:597402936 enter.
[000:027] [2022-05-21 17:00:10 +0000.741363][45e9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:027] [2022-05-21 17:00:10 +0000.741377][45e9] SetAndroidMediaCodecObjects


time:597402936 enter.

[000:027] [2022-05-21 17:00:10 +0000.741388][45e9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:027] [2022-05-21 17:00:10 +0000.741408][45e9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x781eb10760
[000:027] [2022-05-21 17:00:10 +0000.741421][45e9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x781eb10760
[000:027] [2022-05-21 17:00:10 +0000.741433][45e9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:027] [2022-05-21 17:00:10 +0000.741451][45e9] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859a5318

[000:028] [2022-05-21 17:00:10 +0000.741901][45e9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dcad6580
[000:028] [2022-05-21 17:00:10 +0000.741939][45e9] SystemUtil Init done
[000:030] [2022-05-21 17:00:10 +0000.744201][45e9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:031] [2022-05-21 17:00:10 +0000.744809][45e9] MediaFilterCamera
[000:031] [2022-05-21 17:00:10 +0000.745282][45e9] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:031] [2022-05-21 17:00:10 +0000.745385][45e9] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:031] [2022-05-21 17:00:10 +0000.745417][45e9] Recording session using default
bitrate support by app:31457280
[000:031] [2022-05-21 17:00:10 +0000.745412][4cc1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x783c7dbe40
[000:032] [2022-05-21 17:00:10 +0000.745845][4cc1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:032] [2022-05-21 17:00:10 +0000.745922][45e9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:032] [2022-05-21 17:00:10 +0000.746556][45e9] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-05-21 17:00:10 +0000.746603][45e9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:033] [2022-05-21 17:00:10 +0000.746730][45e9] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:037] [2022-05-21 17:00:10 +0000.751215][45e9] Error(ini.cc:191): Open the file
failed. error:2
[000:037] [2022-05-21 17:00:10 +0000.751282][45e9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:037] [2022-05-21 17:00:10 +0000.751304][45e9] The device model: 21091116ai
usingHardwareAEC value: 0
[000:037] [2022-05-21 17:00:10 +0000.751317][45e9] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:037] [2022-05-21 17:00:10 +0000.751332][45e9] Using Default AEC type: software
AEC
[000:038] [2022-05-21 17:00:10 +0000.752341][45e9] The device model: 21091116ai
enum value: 0
[000:040] [2022-05-21 17:00:10 +0000.753859][45e9] GetMachineModel is 21091116AI
[000:040] [2022-05-21 17:00:10 +0000.753973][45e9] GetMachineInfo: 21091116AI
[000:040] [2022-05-21 17:00:10 +0000.754048][45e9] Construct BeautifyReader
begin...
[000:040] [2022-05-21 17:00:10 +0000.754114][45e9] dumpStickerRgba:0
dumpStickerYuv:0
[000:040] [2022-05-21 17:00:10 +0000.754164][45e9] Construct BeautifyReader done.
[000:044] [2022-05-21 17:00:10 +0000.758581][45e9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:045] [2022-05-21 17:00:10 +0000.758677][4cc4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x783c9270a0
[000:045] [2022-05-21 17:00:10 +0000.758902][45e9] AppDeviceManager telnet server
for statistics started......
[000:045] [2022-05-21 17:00:10 +0000.759272][45e9] CpuOverloadDetect time:597402954
enter.

[000:045] [2022-05-21 17:00:10 +0000.759349][45e9] CpuOverloadDetect leave. expire


time = 0 ms

[000:045] [2022-05-21 17:00:10 +0000.759501][4cc5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7865428e80
[000:046] [2022-05-21 17:00:10 +0000.759823][45e9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:046] [2022-05-21 17:00:10 +0000.759845][45e9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:046] [2022-05-21 17:00:10 +0000.760158][45e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-05-21 17:00:10 +0000.760805][45e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-05-21 17:00:10 +0000.761453][45e9] CreatePlatformSpecificObjects:
[000:047] [2022-05-21 17:00:10 +0000.761504][45e9] audio device use opensle input
and opensl output
[000:047] [2022-05-21 17:00:10 +0000.761524][45e9] Create OpenSLES output module
with java VM support.

[000:048] [2022-05-21 17:00:10 +0000.761666][45e9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-05-21 17:00:10 +0000.761816][45e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-05-21 17:00:10 +0000.762006][45e9] Create OpenSLES output module
with buffer num:1

[000:048] [2022-05-21 17:00:10 +0000.762147][45e9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-05-21 17:00:10 +0000.762256][45e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-05-21 17:00:10 +0000.762401][45e9] Create OpenSLES input module
with java VM support.

[000:048] [2022-05-21 17:00:10 +0000.762431][45e9] Create OpenSLES input module


with buffer num:1

[000:048] [2022-05-21 17:00:10 +0000.762471][45e9] Error(trace.cc:40): Init the


output and input for audio device template.
[000:048] [2022-05-21 17:00:10 +0000.762489][45e9] Init the output device.

[000:048] [2022-05-21 17:00:10 +0000.762502][45e9] Init the opensl input.


[000:048] [2022-05-21 17:00:10 +0000.762515][45e9] AppDeviceManager get setting
samplerate: 0
[000:049] [2022-05-21 17:00:10 +0000.762810][45e9] The device model: 21091116ai
enum value: 0
[000:049] [2022-05-21 17:00:10 +0000.763247][45e9] The device model: 21091116ai
enum value: 0
[000:049] [2022-05-21 17:00:10 +0000.763280][45e9] Set the sample rate to be:48000

[000:049] [2022-05-21 17:00:10 +0000.763295][45e9] Enable the recording stereo:0


[000:049] [2022-05-21 17:00:10 +0000.763308][45e9] Set the playout as stereo:1
[000:049] [2022-05-21 17:00:10 +0000.763319][45e9] Init the microphone.
[000:050] [2022-05-21 17:00:10 +0000.763636][45e9] Update the recording sample rate
to be: 48000
[000:050] [2022-05-21 17:00:10 +0000.763672][45e9] Init the speaker.
[000:050] [2022-05-21 17:00:10 +0000.763700][45e9] Low latency buffer size:256 low
sample rate:48000
[000:050] [2022-05-21 17:00:10 +0000.764243][45e9] Using 1 x 10ms for an audio
frame.

[000:053] [2022-05-21 17:00:10 +0000.767250][45e9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:053] [2022-05-21 17:00:10 +0000.767329][45e9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-05-21 17:00:10 +0000.767377][45e9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-05-21 17:00:10 +0000.771401][45e9] The device model:21091116ai

[000:057] [2022-05-21 17:00:10 +0000.771453][45e9] speaker output factor:100


defaultFactor: 100

[000:057] [2022-05-21 17:00:10 +0000.771467][45e9] headset output factor:100


defaultFactor: 100

[000:058] [2022-05-21 17:00:10 +0000.771781][45e9] AppDeviceManagerStart finished.


[000:058] [2022-05-21 17:00:10 +0000.771812][45e9] AppDeviceManagerStartMic::mic
status is off
[000:058] [2022-05-21 17:00:10 +0000.771848][45e9] AppDeviceManagerStartMic update
aec type: 2

[000:058] [2022-05-21 17:00:10 +0000.771862][45e9] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:058] [2022-05-21 17:00:10 +0000.771875][45e9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:058] [2022-05-21 17:00:10 +0000.771886][45e9]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-05-21 17:00:10 +0000.772088][45e9] Try to start webrtc recording


device.

[000:058] [2022-05-21 17:00:10 +0000.772111][45e9] StartRecording. threadID:17897

[000:058] [2022-05-21 17:00:10 +0000.772112][4cc6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:058] [2022-05-21 17:00:10 +0000.772171][4cc6] haveEnoughProcessedData
internalAudioStream.length: 0
[000:058] [2022-05-21 17:00:10 +0000.772379][45e9] The machine model:21091116AI

[000:058] [2022-05-21 17:00:10 +0000.772416][45e9] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:058] [2022-05-21 17:00:10 +0000.772432][45e9] Set the recording mode before


getSetting: 4
[000:058] [2022-05-21 17:00:10 +0000.772448][45e9] Set the recording mode after
getSetting: 1
[000:076] [2022-05-21 17:00:10 +0000.789616][45e9] StartRecording finished.

[000:076] [2022-05-21 17:00:10 +0000.789657][45e9] audio: start the audio mic


checker timer.

[000:076] [2022-05-21 17:00:10 +0000.790053][45e9] machine model :redmi


[000:076] [2022-05-21 17:00:10 +0000.790094][45e9] Support this machine
model :redmi
[000:079] [2022-05-21 17:00:10 +0000.793528][45e9] global inited! current sdk
version: 07-20-936c45f
[000:171] [2022-05-21 17:00:10 +0000.884876][4cc7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:171] [2022-05-21 17:00:10 +0000.885009][4cc7] _deviceSampleRate:48000

[000:176] [2022-05-21 17:00:10 +0000.889825][4cc6] Run AGC when audioType = 0


[000:176] [2022-05-21 17:00:10 +0000.889999][4cc6]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:574] [2022-05-21 17:00:11 +0000.287941][4a04]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:574] [2022-05-21 17:00:11 +0000.288310][4cc2] MediaFilterCamera, recording
file context:0x78db87e700 input texture:9
[000:574] [2022-05-21 17:00:11 +0000.288385][4cc2] GLESContext:
[000:574] [2022-05-21 17:00:11 +0000.288544][4cc2] The result of eglGetDisplay is:
0x1
[000:576] [2022-05-21 17:00:11 +0000.290366][4cc2] The result of creation:
0x7846d57700
[000:577] [2022-05-21 17:00:11 +0000.290742][4cc2] The result of
eglCreatePbufferSurface is: 0x78439ed800
[000:577] [2022-05-21 17:00:11 +0000.290993][4a04]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78db87e700 input_texture: 9
[001:788] [2022-05-21 17:00:12 +0000.501848][4cc6] haveEnoughProcessedData
internalAudioStream.length: 10
[002:158] [2022-05-21 17:00:12 +0000.872245][4cc6] Run AGC when audioType = 0
[003:487] [2022-05-21 17:00:14 +0000.200663][4cc6] haveEnoughProcessedData
internalAudioStream.length: 10
[004:080] [2022-05-21 17:00:14 +0000.793813][4cbd]
monitorTime:4004totalDuration:3930
[004:155] [2022-05-21 17:00:14 +0000.869363][4cc6] Run AGC when audioType = 0
[004:155] [2022-05-21 17:00:14 +0000.869572][4cc6]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:184] [2022-05-21 17:00:15 +0000.897924][4cc6] haveEnoughProcessedData
internalAudioStream.length: 0
[006:156] [2022-05-21 17:00:16 +0000.869679][4cc6] Run AGC when audioType = 0
[006:880] [2022-05-21 17:00:17 +0000.594489][4cc6] haveEnoughProcessedData
internalAudioStream.length: 0
[008:157] [2022-05-21 17:00:18 +0000.870786][4cc6] Run AGC when audioType = 0
[008:157] [2022-05-21 17:00:18 +0000.871026][4cc6]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:578] [2022-05-21 17:00:19 +0000.292361][4[000:027] [2022-05-21 17:00:41
+0000.299996][4da4] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
21 17:00:41 +0000
[000:027] [2022-05-21 17:00:41 +0000.300039][4da4] set AppID=50011 old AppID=-1
[000:027] [2022-05-21 17:00:41 +0000.300053][4da4] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318
[000:027] [2022-05-21 17:00:41 +0000.300078][4da4] SetAndroidMediaCodecObjects
time:597433495 enter.

[000:027] [2022-05-21 17:00:41 +0000.300095][4da4] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:027] [2022-05-21 17:00:41 +0000.300107][4da4] SetAndroidMediaCodecObjects


time:597433495 enter.

[000:027] [2022-05-21 17:00:41 +0000.300117][4da4] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:027] [2022-05-21 17:00:41 +0000.300128][4da4] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x7826bd4760
[000:027] [2022-05-21 17:00:41 +0000.300140][4da4] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x7826bd4760
[000:027] [2022-05-21 17:00:41 +0000.300163][4da4] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:027] [2022-05-21 17:00:41 +0000.300181][4da4] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[000:027] [2022-05-21 17:00:41 +0000.300205][4da4] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dcad6580
[000:027] [2022-05-21 17:00:41 +0000.300219][4da4] SystemUtil Init done
[000:028] [2022-05-21 17:00:41 +0000.301587][4da4]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:029] [2022-05-21 17:00:41 +0000.301742][4da4] MediaFilterCamera
[000:029] [2022-05-21 17:00:41 +0000.301780][4da4] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:029] [2022-05-21 17:00:41 +0000.302018][4da4] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:029] [2022-05-21 17:00:41 +0000.302048][4da4] Recording session using default
bitrate support by app:31457280
[000:029] [2022-05-21 17:00:41 +0000.302123][4f68] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x783ce30cc0
[000:029] [2022-05-21 17:00:41 +0000.302243][4f68] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:029] [2022-05-21 17:00:41 +0000.302306][4da4] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:030] [2022-05-21 17:00:41 +0000.302738][4da4] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-05-21 17:00:41 +0000.302763][4da4]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:030] [2022-05-21 17:00:41 +0000.302776][4da4] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:032] [2022-05-21 17:00:41 +0000.305175][4da4] Error(ini.cc:191): Open the file
failed. error:2
[000:032] [2022-05-21 17:00:41 +0000.305234][4da4]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:032] [2022-05-21 17:00:41 +0000.305264][4da4] The device model: 21091116ai
usingHardwareAEC value: 0
[000:032] [2022-05-21 17:00:41 +0000.305277][4da4] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:032] [2022-05-21 17:00:41 +0000.305288][4da4] Using Default AEC type: software
AEC
[000:034] [2022-05-21 17:00:41 +0000.306987][4da4] The device model: 21091116ai
enum value: 0
[000:035] [2022-05-21 17:00:41 +0000.307986][4da4] GetMachineModel is 21091116AI
[000:035] [2022-05-21 17:00:41 +0000.308080][4da4] GetMachineInfo: 21091116AI
[000:035] [2022-05-21 17:00:41 +0000.308145][4da4] Construct BeautifyReader
begin...
[000:035] [2022-05-21 17:00:41 +0000.308192][4da4] dumpStickerRgba:0
dumpStickerYuv:0
[000:035] [2022-05-21 17:00:41 +0000.308231][4da4] Construct BeautifyReader done.
[000:038] [2022-05-21 17:00:41 +0000.310828][4da4] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:038] [2022-05-21 17:00:41 +0000.310852][4f6b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x783cece1a0
[000:038] [2022-05-21 17:00:41 +0000.310891][4da4] AppDeviceManager telnet server
for statistics started......
[000:038] [2022-05-21 17:00:41 +0000.311236][4da4] CpuOverloadDetect time:597433506
enter.

[000:038] [2022-05-21 17:00:41 +0000.311301][4da4] CpuOverloadDetect leave. expire


time = 0 ms

[000:038] [2022-05-21 17:00:41 +0000.311320][4f6c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78432f2240
[000:039] [2022-05-21 17:00:41 +0000.311769][4da4] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:039] [2022-05-21 17:00:41 +0000.311792][4da4] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:039] [2022-05-21 17:00:41 +0000.312015][4da4] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-05-21 17:00:41 +0000.312232][4da4] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-05-21 17:00:41 +0000.312580][4da4] CreatePlatformSpecificObjects:
[000:040] [2022-05-21 17:00:41 +0000.312636][4da4] audio device use opensle input
and opensl output
[000:040] [2022-05-21 17:00:41 +0000.312668][4da4] Create OpenSLES output module
with java VM support.

[000:040] [2022-05-21 17:00:41 +0000.312789][4da4] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2022-05-21 17:00:41 +0000.312942][4da4] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:040] [2022-05-21 17:00:41 +0000.313124][4da4] Create OpenSLES output module
with buffer num:1

[000:040] [2022-05-21 17:00:41 +0000.313265][4da4] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2022-05-21 17:00:41 +0000.313431][4da4] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:040] [2022-05-21 17:00:41 +0000.313572][4da4] Create OpenSLES input module
with java VM support.

[000:041] [2022-05-21 17:00:41 +0000.313601][4da4] Create OpenSLES input module


with buffer num:1

[000:041] [2022-05-21 17:00:41 +0000.313629][4da4] Error(trace.cc:40): Init the


output and input for audio device template.
[000:041] [2022-05-21 17:00:41 +0000.313646][4da4] Init the output device.

[000:041] [2022-05-21 17:00:41 +0000.313658][4da4] Init the opensl input.


[000:041] [2022-05-21 17:00:41 +0000.313670][4da4] AppDeviceManager get setting
samplerate: 0
[000:041] [2022-05-21 17:00:41 +0000.313986][4da4] The device model: 21091116ai
enum value: 0
[000:041] [2022-05-21 17:00:41 +0000.314470][4da4] The device model: 21091116ai
enum value: 0
[000:041] [2022-05-21 17:00:41 +0000.314502][4da4] Set the sample rate to be:48000

[000:041] [2022-05-21 17:00:41 +0000.314516][4da4] Enable the recording stereo:0


[000:041] [2022-05-21 17:00:41 +0000.314530][4da4] Set the playout as stereo:1
[000:041] [2022-05-21 17:00:41 +0000.314540][4da4] Init the microphone.
[000:042] [2022-05-21 17:00:41 +0000.315011][4da4] Update the recording sample rate
to be: 48000
[000:042] [2022-05-21 17:00:41 +0000.315056][4da4] Init the speaker.
[000:042] [2022-05-21 17:00:41 +0000.315084][4da4] Low latency buffer size:256 low
sample rate:48000
[000:042] [2022-05-21 17:00:41 +0000.315287][4da4] Using 1 x 10ms for an audio
frame.

[000:045] [2022-05-21 17:00:41 +0000.318367][4da4] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:045] [2022-05-21 17:00:41 +0000.318449][4da4] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:045] [2022-05-21 17:00:41 +0000.318482][4da4] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:050] [2022-05-21 17:00:41 +0000.322793][4da4] The device model:21091116ai

[000:050] [2022-05-21 17:00:41 +0000.322842][4da4] speaker output factor:100


defaultFactor: 100

[000:050] [2022-05-21 17:00:41 +0000.322856][4da4] headset output factor:100


defaultFactor: 100

[000:050] [2022-05-21 17:00:41 +0000.323166][4da4] AppDeviceManagerStart finished.


[000:050] [2022-05-21 17:00:41 +0000.323195][4da4] AppDeviceManagerStartMic::mic
status is off
[000:050] [2022-05-21 17:00:41 +0000.323231][4da4] AppDeviceManagerStartMic update
aec type: 2

[000:050] [2022-05-21 17:00:41 +0000.323256][4da4] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:050] [2022-05-21 17:00:41 +0000.323268][4da4]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:050] [2022-05-21 17:00:41 +0000.323278][4da4]
AudioDeviceDataHandler::StartMicProcess

[000:050] [2022-05-21 17:00:41 +0000.323591][4da4] Try to start webrtc recording


device.

[000:050] [2022-05-21 17:00:41 +0000.323599][4f6d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:051] [2022-05-21 17:00:41 +0000.323671][4da4] StartRecording. threadID:19876

[000:051] [2022-05-21 17:00:41 +0000.323732][4f6d] haveEnoughProcessedData


internalAudioStream.length: 0
[000:051] [2022-05-21 17:00:41 +0000.324002][4da4] The machine model:21091116AI

[000:051] [2022-05-21 17:00:41 +0000.324053][4da4] default mode: Set the recording


mode to voice communication to enable HW AEC .
[000:051] [2022-05-21 17:00:41 +0000.324070][4da4] Set the recording mode before
getSetting: 4
[000:051] [2022-05-21 17:00:41 +0000.324084][4da4] Set the recording mode after
getSetting: 1
[000:073] [2022-05-21 17:00:41 +0000.346339][4da4] StartRecording finished.

[000:073] [2022-05-21 17:00:41 +0000.346454][4da4] audio: start the audio mic


checker timer.

[000:075] [2022-05-21 17:00:41 +0000.347781][4da4] machine model :redmi


[000:075] [2022-05-21 17:00:41 +0000.348489][4da4] Support this machine
model :redmi
[000:076] [2022-05-21 17:00:41 +0000.348673][4da4] global inited! current sdk
version: 07-20-936c45f
[000:170] [2022-05-21 17:00:41 +0000.443067][4f6e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:170] [2022-05-21 17:00:41 +0000.443172][4f6e] _deviceSampleRate:48000

[000:175] [2022-05-21 17:00:41 +0000.448229][4f6d] Run AGC when audioType = 0


[000:175] [2022-05-21 17:00:41 +0000.448415][4f6d]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:588] [2022-05-21 17:00:41 +0000.861317][4dc3]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:588] [2022-05-21 17:00:41 +0000.861505][4f69] MediaFilterCamera, recording
file context:0x78db851e00 input texture:8
[000:589] [2022-05-21 17:00:41 +0000.861661][4f69] GLESContext:
[000:589] [2022-05-21 17:00:41 +0000.862115][4f69] The result of eglGetDisplay is:
0x1
[000:591] [2022-05-21 17:00:41 +0000.863898][4f69] The result of creation:
0x78431aa600
[000:591] [2022-05-21 17:00:41 +0000.864091][4f69] The result of
eglCreatePbufferSurface is: 0x78431aab80
[000:591] [2022-05-21 17:00:41 +0000.864180][4dc3]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78db851e00 input_texture: 8
[000:650] [2022-05-21 17:00:41 +0000.923605][4da4]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:651] [2022-05-21 17:00:41 +0000.923690][4da4] ~MediaFilterCamera
time:597434119 enter.

[000:651] [2022-05-21 17:00:41 +0000.923708][4da4] StopPullFrameAndWriteMp4


time:597434119 enter.

[000:651] [2022-05-21 17:00:41 +0000.923975][4f68] stop recording


[000:651] [2022-05-21 17:00:41 +0000.924044][4f68] we have stopped recording before
[000:651] [2022-05-21 17:00:41 +0000.924111][4da4] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[000:651] [2022-05-21 17:00:41 +0000.924410][4da4] DestroyPipelineAndFilters


time:597434119 enter.

[000:651] [2022-05-21 17:00:41 +0000.924467][4da4] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:651] [2022-05-21 17:00:41 +0000.924496][4da4] AppDeviceManagerStopMic


[000:651] [2022-05-21 17:00:41 +0000.924577][4da4] AppDeviceManagerStopMic::mic
status is on
[000:652] [2022-05-21 17:00:41 +0000.924644][4da4] Try to stop webrtc device.

[000:652] [2022-0[000:032] [2022-05-23 16:24:17 +0000.194742][13d0] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
23 16:24:17 +0000
[000:032] [2022-05-23 16:24:17 +0000.194785][13d0] set AppID=50011 old AppID=-1
[000:032] [2022-05-23 16:24:17 +0000.194803][13d0] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[000:032] [2022-05-23 16:24:17 +0000.194839][13d0] SetAndroidMediaCodecObjects


time:672615178 enter.

[000:032] [2022-05-23 16:24:17 +0000.194869][13d0] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:032] [2022-05-23 16:24:17 +0000.194883][13d0] SetAndroidMediaCodecObjects


time:672615178 enter.

[000:032] [2022-05-23 16:24:17 +0000.194896][13d0] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:032] [2022-05-23 16:24:17 +0000.194908][13d0] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x7823e93760
[000:032] [2022-05-23 16:24:17 +0000.195009][13d0] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x7823e93760
[000:033] [2022-05-23 16:24:17 +0000.195056][13d0] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:033] [2022-05-23 16:24:17 +0000.195118][13d0] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[000:033] [2022-05-23 16:24:17 +0000.195707][13d0] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dcad6580
[000:033] [2022-05-23 16:24:17 +0000.195754][13d0] SystemUtil Init done
[000:036] [2022-05-23 16:24:17 +0000.198295][13d0]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:036] [2022-05-23 16:24:17 +0000.198907][13d0] MediaFilterCamera
[000:037] [2022-05-23 16:24:17 +0000.199377][13d0] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:037] [2022-05-23 16:24:17 +0000.199768][13d0] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:037] [2022-05-23 16:24:17 +0000.199807][13d0] Recording session using default
bitrate support by app:31457280
[000:037] [2022-05-23 16:24:17 +0000.199830][1e8e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7841fd6740
[000:038] [2022-05-23 16:24:17 +0000.200268][1e8e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:038] [2022-05-23 16:24:17 +0000.200365][13d0] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:038] [2022-05-23 16:24:17 +0000.200918][13d0] Error(ini.cc:191): Open the file
failed. error:2
[000:038] [2022-05-23 16:24:17 +0000.200954][13d0]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:039] [2022-05-23 16:24:17 +0000.201071][13d0] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:041] [2022-05-23 16:24:17 +0000.203640][13d0] Error(ini.cc:191): Open the file
failed. error:2
[000:041] [2022-05-23 16:24:17 +0000.203697][13d0]
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-05-23 16:24:17 +0000.203716][13d0] The device model: 21091116ai
usingHardwareAEC value: 0
[000:041] [2022-05-23 16:24:17 +0000.203729][13d0] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:041] [2022-05-23 16:24:17 +0000.203742][13d0] Using Default AEC type: software
AEC
[000:042] [2022-05-23 16:24:17 +0000.204659][13d0] The device model: 21091116ai
enum value: 0
[000:043] [2022-05-23 16:24:17 +0000.205412][13d0] GetMachineModel is 21091116AI
[000:043] [2022-05-23 16:24:17 +0000.205454][13d0] GetMachineInfo: 21091116AI
[000:043] [2022-05-23 16:24:17 +0000.205480][13d0] Construct BeautifyReader
begin...
[000:043] [2022-05-23 16:24:17 +0000.205496][13d0] dumpStickerRgba:0
dumpStickerYuv:0
[000:043] [2022-05-23 16:24:17 +0000.205508][13d0] Construct BeautifyReader done.
[000:046] [2022-05-23 16:24:17 +0000.208190][13d0] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:046] [2022-05-23 16:24:17 +0000.208214][1e91] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78dc982ca0
[000:046] [2022-05-23 16:24:17 +0000.208665][13d0] AppDeviceManager telnet server
for statistics started......
[000:047] [2022-05-23 16:24:17 +0000.209032][13d0] CpuOverloadDetect time:672615193
enter.

[000:047] [2022-05-23 16:24:17 +0000.209116][13d0] CpuOverloadDetect leave. expire


time = 0 ms

[000:047] [2022-05-23 16:24:17 +0000.209231][1e92] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x786ca6b7c0
[000:047] [2022-05-23 16:24:17 +0000.209590][13d0] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:047] [2022-05-23 16:24:17 +0000.209613][13d0] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:047] [2022-05-23 16:24:17 +0000.209905][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-05-23 16:24:17 +0000.210484][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-05-23 16:24:17 +0000.210833][13d0] CreatePlatformSpecificObjects:
[000:048] [2022-05-23 16:24:17 +0000.210863][13d0] audio device use opensle input
and opensl output
[000:048] [2022-05-23 16:24:17 +0000.210888][13d0] Create OpenSLES output module
with java VM support.

[000:048] [2022-05-23 16:24:17 +0000.211006][13d0] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:049] [2022-05-23 16:24:17 +0000.211157][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-05-23 16:24:17 +0000.211467][13d0] Create OpenSLES output module
with buffer num:1

[000:049] [2022-05-23 16:24:17 +0000.211818][13d0] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:050] [2022-05-23 16:24:17 +0000.212134][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:050] [2022-05-23 16:24:17 +0000.212369][13d0] Create OpenSLES input module
with java VM support.
[000:050] [2022-05-23 16:24:17 +0000.212403][13d0] Create OpenSLES input module
with buffer num:1

[000:050] [2022-05-23 16:24:17 +0000.212452][13d0] Error(trace.cc:40): Init the


output and input for audio device template.
[000:050] [2022-05-23 16:24:17 +0000.212466][13d0] Init the output device.

[000:050] [2022-05-23 16:24:17 +0000.212476][13d0] Init the opensl input.


[000:050] [2022-05-23 16:24:17 +0000.212487][13d0] AppDeviceManager get setting
samplerate: 0
[000:050] [2022-05-23 16:24:17 +0000.212784][13d0] The device model: 21091116ai
enum value: 0
[000:051] [2022-05-23 16:24:17 +0000.213252][13d0] The device model: 21091116ai
enum value: 0
[000:051] [2022-05-23 16:24:17 +0000.213278][13d0] Set the sample rate to be:48000

[000:051] [2022-05-23 16:24:17 +0000.213291][13d0] Enable the recording stereo:0


[000:051] [2022-05-23 16:24:17 +0000.213304][13d0] Set the playout as stereo:1
[000:051] [2022-05-23 16:24:17 +0000.213315][13d0] Init the microphone.
[000:051] [2022-05-23 16:24:17 +0000.213651][13d0] Update the recording sample rate
to be: 48000
[000:051] [2022-05-23 16:24:17 +0000.213705][13d0] Init the speaker.
[000:051] [2022-05-23 16:24:17 +0000.213740][13d0] Low latency buffer size:256 low
sample rate:48000
[000:052] [2022-05-23 16:24:17 +0000.214325][13d0] Using 1 x 10ms for an audio
frame.

[000:055] [2022-05-23 16:24:17 +0000.217308][13d0] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:055] [2022-05-23 16:24:17 +0000.217378][13d0] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:055] [2022-05-23 16:24:17 +0000.217406][13d0] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:059] [2022-05-23 16:24:17 +0000.221351][13d0] The device model:21091116ai

[000:059] [2022-05-23 16:24:17 +0000.221396][13d0] speaker output factor:100


defaultFactor: 100

[000:059] [2022-05-23 16:24:17 +0000.221410][13d0] headset output factor:100


defaultFactor: 100

[000:059] [2022-05-23 16:24:17 +0000.221675][13d0] AppDeviceManagerStart finished.


[000:059] [2022-05-23 16:24:17 +0000.221696][13d0] AppDeviceManagerStartMic::mic
status is off
[000:059] [2022-05-23 16:24:17 +0000.221730][13d0] AppDeviceManagerStartMic update
aec type: 2

[000:059] [2022-05-23 16:24:17 +0000.221744][13d0] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:059] [2022-05-23 16:24:17 +0000.221755][13d0]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:059] [2022-05-23 16:24:17 +0000.221767][13d0]
AudioDeviceDataHandler::StartMicProcess

[000:060] [2022-05-23 16:24:17 +0000.222175][13d0] Try to start webrtc recording


device.
[000:060] [2022-05-23 16:24:17 +0000.222195][13d0] StartRecording. threadID:5072

[000:060] [2022-05-23 16:24:17 +0000.222429][13d0] The machine model:21091116AI

[000:060] [2022-05-23 16:24:17 +0000.222463][13d0] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:060] [2022-05-23 16:24:17 +0000.222476][13d0] Set the recording mode before


getSetting: 4
[000:060] [2022-05-23 16:24:17 +0000.222490][13d0] Set the recording mode after
getSetting: 1
[000:060] [2022-05-23 16:24:17 +0000.222613][1e93] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:060] [2022-05-23 16:24:17 +0000.222654][1e93] haveEnoughProcessedData
internalAudioStream.length: 0
[000:080] [2022-05-23 16:24:17 +0000.242287][13d0] StartRecording finished.

[000:080] [2022-05-23 16:24:17 +0000.242332][13d0] audio: start the audio mic


checker timer.

[000:080] [2022-05-23 16:24:17 +0000.242691][13d0] machine model :redmi


[000:080] [2022-05-23 16:24:17 +0000.242726][13d0] Support this machine
model :redmi
[000:083] [2022-05-23 16:24:17 +0000.245968][13d0] global inited! current sdk
version: 07-20-936c45f
[000:177] [2022-05-23 16:24:17 +0000.339659][1e94] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:177] [2022-05-23 16:24:17 +0000.339770][1e94] _deviceSampleRate:48000

[000:178] [2022-05-23 16:24:17 +0000.340795][1e93] Run AGC when audioType = 0


[000:178] [2022-05-23 16:24:17 +0000.340989][1e93]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:658] [2022-05-23 16:24:17 +0000.820850][13d0]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:658] [2022-05-23 16:24:17 +0000.820964][13d0] ~MediaFilterCamera
time:672615804 enter.

[000:658] [2022-05-23 16:24:17 +0000.820989][13d0] StopPullFrameAndWriteMp4


time:672615804 enter.

[000:659] [2022-05-23 16:24:17 +0000.821208][1e8e] stop recording


[000:659] [2022-05-23 16:24:17 +0000.821243][1e8e] we have stopped recording before
[000:659] [2022-05-23 16:24:17 +0000.821299][13d0] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:659] [2022-05-23 16:24:17 +0000.821873][13d0] DestroyPipelineAndFilters


time:672615805 enter.

[000:659] [2022-05-23 16:24:17 +0000.821983][13d0] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:660] [2022-05-23 16:24:17 +0000.822027][13d0] AppDeviceManagerStopMic

[000:660] [2022-05-23 16:24:17 +0000.822143][13d0] AppDeviceManagerStopMic::mic


status is on
[000:660] [2022-05-23 16:24:17 +0000.822238][13d0] Try to stop webrtc device.
[000:660] [2022-05-23 16:24:17 +0000.822276][13d0] Set record state to
stopped.threadID:5072

[000:700] [2022-05-23 16:24:17 +0000.862663][13d0] Try to destory the


recorder.threadID:5072

[000:900] [2022-05-23 16:24:18 +0000.62835][13d0] DestroyAudioRecorder:


[000:900] [2022-05-23 16:24:18 +0000.62897][13d0] Cleanup the buffer queue in the
recorder.
[000:900] [2022-05-23 16:24:18 +0000.62916][13d0] Destroy the recorder.

[000:901] [2022-05-23 16:24:18 +0000.63383][13d0] StopRecording finished.

[000:901] [2022-05-23 16:24:18 +0000.63428][13d0] The stop recording success.

[000:901] [2022-05-23 16:24:18 +0000.63442][13d0]


AudioDeviceDataHandler::StopMicProcess

[000:906] [2022-05-23 16:24:18 +0000.68579][13d0] AppDeviceManager stop.

[000:906] [2022-05-23 16:24:18 +0000.68659][13d0] Rlease the webrtc device object.

[000:906] [2022-05-23 16:24:18 +0000.68949][13d0] OpenSlesInput destruct.

[000:907] [2022-05-23 16:24:18 +0000.69079][13d0] OpenSlesOutput destruct.

[000:907] [2022-05-23 16:24:18 +0000.69555][13d0] EventDispatchServerScope destruct


[000:907] [2022-05-23 16:24:18 +0000.69599][13d0]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:907] [2022-05-23 16:24:18 +0000.69635][13d0] ~AudioDeviceDataHandler

[000:908] [2022-05-23 16:24:18 +0000.70488][13d0] AppDeviceManagerDestruct.

[000:908] [2022-05-23 16:24:18 +0000.70625][13d0] ~AppDeviceManager:


[000:908] [2022-05-23 16:24:18 +0000.70741][13d0] ~CpuOverloadDetect time:672616054
enter.

[000:909] [2022-05-23 16:24:18 +0000.71118][13d0] ~CpuOverloadDetect leave. expire


time = 1 ms

[000:910] [2022-05-23 16:24:18 +0000.72485][13d0] Destruct BeautifyReader begin...


[000:910] [2022-05-23 16:24:18 +0000.72571][13d0] Destruct BeautifyReader done.
[000:910] [2022-05-23 16:24:18 +0000.72615][13d0] ~MediaFilterCamera leave. expire
time = 252 ms

[000:911] [2022-05-23 16:24:18 +0000.73361][13d0] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:911] [2022-05-23 16:24:18 +0000.73677][13d0] global uninited!
[000:913] [2022-05-23 16:24:18 +0000.75285][13d0] clear AppID 50011
[000:913] [2022-05-23 16:24:18 +0000.75575][13d0] UnRegister JVM for Xplatform util
[000:913] [2022-05-23 16:24:18 +0000.75685][13d0] Dispose::unregister webrtc video
engine
[000:913] [2022-05-23 16:24:18 +0000.75784][13d0] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:913] [2022-05-23 16:24:18 +0000.75826][13d0] SetAndroidMediaCodecObjects


time:672616059 enter.

[000:913] [2022-05-23 16:24:18 +0000.75857][13d0] ClearAndroidMediaCodecObjects


time:672616059 enter.

[000:913] [2022-05-23 16:24:18 +0000.75891][13d0] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:913] [2022-05-23 16:24:18 +0000.75920][13d0] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:913] [2022-05-23 16:24:18 +0000.75948][13d0] SetAndroidMediaCodecObjects


time:672616059 enter.

[000:913] [2022-05-23 16:24:18 +0000.75975][13d0] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:913] [2022-05-23 16:24:18 +0000.76004][13d0] ClearAndroidMediaCodecObjects
time:672616059 enter.

[000:914] [2022-05-23 16:24:18 +0000.76075][13d0] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[000:914] [2022-05-23 16:24:18 +0000.76108][13d0] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:914] [2022-05-23 16:24:18 +0000.76135][13d0] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:914] [2022-05-23 16:24:18 +0000.76162][13d0] Dispose::unregister webrtc voice


engine
[000:914] [2022-05-23 16:24:18 +0000.76190][13d0] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[000:914] [2022-05-23 16:24:18 +0000.76227][13d0] SystemUtil UnInit done


[016:882] [2022-05-23 16:24:34 +0000.44187][13d0] Register JVM for xplatform util
[016:886] [2022-05-23 16:24:34 +0000.48649][13d0] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
23 16:24:34 +0000
[016:886] [2022-05-23 16:24:34 +0000.48690][13d0] set AppID=50011 old AppID=-1
[016:886] [2022-05-23 16:24:34 +0000.48706][13d0] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[016:886] [2022-05-23 16:24:34 +0000.48719][13d0] SetAndroidMediaCodecObjects


time:672632032 enter.

[016:886] [2022-05-23 16:24:34 +0000.48735][13d0] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[016:886] [2022-05-23 16:24:34 +0000.48747][13d0] SetAndroidMediaCodecObjects


time:672632032 enter.

[016:886] [2022-05-23 16:24:34 +0000.48771][13d0] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[016:886] [2022-05-23 16:24:34 +0000.48783][13d0] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x7823e93760
[016:886] [2022-05-23 16:24:34 +0000.48795][13d0] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x7823e93760
[016:886] [2022-05-23 16:24:34 +0000.48806][13d0] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[016:886] [2022-05-23 16:24:34 +0000.48818][13d0] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318
[016:886] [2022-05-23 16:24:34 +0000.48831][13d0] audio jni debug :manager
SetAndroidAudioDeviceObjects env:0x78dcad6580
[016:886] [2022-05-23 16:24:34 +0000.48855][13d0] SystemUtil Init done
[016:887] [2022-05-23 16:24:34 +0000.49028][13d0]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[016:887] [2022-05-23 16:24:34 +0000.49119][13d0] MediaFilterCamera
[016:887] [2022-05-23 16:24:34 +0000.49146][13d0] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[016:887] [2022-05-23 16:24:34 +0000.49223][13d0] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[016:887] [2022-05-23 16:24:34 +0000.49248][13d0] Recording session using default
bitrate support by app:31457280
[016:887] [2022-05-23 16:24:34 +0000.49282][2110] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7841fc9cc0
[016:887] [2022-05-23 16:24:34 +0000.49419][2110] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[016:887] [2022-05-23 16:24:34 +0000.49481][13d0] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[016:888] [2022-05-23 16:24:34 +0000.50119][13d0] Error(ini.cc:191): Open the file
failed. error:2
[016:888] [2022-05-23 16:24:34 +0000.50152][13d0]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[016:888] [2022-05-23 16:24:34 +0000.50167][13d0] The device model: 21091116ai
usingSoftwareAEC value: 0
[016:889] [2022-05-23 16:24:34 +0000.51865][13d0] Error(ini.cc:191): Open the file
failed. error:2
[016:889] [2022-05-23 16:24:34 +0000.51916][13d0]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[016:889] [2022-05-23 16:24:34 +0000.51934][13d0] The device model: 21091116ai
usingHardwareAEC value: 0
[016:889] [2022-05-23 16:24:34 +0000.51962][13d0] The machine device: 21091116ai
usingHardwareAEC value: 0
[016:889] [2022-05-23 16:24:34 +0000.51975][13d0] Using Default AEC type: software
AEC
[016:890] [2022-05-23 16:24:34 +0000.52935][13d0] The device model: 21091116ai enum
value: 0
[016:891] [2022-05-23 16:24:34 +0000.53317][13d0] GetMachineModel is 21091116AI
[016:891] [2022-05-23 16:24:34 +0000.53349][13d0] GetMachineInfo: 21091116AI
[016:891] [2022-05-23 16:24:34 +0000.53363][13d0] Construct BeautifyReader begin...
[016:891] [2022-05-23 16:24:34 +0000.53373][13d0] dumpStickerRgba:0
dumpStickerYuv:0
[016:891] [2022-05-23 16:24:34 +0000.53382][13d0] Construct BeautifyReader done.
[016:894] [2022-05-23 16:24:34 +0000.56768][13d0] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[016:894] [2022-05-23 16:24:34 +0000.56844][13d0] AppDeviceManager telnet server
for statistics started......
[016:894] [2022-05-23 16:24:34 +0000.56835][2115] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7846ab4ba0
[016:895] [2022-05-23 16:24:34 +0000.57309][13d0] CpuOverloadDetect time:672632041
enter.

[016:895] [2022-05-23 16:24:34 +0000.57379][13d0] CpuOverloadDetect leave. expire


time = 0 ms

[016:895] [2022-05-23 16:24:34 +0000.57507][2116] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x786ca6c240
[016:895] [2022-05-23 16:24:34 +0000.57937][13d0] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[016:895] [2022-05-23 16:24:34 +0000.57967][13d0] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[016:896] [2022-05-23 16:24:34 +0000.58151][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[016:896] [2022-05-23 16:24:34 +0000.58358][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[016:896] [2022-05-23 16:24:34 +0000.58619][13d0] CreatePlatformSpecificObjects:
[016:896] [2022-05-23 16:24:34 +0000.58674][13d0] audio device use opensle input
and opensl output
[016:896] [2022-05-23 16:24:34 +0000.58695][13d0] Create OpenSLES output module
with java VM support.

[016:896] [2022-05-23 16:24:34 +0000.58830][13d0] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[016:897] [2022-05-23 16:24:34 +0000.59031][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[016:897] [2022-05-23 16:24:34 +0000.59203][13d0] Create OpenSLES output module
with buffer num:1

[016:897] [2022-05-23 16:24:34 +0000.59329][13d0] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[016:897] [2022-05-23 16:24:34 +0000.59647][13d0] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[016:897] [2022-05-23 16:24:34 +0000.59887][13d0] Create OpenSLES input module with
java VM support.

[016:897] [2022-05-23 16:24:34 +0000.59921][13d0] Create OpenSLES input module with


buffer num:1

[016:897] [2022-05-23 16:24:34 +0000.59943][13d0] Error(trace.cc:40): Init the


output and input for audio device template.
[016:897] [2022-05-23 16:24:34 +0000.59957][13d0] Init the output device.

[016:897] [2022-05-23 16:24:34 +0000.59968][13d0] Init the opensl input.


[016:897] [2022-05-23 16:24:34 +0000.59979][13d0] AppDeviceManager get setting
samplerate: 0
[016:898] [2022-05-23 16:24:34 +0000.60314][13d0] The device model: 21091116ai enum
value: 0
[016:898] [2022-05-23 16:24:34 +0000.60695][13d0] The device model: 21091116ai enum
value: 0
[016:898] [2022-05-23 16:24:34 +0000.60717][13d0] Set the sample rate to be:48000

[016:898] [2022-05-23 16:24:34 +0000.60729][13d0] Enable the recording stereo:0


[016:898] [2022-05-23 16:24:34 +0000.60742][13d0] Set the playout as stereo:1
[016:898] [2022-05-23 16:24:34 +0000.60753][13d0] Init the microphone.
[016:898] [2022-05-23 16:24:34 +0000.61000][13d0] Update the recording sample rate
to be: 48000
[016:899] [2022-05-23 16:24:34 +0000.61022][13d0] Init the speaker.
[016:899] [2022-05-23 16:24:34 +0000.61040][13d0] Low latency buffer size:256 low
sample rate:48000
[016:899] [2022-05-23 16:24:34 +0000.61230][13d0] Using 1 x 10ms for an audio
frame.

[016:902] [2022-05-23 16:24:34 +0000.64513][13d0] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[016:902] [2022-05-23 16:24:34 +0000.64601][13d0] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[016:902] [2022-05-23 16:24:34 +0000.64628][13d0] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[016:906] [2022-05-23 16:24:34 +0000.68530][13d0] The device model:21091116ai

[016:906] [2022-05-23 16:24:34 +0000.68580][13d0] speaker output factor:100


defaultFactor: 100

[016:906] [2022-05-23 16:24:34 +0000.68594][13d0] headset output factor:100


defaultFactor: 100

[016:906] [2022-05-23 16:24:34 +0000.68813][13d0] AppDeviceManagerStart finished.


[016:906] [2022-05-23 16:24:34 +0000.68851][13d0] AppDeviceManagerStartMic::mic
status is off
[016:906] [2022-05-23 16:24:34 +0000.68893][13d0] AppDeviceManagerStartMic update
aec type: 2

[016:906] [2022-05-23 16:24:34 +0000.68909][13d0] AppDeviceManagerStartMic update


voiceChangeMode: 4

[016:906] [2022-05-23 16:24:34 +0000.68921][13d0]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[016:906] [2022-05-23 16:24:34 +0000.68932][13d0]
AudioDeviceDataHandler::StartMicProcess

[016:907] [2022-05-23 16:24:34 +0000.69226][13d0] Try to start webrtc recording


device.

[016:907] [2022-05-23 16:24:34 +0000.69248][13d0] StartRecording. threadID:5072

[016:907] [2022-05-23 16:24:34 +0000.69280][13d0] default mode: Set the recording


mode to voice communication to enable HW AEC .

[016:907] [2022-05-23 16:24:34 +0000.69309][13d0] Set the recording mode before


getSetting: 4
[016:907] [2022-05-23 16:24:34 +0000.69324][13d0] Set the recording mode after
getSetting: 1
[016:907] [2022-05-23 16:24:34 +0000.69286][2117] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[016:930] [2022-05-23 16:24:34 +0000.92451][13d0] StartRecording finished.

[016:930] [2022-05-23 16:24:34 +0000.92500][13d0] audio: start the audio mic


checker timer.

[016:930] [2022-05-23 16:24:34 +0000.92841][13d0] machine model :redmi


[016:930] [2022-05-23 16:24:34 +0000.92893][13d0] Support this machine model :redmi
[016:930] [2022-05-23 16:24:34 +0000.92912][13d0] global inited! current sdk
version: 07-20-936c45f
[017:520] [2022-05-23 16:24:34 +0000.682807][17df]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[017:521] [2022-05-23 16:24:34 +0000.683082][2111] MediaFilterCamera, recording
file context:0x78dc8ec480 input texture:7
[017:521] [2022-05-23 16:24:34 +0000.683132][2111] GLESContext:
[017:521] [2022-05-23 16:24:34 +0000.683255][2111] The result of eglGetDisplay is:
0x1
[017:523] [2022-05-23 16:24:34 +0000.685602][2111] The result of creation:
0x78e981eb00
[017:523] [2022-05-23 16:24:34 +0000.685941][2111] The result of
eglCreatePbufferSurface is: 0x78e981eb80
[017:524] [2022-05-23 16:24:34 +0000.686100][17df]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78dc8ec480 input_texture: 7
[017:585] [2022-05-23 16:24:34 +0000.747200][13d0]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[017:585] [2022-05-23 16:24:34 +0000.747302][13d0] ~MediaFilterCamera
time:672632731 enter.

[017:585] [2022-05-23 16:24:34 +0000.747327][13d0] StopPullFrameAndWriteMp4


time:672632731 enter.

[017:585] [2022-05-23 16:24:34 +0000.747562][2110] stop recording


[017:585] [2022-05-23 16:24:34 +0000.747592][2110] we have stopped recording before
[017:585] [2022-05-23 16:24:34 +0000.747628][13d0] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[017:585] [2022-05-23 16:24:34 +0000.747886][13d0] DestroyPipelineAndFilters


time:672632731 enter.

[017:585] [2022-05-23 16:24:34 +0000.747916][13d0] DestroyPipelineAndFilters


leave. expire time = 0 ms

[017:585] [2022-05-23 16:24:34 +0000.747930][13d0] AppDeviceManagerStopMic

[017:585] [2022-05-23 16:24:34 +0000.747962][13d0] AppDeviceManagerStopMic::mic


status is on
[017:585] [2022-05-23 16:24:34 +0000.747979][13d0] Try to stop webrtc device.

[017:585] [2022-05-23 16:24:34 +0000.747992][13d0] Set record state to


stopped.threadID:5072

[017:611] [2022-05-23 16:24:34 +0000.773964][13d0] Try to destory the


recorder.threadID:5072

[017:812] [2022-05-23 16:24:34 +0000.974128][13d0] DestroyAudioRecorder:


[017:812] [2022-05-23 16:24:34 +0000.974205][13d0] Cleanup the buffer queue in the
recorder.
[017:812] [2022-05-23 16:24:34 +0000.974226][13d0] Destroy the recorder.

[017:812] [2022-05-23 16:24:34 +0000.974746][13d0] StopRecording finished.

[017:812] [2022-05-23 16:24:34 +0000.974794][13d0] The stop recording success.

[017:812] [2022-05-23 16:24:34 +0000.974821][13d0]


AudioDeviceDataHandler::StopMicProcess

[017:817] [2022-05-23 16:24:34 +0000.979[000:026] [2022-05-23 17:46:46


+0000.190275][63e9] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
23 17:46:46 +0000
[000:026] [2022-05-23 17:46:46 +0000.190323][63e9] set AppID=50011 old AppID=-1
[000:026] [2022-05-23 17:46:46 +0000.190343][63e9] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[000:026] [2022-05-23 17:46:46 +0000.190367][63e9] SetAndroidMediaCodecObjects


time:675555206 enter.

[000:026] [2022-05-23 17:46:46 +0000.190395][63e9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:026] [2022-05-23 17:46:46 +0000.190407][63e9] SetAndroidMediaCodecObjects


time:675555206 enter.

[000:026] [2022-05-23 17:46:46 +0000.190419][63e9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:026] [2022-05-23 17:46:46 +0000.190431][63e9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x781ab60760
[000:026] [2022-05-23 17:46:46 +0000.190446][63e9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x781ab60760
[000:026] [2022-05-23 17:46:46 +0000.190466][63e9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:026] [2022-05-23 17:46:46 +0000.190487][63e9] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x78859aa318

[000:027] [2022-05-23 17:46:46 +0000.190975][63e9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dcad6580
[000:027] [2022-05-23 17:46:46 +0000.191022][63e9] SystemUtil Init done
[000:030] [2022-05-23 17:46:46 +0000.194321][63e9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:031] [2022-05-23 17:46:46 +0000.195195][63e9] MediaFilterCamera
[000:032] [2022-05-23 17:46:46 +0000.195910][63e9] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:032] [2022-05-23 17:46:46 +0000.196375][63e9] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:032] [2022-05-23 17:46:46 +0000.196444][63e9] Recording session using default
bitrate support by app:31457280
[000:032] [2022-05-23 17:46:46 +0000.196512][66e6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e98e1dc0
[000:033] [2022-05-23 17:46:46 +0000.196975][66e6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:033] [2022-05-23 17:46:46 +0000.197108][63e9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2022-05-23 17:46:46 +0000.197816][63e9] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-05-23 17:46:46 +0000.197854][63e9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:034] [2022-05-23 17:46:46 +0000.197986][63e9] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:037] [2022-05-23 17:46:46 +0000.201453][63e9] Error(ini.cc:191): Open the file
failed. error:2
[000:037] [2022-05-23 17:46:46 +0000.201510][63e9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:037] [2022-05-23 17:46:46 +0000.201535][63e9] The device model: 21091116ai
usingHardwareAEC value: 0
[000:037] [2022-05-23 17:46:46 +0000.201548][63e9] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:037] [2022-05-23 17:46:46 +0000.201561][63e9] Using Default AEC type: software
AEC
[000:038] [2022-05-23 17:46:46 +0000.202438][63e9] The device model: 21091116ai
enum value: 0
[000:039] [2022-05-23 17:46:46 +0000.203264][63e9] GetMachineModel is 21091116AI
[000:039] [2022-05-23 17:46:46 +0000.203452][63e9] GetMachineInfo: 21091116AI
[000:039] [2022-05-23 17:46:46 +0000.203549][63e9] Construct BeautifyReader
begin...
[000:039] [2022-05-23 17:46:46 +0000.203600][63e9] dumpStickerRgba:0
dumpStickerYuv:0
[000:039] [2022-05-23 17:46:46 +0000.203643][63e9] Construct BeautifyReader done.
[000:044] [2022-05-23 17:46:46 +0000.208210][63e9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:044] [2022-05-23 17:46:46 +0000.208272][66e9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78dc9833a0
[000:044] [2022-05-23 17:46:46 +0000.208676][63e9] AppDeviceManager telnet server
for statistics started......
[000:045] [2022-05-23 17:46:46 +0000.208948][63e9] CpuOverloadDetect time:675555225
enter.

[000:045] [2022-05-23 17:46:46 +0000.209051][63e9] CpuOverloadDetect leave. expire


time = 0 ms

[000:045] [2022-05-23 17:46:46 +0000.209078][66ea] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x784391f280
[000:045] [2022-05-23 17:46:46 +0000.209606][63e9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:045] [2022-05-23 17:46:46 +0000.209647][63e9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:046] [2022-05-23 17:46:46 +0000.209997][63e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:046] [2022-05-23 17:46:46 +0000.210703][63e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-05-23 17:46:46 +0000.211197][63e9] CreatePlatformSpecificObjects:
[000:047] [2022-05-23 17:46:46 +0000.211238][63e9] audio device use opensle input
and opensl output
[000:047] [2022-05-23 17:46:46 +0000.211259][63e9] Create OpenSLES output module
with java VM support.

[000:047] [2022-05-23 17:46:46 +0000.211383][63e9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-05-23 17:46:46 +0000.211534][63e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-05-23 17:46:46 +0000.211771][63e9] Create OpenSLES output module
with buffer num:1

[000:048] [2022-05-23 17:46:46 +0000.211952][63e9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-05-23 17:46:46 +0000.212164][63e9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-05-23 17:46:46 +0000.212424][63e9] Create OpenSLES input module
with java VM support.

[000:048] [2022-05-23 17:46:46 +0000.212457][63e9] Create OpenSLES input module


with buffer num:1

[000:048] [2022-05-23 17:46:46 +0000.212499][63e9] Error(trace.cc:40): Init the


output and input for audio device template.
[000:048] [2022-05-23 17:46:46 +0000.212518][63e9] Init the output device.

[000:048] [2022-05-23 17:46:46 +0000.212531][63e9] Init the opensl input.


[000:048] [2022-05-23 17:46:46 +0000.212544][63e9] AppDeviceManager get setting
samplerate: 0
[000:048] [2022-05-23 17:46:46 +0000.212869][63e9] The device model: 21091116ai
enum value: 0
[000:049] [2022-05-23 17:46:46 +0000.213298][63e9] The device model: 21091116ai
enum value: 0
[000:049] [2022-05-23 17:46:46 +0000.213330][63e9] Set the sample rate to be:48000

[000:049] [2022-05-23 17:46:46 +0000.213344][63e9] Enable the recording stereo:0


[000:049] [2022-05-23 17:46:46 +0000.213357][63e9] Set the playout as stereo:1
[000:049] [2022-05-23 17:46:46 +0000.213368][63e9] Init the microphone.
[000:049] [2022-05-23 17:46:46 +0000.213677][63e9] Update the recording sample rate
to be: 48000
[000:049] [2022-05-23 17:46:46 +0000.213706][63e9] Init the speaker.
[000:049] [2022-05-23 17:46:46 +0000.213735][63e9] Low latency buffer size:256 low
sample rate:48000
[000:050] [2022-05-23 17:46:46 +0000.214305][63e9] Using 1 x 10ms for an audio
frame.

[000:053] [2022-05-23 17:46:46 +0000.217320][63e9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:053] [2022-05-23 17:46:46 +0000.217392][63e9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-05-23 17:46:46 +0000.217425][63e9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-05-23 17:46:46 +0000.221313][63e9] The device model:21091116ai

[000:057] [2022-05-23 17:46:46 +0000.221354][63e9] speaker output factor:100


defaultFactor: 100

[000:057] [2022-05-23 17:46:46 +0000.221370][63e9] headset output factor:100


defaultFactor: 100

[000:057] [2022-05-23 17:46:46 +0000.221665][63e9] AppDeviceManagerStart finished.


[000:057] [2022-05-23 17:46:46 +0000.221696][63e9] AppDeviceManagerStartMic::mic
status is off
[000:057] [2022-05-23 17:46:46 +0000.221735][63e9] AppDeviceManagerStartMic update
aec type: 2

[000:057] [2022-05-23 17:46:46 +0000.221751][63e9] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:057] [2022-05-23 17:46:46 +0000.221764][63e9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:057] [2022-05-23 17:46:46 +0000.221775][63e9]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-05-23 17:46:46 +0000.221952][63e9] Try to start webrtc recording


device.

[000:058] [2022-05-23 17:46:46 +0000.221976][63e9] StartRecording. threadID:25577

[000:058] [2022-05-23 17:46:46 +0000.222015][66eb] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:058] [2022-05-23 17:46:46 +0000.222125][66eb] haveEnoughProcessedData
internalAudioStream.length: 0
[000:058] [2022-05-23 17:46:46 +0000.222227][63e9] The machine model:21091116AI

[000:058] [2022-05-23 17:46:46 +0000.222265][63e9] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:058] [2022-05-23 17:46:46 +0000.222282][63e9] Set the recording mode before


getSetting: 4
[000:058] [2022-05-23 17:46:46 +0000.222297][63e9] Set the recording mode after
getSetting: 1
[000:080] [2022-05-23 17:46:46 +0000.244380][63e9] StartRecording finished.

[000:080] [2022-05-23 17:46:46 +0000.244540][63e9] audio: start the audio mic


checker timer.

[000:082] [2022-05-23 17:46:46 +0000.246214][63e9] machine model :redmi


[000:082] [2022-05-23 17:46:46 +0000.246298][63e9] Support this machine
model :redmi
[000:085] [2022-05-23 17:46:46 +0000.249659][63e9] global inited! current sdk
version: 07-20-936c45f
[000:174] [2022-05-23 17:46:46 +0000.338824][66ec] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:175] [2022-05-23 17:46:46 +0000.338967][66ec] _deviceSampleRate:48000

[000:175] [2022-05-23 17:46:46 +0000.339527][66eb] Run AGC when audioType = 0


[000:175] [2022-05-23 17:46:46 +0000.339675][66eb]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:401] [2022-05-23 17:46:46 +0000.565059][63e9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:401] [2022-05-23 17:46:46 +0000.565212][63e9] ~MediaFilterCamera
time:675555581 enter.

[000:401] [2022-05-23 17:46:46 +0000.565281][63e9] StopPullFrameAndWriteMp4


time:675555581 enter.

[000:401] [2022-05-23 17:46:46 +0000.565776][66e6] stop recording


[000:401] [2022-05-23 17:46:46 +0000.565855][66e6] we have stopped recording before
[000:402] [2022-05-23 17:46:46 +0000.565930][63e9] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:402] [2022-05-23 17:46:46 +0000.566726][63e9] DestroyPipelineAndFilters


time:675555582 enter.

[000:402] [2022-05-23 17:46:46 +0000.566828][63e9] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:402] [2022-05-23 17:46:46 +0000.566850][63e9] AppDeviceManagerStopMic

[000:403] [2022-05-23 17:46:46 +0000.566900][63e9] AppDeviceManagerStopMic::mic


status is on
[000:403] [2022-05-23 17:46:46 +0000.566954][63e9] Try to stop webrtc device.

[000:403] [2022-05-23 17:46:46 +0000.566978][63e9] Set record state to


stopped.threadID:25577

[000:441] [2022-05-23 17:46:46 +0000.605439][63e9] Try to destory the


recorder.threadID:25577

[000:641] [2022-05-23 17:46:46 +0000.805702][63e9] DestroyAudioRecorder:


[000:641] [2022-05-23 17:46:46 +0000.805831][63e9] Cleanup the buffer queue in the
recorder.
[000:642] [2022-05-23 17:46:46 +0000.805888][63e9] Destroy the recorder.

[000:646] [2022-05-23 17:46:46 +0000.810475][63e9] StopRecording finished.

[000:646] [2022-05-23 17:46:46 +0000.810860][63e9] The stop recording success.

[000:647] [2022-05-23 17:46:46 +0000.810961][63e9]


AudioDeviceDataHandler::StopMicProcess
[000:651] [2022-05-23 17:46:46 +0000.815539][63e9] AppDeviceManager stop.

[000:651] [2022-05-23 1[000:026] [2022-05-25 05:58:41 +0000.713508][762] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-05-
25 05:58:41 +0000
[000:026] [2022-05-25 05:58:41 +0000.713565][762] set AppID=50011 old AppID=-1
[000:026] [2022-05-25 05:58:41 +0000.713581][762] Init the android object with
jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x7885786318

[000:026] [2022-05-25 05:58:41 +0000.713614][762] SetAndroidMediaCodecObjects


time:727246844 enter.

[000:026] [2022-05-25 05:58:41 +0000.713640][762] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:026] [2022-05-25 05:58:41 +0000.713652][762] SetAndroidMediaCodecObjects


time:727246844 enter.

[000:026] [2022-05-25 05:58:41 +0000.713664][762] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079800a0380
[000:026] [2022-05-25 05:58:41 +0000.713675][762] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079800a0380 address:0x785f9fa760
[000:026] [2022-05-25 05:58:41 +0000.713698][762] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079800a0380
address:0x785f9fa760
[000:026] [2022-05-25 05:58:41 +0000.713708][762] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:026] [2022-05-25 05:58:41 +0000.713721][762] Set the android objects with


jvm:0xb4000079800a0380 env:0x78dcad6580 context:0x7885786318

[000:026] [2022-05-25 05:58:41 +0000.714169][762] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78dcad6580
[000:026] [2022-05-25 05:58:41 +0000.714207][762] SystemUtil Init done
[000:029] [2022-05-25 05:58:41 +0000.716257][762]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:029] [2022-05-25 05:58:41 +0000.716868][762] MediaFilterCamera
[000:030] [2022-05-25 05:58:41 +0000.717383][762] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:030] [2022-05-25 05:58:41 +0000.717590][762] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:030] [2022-05-25 05:58:41 +0000.717630][762] Recording session using default
bitrate support by app:31457280
[000:030] [2022-05-25 05:58:41 +0000.717652][135d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e98999c0
[000:030] [2022-05-25 05:58:41 +0000.718129][135d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:030] [2022-05-25 05:58:41 +0000.718227][762] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:031] [2022-05-25 05:58:41 +0000.718810][762] Error(ini.cc:191): Open the file
failed. error:2
[000:031] [2022-05-25 05:58:41 +0000.718997][762]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:032] [2022-05-25 05:58:41 +0000.719465][762] The device model: 21091116ai
usingSoftwareAEC value: 0
[000:035] [2022-05-25 05:58:41 +0000.722754][762] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2022-05-25 05:58:41 +0000.722806][762]
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-05-25 05:58:41 +0000.722826][762] The device model: 21091116ai
usingHardwareAEC value: 0
[000:035] [2022-05-25 05:58:41 +0000.722839][762] The machine device: 21091116ai
usingHardwareAEC value: 0
[000:035] [2022-05-25 05:58:41 +0000.722850][762] Using Default AEC type: software
AEC
[000:036] [2022-05-25 05:58:41 +0000.723453][762] The device model: 21091116ai enum
value: 0
[000:036] [2022-05-25 05:58:41 +0000.724177][762] GetMachineModel is 21091116AI
[000:036] [2022-05-25 05:58:41 +0000.724209][762] GetMachineInfo: 21091116AI
[000:036] [2022-05-25 05:58:41 +0000.724229][762] Construct BeautifyReader begin...
[000:037] [2022-05-25 05:58:41 +0000.724240][762] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2022-05-25 05:58:41 +0000.724250][762] Construct BeautifyReader done.
[000:039] [2022-05-25 05:58:41 +0000.726940][762] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:039] [2022-05-25 05:58:41 +0000.726989][1360] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x786b7a11a0
[000:039] [2022-05-25 05:58:41 +0000.727220][762] AppDeviceManager telnet server
for statistics started......
[000:040] [2022-05-25 05:58:41 +0000.727570][762] CpuOverloadDetect time:727246858
enter.

[000:040] [2022-05-25 05:58:41 +0000.727680][762] CpuOverloadDetect leave. expire


time = 0 ms

[000:040] [2022-05-25 05:58:41 +0000.727725][1361] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x784207a200
[000:040] [2022-05-25 05:58:41 +0000.728129][762] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:040] [2022-05-25 05:58:41 +0000.728150][762] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:041] [2022-05-25 05:58:41 +0000.728456][762] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2022-05-25 05:58:41 +0000.729102][762] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-05-25 05:58:41 +0000.729663][762] CreatePlatformSpecificObjects:
[000:042] [2022-05-25 05:58:41 +0000.729707][762] audio device use opensle input
and opensl output
[000:042] [2022-05-25 05:58:41 +0000.729742][762] Create OpenSLES output module
with java VM support.

[000:042] [2022-05-25 05:58:41 +0000.729875][762] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-05-25 05:58:41 +0000.730027][762] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-05-25 05:58:41 +0000.730179][762] Create OpenSLES output module
with buffer num:1

[000:043] [2022-05-25 05:58:41 +0000.730324][762] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2022-05-25 05:58:41 +0000.730411][762] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2022-05-25 05:58:41 +0000.730525][762] Create OpenSLES input module with
java VM support.

[000:043] [2022-05-25 05:58:41 +0000.730552][762] Create OpenSLES input module with


buffer num:1
[000:043] [2022-05-25 05:58:41 +0000.730595][762] Error(trace.cc:40): Init the
output and input for audio device template.
[000:043] [2022-05-25 05:58:41 +0000.730612][762] Init the output device.

[000:043] [2022-05-25 05:58:41 +0000.730624][762] Init the opensl input.


[000:043] [2022-05-25 05:58:41 +0000.730637][762] AppDeviceManager get setting
samplerate: 0
[000:043] [2022-05-25 05:58:41 +0000.730930][762] The device model: 21091116ai enum
value: 0
[000:044] [2022-05-25 05:58:41 +0000.731377][762] The device model: 21091116ai enum
value: 0
[000:044] [2022-05-25 05:58:41 +0000.731398][762] Set the sample rate to be:48000

[000:044] [2022-05-25 05:58:41 +0000.731411][762] Enable the recording stereo:0


[000:044] [2022-05-25 05:58:41 +0000.731425][762] Set the playout as stereo:1
[000:044] [2022-05-25 05:58:41 +0000.731435][762] Init the microphone.
[000:045] [2022-05-25 05:58:41 +0000.732533][762] Update the recording sample rate
to be: 48000
[000:045] [2022-05-25 05:58:41 +0000.732581][762] Init the speaker.
[000:045] [2022-05-25 05:58:41 +0000.732612][762] Low latency buffer size:256 low
sample rate:48000
[000:045] [2022-05-25 05:58:41 +0000.733072][762] Using 1 x 10ms for an audio
frame.

[000:048] [2022-05-25 05:58:41 +0000.736194][762] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:049] [2022-05-25 05:58:41 +0000.736270][762] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:049] [2022-05-25 05:58:41 +0000.736297][762] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-05-25 05:58:41 +0000.740544][762] The device model:21091116ai

[000:053] [2022-05-25 05:58:41 +0000.740601][762] speaker output factor:100


defaultFactor: 100

[000:053] [2022-05-25 05:58:41 +0000.740614][762] headset output factor:100


defaultFactor: 100

[000:053] [2022-05-25 05:58:41 +0000.740917][762] AppDeviceManagerStart finished.


[000:053] [2022-05-25 05:58:41 +0000.740965][762] AppDeviceManagerStartMic::mic
status is off
[000:053] [2022-05-25 05:58:41 +0000.741010][762] AppDeviceManagerStartMic update
aec type: 2

[000:053] [2022-05-25 05:58:41 +0000.741025][762] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:053] [2022-05-25 05:58:41 +0000.741036][762]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:053] [2022-05-25 05:58:41 +0000.741047][762]
AudioDeviceDataHandler::StartMicProcess

[000:053] [2022-05-25 05:58:41 +0000.741179][762] Try to start webrtc recording


device.

[000:053] [2022-05-25 05:58:41 +0000.741200][762] StartRecording. threadID:1890

[000:053] [2022-05-25 05:58:41 +0000.741294][1362] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:054] [2022-05-25 05:58:41 +0000.741470][1362] haveEnoughProcessedData
internalAudioStream.length: 0
[000:054] [2022-05-25 05:58:41 +0000.741501][762] The machine model:21091116AI

[000:054] [2022-05-25 05:58:41 +0000.741729][762] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:054] [2022-05-25 05:58:41 +0000.741816][762] Set the recording mode before


getSetting: 4
[000:054] [2022-05-25 05:58:41 +0000.741845][762] Set the recording mode after
getSetting: 1
[000:077] [2022-05-25 05:58:41 +0000.764271][762] StartRecording finished.

[000:077] [2022-05-25 05:58:41 +0000.764320][762] audio: start the audio mic


checker timer.

[000:077] [2022-05-25 05:58:41 +0000.764717][762] machine model :redmi


[000:077] [2022-05-25 05:58:41 +0000.764755][762] Support this machine model :redmi
[000:081] [2022-05-25 05:58:41 +0000.768440][762] global inited! current sdk
version: 07-20-936c45f
[000:172] [2022-05-25 05:58:41 +0000.859643][1363] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:172] [2022-05-25 05:58:41 +0000.859816][1363] _deviceSampleRate:48000

[000:177] [2022-05-25 05:58:41 +0000.864745][1362] Run AGC when audioType = 0


[000:177] [2022-05-25 05:58:41 +0000.864926][1362]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:638] [2022-05-25 05:58:42 +0000.325945][10cf]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:638] [2022-05-25 05:58:42 +0000.326186][135e] MediaFilterCamera, recording
file context:0x78e98d3680 input texture:8
[000:639] [2022-05-25 05:58:42 +0000.326232][135e] GLESContext:
[000:639] [2022-05-25 05:58:42 +0000.326361][135e] The result of eglGetDisplay is:
0x1
[000:641] [2022-05-25 05:58:42 +0000.328986][135e] The result of creation:
0x78e98d3b80
[000:641] [2022-05-25 05:58:42 +0000.329302][135e] The result of
eglCreatePbufferSurface is: 0x78e98d3c00
[000:642] [2022-05-25 05:58:42 +0000.329849][10cf]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78e98d3680 input_texture: 8
[000:736] [2022-05-25 05:58:42 +0000.423464][762]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:736] [2022-05-25 05:58:42 +0000.423533][762] ~MediaFilterCamera time:727247554
enter.

[000:736] [2022-05-25 05:58:42 +0000.423555][762] StopPullFrameAndWriteMp4


time:727247554 enter.

[000:736] [2022-05-25 05:58:42 +0000.423846][135d] stop recording


[000:736] [2022-05-25 05:58:42 +0000.423926][135d] we have stopped recording before
[000:736] [2022-05-25 05:58:42 +0000.424017][762] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[000:737] [2022-05-25 05:58:42 +0000.424462][762] DestroyPipelineAndFilters


time:727247555 enter.
[000:737] [2022-05-25 05:58:42 +0000.424547][762] DestroyPipelineAndFilters leave.
expire time = 0 ms

[000:737] [2022-05-25 05:58:42 +0000.424580][762] AppDeviceManagerStopMic

[000:737] [2022-05-25 05:58:42 +0000.424657][762] AppDeviceManagerStopMic::mic


status is on
[000:737] [2022-05-25 05:58:42 +0000.424688][762] Try to stop webrtc device.

[000:737] [2022-05-25 05:58:42 +0000.424718][762] Set record state to


stopped.threadID:1890

[000:764] [2022-05-25

You might also like