You are on page 1of 6

[000:105] [2023-04-27 17:58:14 +0000.

637338][47a9] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-04-
27 17:58:14 +0000
[000:105] [2023-04-27 17:58:14 +0000.637441][47a9] set AppID=50011 old AppID=-1
[000:105] [2023-04-27 17:58:14 +0000.637466][47a9] Init the android object with
jvm:0xb400007ada971380 env:0x7a33588900 context:0x79dceff2d8

[000:106] [2023-04-27 17:58:14 +0000.637515][47a9] SetAndroidMediaCodecObjects


time:196177814 enter.

[000:106] [2023-04-27 17:58:14 +0000.637575][47a9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:106] [2023-04-27 17:58:14 +0000.637598][47a9] SetAndroidMediaCodecObjects


time:196177814 enter.

[000:106] [2023-04-27 17:58:14 +0000.637624][47a9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007ada971380
[000:106] [2023-04-27 17:58:14 +0000.637645][47a9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007ada971380 address:0x7965cc2760
[000:106] [2023-04-27 17:58:14 +0000.637677][47a9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007ada971380
address:0x7965cc2760
[000:106] [2023-04-27 17:58:14 +0000.637698][47a9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:106] [2023-04-27 17:58:14 +0000.637741][47a9] Set the android objects with


jvm:0xb400007ada971380 env:0x7a33588900 context:0x79dceff2d8

[000:107] [2023-04-27 17:58:14 +0000.638760][47a9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7a33588900
[000:107] [2023-04-27 17:58:14 +0000.638845][47a9] SystemUtil Init done
[000:115] [2023-04-27 17:58:14 +0000.647202][47a9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:

[000:116] [2023-04-27 17:58:14 +0000.648286][47a9] MediaFilterCamera


[000:117] [2023-04-27 17:58:14 +0000.649219][47a9] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:117] [2023-04-27 17:58:14 +0000.649483][47a9] createSessionInternal: create
session with
[000:118] [2023-04-27 17:58:14 +0000.649546][53a1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x799a3b85c0
[000:118] [2023-04-27 17:58:14 +0000.649592][47a9] Recording session using default
bitrate support by app:31457280
[000:119] [2023-04-27 17:58:14 +0000.651133][53a1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:119] [2023-04-27 17:58:14 +0000.651399][47a9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:121] [2023-04-27 17:58:14 +0000.653191][47a9] Error(ini.cc:191): Open the file
failed. error:2
[000:121] [2023-04-27 17:58:14 +0000.653333][47a9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:122] [2023-04-27 17:58:14 +0000.653635][47a9] The device model: 21061119dg
usingSoftwareAEC value: 0
[000:128] [2023-04-27 17:58:14 +0000.659763][47a9] Error(ini.cc:191): Open the file
failed. error:2
[000:128] [2023-04-27 17:58:14 +0000.659868][47a9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:128] [2023-04-27 17:58:14 +0000.659901][47a9] The device model: 21061119dg
usingHardwareAEC value: 0
[000:128] [2023-04-27 17:58:14 +0000.659924][47a9] The machine device: 21061119dg
usingHardwareAEC value: 0
[000:128] [2023-04-27 17:58:14 +0000.659947][47a9] Using Default AEC type: software
AEC
[000:129] [2023-04-27 17:58:14 +0000.661235][47a9] The device model: 21061119dg
enum value: 0
[000:131] [2023-04-27 17:58:14 +0000.662591][47a9] GetMachineModel is 21061119DG
[000:131] [2023-04-27 17:58:14 +0000.662671][47a9] GetMachineInfo: 21061119DG
[000:131] [2023-04-27 17:58:14 +0000.662722][47a9] Construct BeautifyReader
begin...
[000:131] [2023-04-27 17:58:14 +0000.662746][47a9] dumpStickerRgba:0
dumpStickerYuv:0
[000:131] [2023-04-27 17:58:14 +0000.662766][47a9] Construct BeautifyReader done.
[000:137] [2023-04-27 17:58:14 +0000.669272][47a9] Error(ini.cc:191): Open the file
failed. error:2
[000:137] [2023-04-27 17:58:14 +0000.669377][47a9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:138] [2023-04-27 17:58:14 +0000.669502][47a9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:138] [2023-04-27 17:58:14 +0000.669538][47a9] AppDeviceManager telnet server
for statistics started......
[000:138] [2023-04-27 17:58:14 +0000.669575][53a4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x799a192aa0
[000:138] [2023-04-27 17:58:14 +0000.670371][47a9] CpuOverloadDetect time:196177846
enter.

[000:139] [2023-04-27 17:58:14 +0000.670608][47a9] CpuOverloadDetect leave. expire


time = 1 ms

[000:139] [2023-04-27 17:58:14 +0000.670677][53a5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x797ff354c0
[000:141] [2023-04-27 17:58:14 +0000.672622][47a9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:141] [2023-04-27 17:58:14 +0000.672761][47a9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:144] [2023-04-27 17:58:14 +0000.675595][47a9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:148] [2023-04-27 17:58:14 +0000.679838][47a9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:149] [2023-04-27 17:58:14 +0000.680746][47a9] CreatePlatformSpecificObjects:
[000:149] [2023-04-27 17:58:14 +0000.680862][47a9] audio device use opensle input
and opensl output
[000:149] [2023-04-27 17:58:14 +0000.680954][47a9] Create OpenSLES output module
with java VM support.

[000:149] [2023-04-27 17:58:14 +0000.681238][47a9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:149] [2023-04-27 17:58:14 +0000.681503][47a9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:150] [2023-04-27 17:58:14 +0000.681839][47a9] Create OpenSLES output module
with buffer num:1

[000:150] [2023-04-27 17:58:14 +0000.682190][47a9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:150] [2023-04-27 17:58:14 +0000.682495][47a9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:151] [2023-04-27 17:58:14 +0000.682909][47a9] Create OpenSLES input module
with java VM support.

[000:151] [2023-04-27 17:58:14 +0000.682957][47a9] Create OpenSLES input module


with buffer num:1

[000:151] [2023-04-27 17:58:14 +0000.683022][47a9] Error(trace.cc:40): Init the


output and input for audio device template.
[000:151] [2023-04-27 17:58:14 +0000.683047][47a9] Init the output device.

[000:151] [2023-04-27 17:58:14 +0000.683069][47a9] Init the opensl input.


[000:151] [2023-04-27 17:58:14 +0000.683114][47a9] AppDeviceManager get setting
samplerate: 0
[000:152] [2023-04-27 17:58:14 +0000.683678][47a9] The device model: 21061119dg
enum value: 0
[000:152] [2023-04-27 17:58:14 +0000.684483][47a9] The device model: 21061119dg
enum value: 0
[000:153] [2023-04-27 17:58:14 +0000.684519][47a9] Set the sample rate to be:48000

[000:153] [2023-04-27 17:58:14 +0000.684542][47a9] Enable the recording stereo:0


[000:153] [2023-04-27 17:58:14 +0000.684566][47a9] Set the playout as stereo:1
[000:153] [2023-04-27 17:58:14 +0000.684593][47a9] Init the microphone.
[000:156] [2023-04-27 17:58:14 +0000.687674][47a9] Update the recording sample rate
to be: 48000
[000:156] [2023-04-27 17:58:14 +0000.687799][47a9] Init the speaker.
[000:156] [2023-04-27 17:58:14 +0000.687876][47a9] Low latency buffer size:256 low
sample rate:48000
[000:157] [2023-04-27 17:58:14 +0000.688783][47a9] Using 1 x 10ms for an audio
frame.

[000:162] [2023-04-27 17:58:14 +0000.694064][47a9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:162] [2023-04-27 17:58:14 +0000.694331][47a9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:162] [2023-04-27 17:58:14 +0000.694503][47a9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:171] [2023-04-27 17:58:14 +0000.703049][47a9] The device model:21061119dg

[000:171] [2023-04-27 17:58:14 +0000.703211][47a9] speaker output factor:100


defaultFactor: 100

[000:171] [2023-04-27 17:58:14 +0000.703324][47a9] headset output factor:100


defaultFactor: 100

[000:173] [2023-04-27 17:58:14 +0000.704740][47a9] AppDeviceManagerStart finished.


[000:173] [2023-04-27 17:58:14 +0000.704885][47a9] AppDeviceManagerStartMic::mic
status is off
[000:173] [2023-04-27 17:58:14 +0000.705043][47a9] AppDeviceManagerStartMic update
aec type: 2

[000:173] [2023-04-27 17:58:14 +0000.705114][47a9] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:173] [2023-04-27 17:58:14 +0000.705171][47a9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:173] [2023-04-27 17:58:14 +0000.705219][47a9]
AudioDeviceDataHandler::StartMicProcess

[000:173] [2023-04-27 17:58:14 +0000.705462][47a9] Try to start webrtc recording


device.

[000:174] [2023-04-27 17:58:14 +0000.705559][47a9] StartRecording. threadID:18345

[000:174] [2023-04-27 17:58:14 +0000.705811][53a6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:174] [2023-04-27 17:58:14 +0000.705981][53a6] haveEnoughProcessedData
internalAudioStream.length: 0
[000:175] [2023-04-27 17:58:14 +0000.706738][47a9] The machine model:21061119DG

[000:175] [2023-04-27 17:58:14 +0000.706902][47a9] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:175] [2023-04-27 17:58:14 +0000.706987][47a9] Set the recording mode before


getSetting: 4
[000:175] [2023-04-27 17:58:14 +0000.707075][47a9] Set the recording mode after
getSetting: 1
[000:264] [2023-04-27 17:58:14 +0000.796285][47a9] StartRecording finished.

[000:264] [2023-04-27 17:58:14 +0000.796361][47a9] audio: start the audio mic


checker timer.

[000:265] [2023-04-27 17:58:14 +0000.797121][47a9] machine model :redmi


[000:265] [2023-04-27 17:58:14 +0000.797223][47a9] Support this machine
model :redmi
[000:272] [2023-04-27 17:58:14 +0000.803878][47a9] global inited! current sdk
version: 07-20-936c45f
[000:384] [2023-04-27 17:58:14 +0000.915626][53a7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:
nChannels:

[000:384] [2023-04-27 17:58:14 +0000.915756][53a7] _deviceSampleRate:48000

[000:388] [2023-04-27 17:58:14 +0000.920087][53a6] Run AGC when audioType = 0


[000:388] [2023-04-27 17:58:14 +0000.920263][53a6]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:586] [2023-04-27 17:58:15 +0000.118454][4c4f]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:587] [2023-04-27 17:58:15 +0000.118864][53a2] MediaFilterCamera, recording
file context:0x7a3366e200 input texture:13
[000:587] [2023-04-27 17:58:15 +0000.118972][53a2] GLESContext:
[000:587] [2023-04-27 17:58:15 +0000.119072][53a2] The result of eglGetDisplay is:
0x1
[000:589] [2023-04-27 17:58:15 +0000.120717][53a2] The result of creation:
0x799a232000
[000:591] [2023-04-27 17:58:15 +0000.123165][53a2] The result of
eglCreatePbufferSurface is: 0x799a232500
[000:592] [2023-04-27 17:58:15 +0000.123641][4c4f]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a3366e200 input_texture: 13
[001:941] [2023-04-27 17:58:16 +0000.473144][53a6] haveEnoughProcessedData
internalAudioStream.length: 10
[002:371] [2023-04-27 17:58:16 +0000.902521][53a6] Run AGC when audioType = 0
[003:640] [2023-04-27 17:58:18 +0000.171782][53a6] haveEnoughProcessedData
internalAudioStream.length: 0
[004:269] [2023-04-27 17:58:18 +0000.800725][539c]
monitorTime:4005totalDuration:3910
[004:369] [2023-04-27 17:58:18 +0000.900706][53a6] Run AGC when audioType = 0
[004:369] [2023-04-27 17:58:18 +0000.900938][53a6]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:343] [2023-04-27 17:58:19 +0000.875334][53a6] haveEnoughProcessedData
internalAudioStream.length: 0
[006:371] [2023-04-27 17:58:20 +0000.903416][53a6] Run AGC when audioType = 0
[007:047] [2023-04-27 17:58:21 +0000.579370][53a6] haveEnoughProcessedData
internalAudioStream.length: 0
[008:370] [2023-04-27 17:58:22 +0000.901713][53a6] Run AGC when audioType = 0
[008:370] [2023-04-27 17:58:22 +0000.901969][53a6]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:751] [2023-04-27 17:58:23 +0000.283219][53a6] haveEnoughProcessedData
internalAudioStream.length: 10
[009:155] [2023-04-27 17:58:23 +0000.687128][47a9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[009:155] [2023-04-27 17:58:23 +0000.687245][47a9] ~MediaFilterCamera
time:196186863 enter.

[009:155] [2023-04-27 17:58:23 +0000.687267][47a9] StopPullFrameAndWriteMp4


time:196186863 enter.

[009:156] [2023-04-27 17:58:23 +0000.687771][53a1] stop recording


[009:156] [2023-04-27 17:58:23 +0000.687830][53a1] we have stopped recording before
[009:156] [2023-04-27 17:58:23 +0000.687930][47a9] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[009:156] [2023-04-27 17:58:23 +0000.688224][47a9] DestroyPipelineAndFilters


time:196186864 enter.

[009:156] [2023-04-27 17:58:23 +0000.688262][47a9] DestroyPipelineAndFilters


leave. expire time = 0 ms

[009:156] [2023-04-27 17:58:23 +0000.688280][47a9] AppDeviceManagerStopMic

[009:156] [2023-04-27 17:58:23 +0000.688328][47a9] AppDeviceManagerStopMic::mic


status is on
[009:156] [2023-04-27 17:58:23 +0000.688353][47a9] Try to stop webrtc device.

[009:156] [2023-04-27 17:58:23 +0000.688376][47a9] Set record state to


stopped.threadID:18345

[009:182] [2023-04-27 17:58:23 +0000.713829][47a9] Try to destory the


recorder.threadID:18345

[009:382] [2023-04-27 17:58:23 +0000.914006][47a9] DestroyAudioRecorder:


[009:382] [2023-04-27 17:58:23 +0000.914228][47a9] Cleanup the buffer queue in the
recorder.
[009:382] [2023-04-27 17:58:23 +0000.914307][47a9] Destroy the recorder.

[009:386] [2023-04-27 17:58:23 +0000.917997][47a9] StopRecording finished.

[009:386] [2023-04-27 17:58:23 +0000.918080][47a9] The stop recording success.

[009:386] [2023-04-27 17:58:23 +0000.918105][47a9]


AudioDeviceDataHandler::StopMicProcess

[009:390] [2023-04-27 17:58:23 +0000.922120][47a9] AppDeviceManager stop.

[009:390] [2023-04-27 17:58:23 +0000.922305][47a9] Rlease the webrtc device object.

[009:391] [2023-04-27 17:58:23 +0000.923106][47a9] OpenSlesInput destruct.


[009:391] [2023-04-27 17:58:23 +0000.923260][47a9] OpenSlesOutput destruct.

[009:392] [2023-04-27 17:58:23 +0000.924093][47a9] EventDispatchServerScope


destruct
[009:392] [2023-04-27 17:58:23 +0000.924160][47a9]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[009:392] [2023-04-27 17:58:23 +0000.924209][47a9] ~AudioDeviceDataHandler

[009:393] [2023-04-27 17:58:23 +0000.925151][47a9] AppDeviceManagerDestruct.

[009:393] [2023-04-27 17:58:23 +0000.925224][47a9] ~AppDeviceManager:


[009:393] [2023-04-27 17:58:23 +0000.925288][47a9] ~CpuOverloadDetect
time:196187101 enter.

[009:394] [2023-04-27 17:58:23 +0000.925785][47a9] ~CpuOverloadDetect leave.


expire time = 1 ms

[009:407] [2023-04-27 17:58:23 +0000.939421][47a9] Destruct BeautifyReader begin...


[009:408] [2023-04-27 17:58:23 +0000.939679][47a9] Destruct BeautifyReader done.
[009:408] [2023-04-27 17:58:23 +0000.939807][47a9] ~MediaFilterCamera leave.
expire time = 253 ms

[009:409] [2023-04-27 17:58:23 +0000.940857][47a9] ~GLESContext:


[009:410] [2023-04-27 17:58:23 +0000.941521][47a9] GLESContext destruct finish.
[009:410] [2023-04-27 17:58:23 +0000.941655][47a9] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[009:410] [2023-04-27 17:58:23 +0000.942177][47a9] global uninited!
[009:413] [2023-04-27 17:58:23 +0000.944752][47a9] clear AppID 50011
[009:413] [2023-04-27 17:58:23 +0000.944919][47a9] UnRegister JVM for Xplatform
util
[009:413] [2023-04-27 17:58:23 +0000.944979][47a9] Dispose::unregister webrtc video
engine
[009:413] [2023-04-27 17:58:23 +0000.945048][47a9] Init the android object with
jvm:0x0 env:0x0 context:0x0

[009:413] [2023-04-27 17:58:23 +0000.945121][47a9] SetAndroidMediaCodecObjects


time:196187121 enter.

[009:413] [2023

You might also like