0% found this document useful (0 votes)
12 views6 pages

Trace

The document contains a log of an Android application's initialization process, detailing the setup of audio and video components, including codec objects and recording sessions. It notes several errors related to file access and configuration loading, specifically mentioning issues with 'voip_config.ini' and 'support_resolution.txt'. Additionally, it provides information about the device model and audio settings being applied during the initialization phase.

Uploaded by

lunasantos9063
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views6 pages

Trace

The document contains a log of an Android application's initialization process, detailing the setup of audio and video components, including codec objects and recording sessions. It notes several errors related to file access and configuration loading, specifically mentioning issues with 'voip_config.ini' and 'support_resolution.txt'. Additionally, it provides information about the device model and audio settings being applied during the initialization phase.

Uploaded by

lunasantos9063
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

[000:105] [2024-08-14 14:13:32 +0000.

365808][276f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-08-
14 14:13:32 +0000
[000:106] [2024-08-14 14:13:32 +0000.365932][276f] set AppID=50011 old AppID=-1
[000:106] [2024-08-14 14:13:32 +0000.365968][276f] Init the android object with
jvm:0xb400007889821380 env:0x786cc1d840 context:0x7810cf6288

[000:106] [2024-08-14 14:13:32 +0000.366013][276f] SetAndroidMediaCodecObjects


time:62868776 enter.

[000:106] [2024-08-14 14:13:32 +0000.366055][276f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:106] [2024-08-14 14:13:32 +0000.366093][276f] SetAndroidMediaCodecObjects


time:62868776 enter.

[000:106] [2024-08-14 14:13:32 +0000.366137][276f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007889821380
[000:106] [2024-08-14 14:13:32 +0000.366179][276f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007889821380 address:0x77c08ab760
[000:106] [2024-08-14 14:13:32 +0000.366228][276f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007889821380
address:0x77c08ab760
[000:106] [2024-08-14 14:13:32 +0000.366268][276f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:106] [2024-08-14 14:13:32 +0000.366326][276f] Set the android objects with


jvm:0xb400007889821380 env:0x786cc1d840 context:0x7810cf6288

[000:108] [2024-08-14 14:13:32 +0000.367947][276f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x786cc1d840
[000:108] [2024-08-14 14:13:32 +0000.368009][276f] SystemUtil Init done
[000:116] [2024-08-14 14:13:32 +0000.376363][276f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:118] [2024-08-14 14:13:32 +0000.378443][276f] MediaFilterCamera
[000:118] [2024-08-14 14:13:32 +0000.378505][276f] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:118] [2024-08-14 14:13:32 +0000.378638][276f] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:118] [2024-08-14 14:13:32 +0000.378689][276f] Recording session using default
bitrate support by app:31457280
[000:118] [2024-08-14 14:13:32 +0000.378680][2a92] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77e4f0aac0
[000:119] [2024-08-14 14:13:32 +0000.378923][2a92] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:119] [2024-08-14 14:13:32 +0000.379021][276f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:119] [2024-08-14 14:13:32 +0000.379602][276f] Error(ini.cc:191): Open the file
failed. error:2
[000:119] [2024-08-14 14:13:32 +0000.379642][276f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:119] [2024-08-14 14:13:32 +0000.379682][276f] The device model: 2201117tg
usingSoftwareAEC value: 0
[000:122] [2024-08-14 14:13:32 +0000.382131][276f] Error(ini.cc:191): Open the file
failed. error:2
[000:122] [2024-08-14 14:13:32 +0000.382205][276f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:122] [2024-08-14 14:13:32 +0000.382243][276f] The device model: 2201117tg
usingHardwareAEC value: 0
[000:122] [2024-08-14 14:13:32 +0000.382267][276f] The machine device: 2201117tg
usingHardwareAEC value: 0
[000:122] [2024-08-14 14:13:32 +0000.382307][276f] Using Default AEC type: software
AEC
[000:123] [2024-08-14 14:13:32 +0000.383345][276f] The device model: 2201117tg enum
value: 0
[000:123] [2024-08-14 14:13:32 +0000.383847][276f] GetMachineModel is 2201117TG
[000:124] [2024-08-14 14:13:32 +0000.383914][276f] GetMachineInfo: 2201117TG
[000:124] [2024-08-14 14:13:32 +0000.383953][276f] Construct BeautifyReader
begin...
[000:124] [2024-08-14 14:13:32 +0000.383987][276f] dumpStickerRgba:0
dumpStickerYuv:0
[000:124] [2024-08-14 14:13:32 +0000.384021][276f] Construct BeautifyReader done.
[000:126] [2024-08-14 14:13:32 +0000.386196][276f] Error(ini.cc:191): Open the file
failed. error:2
[000:126] [2024-08-14 14:13:32 +0000.386275][276f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:126] [2024-08-14 14:13:32 +0000.386392][276f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:126] [2024-08-14 14:13:32 +0000.386427][276f] AppDeviceManager telnet server
for statistics started......
[000:126] [2024-08-14 14:13:32 +0000.386429][2a95] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f2f2daa0
[000:127] [2024-08-14 14:13:32 +0000.386849][276f] CpuOverloadDetect time:62868797
enter.

[000:127] [2024-08-14 14:13:32 +0000.386934][276f] CpuOverloadDetect leave. expire


time = 0 ms

[000:127] [2024-08-14 14:13:32 +0000.386958][2a96] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x77f2f3b540
[000:127] [2024-08-14 14:13:32 +0000.387506][276f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:127] [2024-08-14 14:13:32 +0000.387545][276f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:129] [2024-08-14 14:13:32 +0000.388866][276f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:129] [2024-08-14 14:13:32 +0000.389193][276f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:129] [2024-08-14 14:13:32 +0000.389627][276f] CreatePlatformSpecificObjects:
[000:129] [2024-08-14 14:13:32 +0000.389667][276f] audio device use opensle input
and opensl output
[000:129] [2024-08-14 14:13:32 +0000.389718][276f] Create OpenSLES output module
with java VM support.

[000:130] [2024-08-14 14:13:32 +0000.389898][276f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:130] [2024-08-14 14:13:32 +0000.390046][276f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:130] [2024-08-14 14:13:32 +0000.390227][276f] Create OpenSLES output module
with buffer num:1

[000:130] [2024-08-14 14:13:32 +0000.390386][276f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:130] [2024-08-14 14:13:32 +0000.390521][276f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:130] [2024-08-14 14:13:32 +0000.390673][276f] Create OpenSLES input module
with java VM support.

[000:130] [2024-08-14 14:13:32 +0000.390711][276f] Create OpenSLES input module


with buffer num:1

[000:130] [2024-08-14 14:13:32 +0000.390780][276f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:130] [2024-08-14 14:13:32 +0000.390805][276f] Init the output device.

[000:130] [2024-08-14 14:13:32 +0000.390827][276f] Init the opensl input.


[000:131] [2024-08-14 14:13:32 +0000.390853][276f] AppDeviceManager get setting
samplerate: 0
[000:131] [2024-08-14 14:13:32 +0000.391183][276f] The device model: 2201117tg enum
value: 0
[000:131] [2024-08-14 14:13:32 +0000.391689][276f] The device model: 2201117tg enum
value: 0
[000:131] [2024-08-14 14:13:32 +0000.391717][276f] Set the sample rate to be:48000

[000:131] [2024-08-14 14:13:32 +0000.391741][276f] Enable the recording stereo:0


[000:131] [2024-08-14 14:13:32 +0000.391765][276f] Set the playout as stereo:1
[000:131] [2024-08-14 14:13:32 +0000.391787][276f] Init the microphone.
[000:132] [2024-08-14 14:13:32 +0000.392272][276f] Update the recording sample rate
to be: 48000
[000:132] [2024-08-14 14:13:32 +0000.392305][276f] Init the speaker.
[000:132] [2024-08-14 14:13:32 +0000.392342][276f] Low latency buffer size:144 low
sample rate:48000
[000:132] [2024-08-14 14:13:32 +0000.392623][276f] Using 1 x 10ms for an audio
frame.

[000:136] [2024-08-14 14:13:32 +0000.396023][276f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:136] [2024-08-14 14:13:32 +0000.396164][276f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:136] [2024-08-14 14:13:32 +0000.396246][276f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:141] [2024-08-14 14:13:32 +0000.400871][276f] The device model:2201117tg

[000:141] [2024-08-14 14:13:32 +0000.400958][276f] speaker output factor:100


defaultFactor: 100

[000:141] [2024-08-14 14:13:32 +0000.400987][276f] headset output factor:100


defaultFactor: 100

[000:141] [2024-08-14 14:13:32 +0000.401361][276f] AppDeviceManagerStart finished.


[000:141] [2024-08-14 14:13:32 +0000.401399][276f] AppDeviceManagerStartMic::mic
status is off
[000:141] [2024-08-14 14:13:32 +0000.401454][276f] AppDeviceManagerStartMic update
aec type: 2

[000:141] [2024-08-14 14:13:32 +0000.401486][276f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:141] [2024-08-14 14:13:32 +0000.401524][276f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:141] [2024-08-14 14:13:32 +0000.401556][276f]
AudioDeviceDataHandler::StartMicProcess

[000:141] [2024-08-14 14:13:32 +0000.401710][276f] Try to start webrtc recording


device.

[000:141] [2024-08-14 14:13:32 +0000.401745][276f] StartRecording. threadID:10095

[000:141] [2024-08-14 14:13:32 +0000.401736][2a97] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:141] [2024-08-14 14:13:32 +0000.401805][2a97] haveEnoughProcessedData
internalAudioStream.length: 0
[000:142] [2024-08-14 14:13:32 +0000.402096][276f] The machine model:2201117TG

[000:142] [2024-08-14 14:13:32 +0000.402157][276f] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:142] [2024-08-14 14:13:32 +0000.402190][276f] Set the recording mode before


getSetting: 4
[000:142] [2024-08-14 14:13:32 +0000.402218][276f] Set the recording mode after
getSetting: 1
[000:190] [2024-08-14 14:13:32 +0000.450609][276f] StartRecording finished.

[000:190] [2024-08-14 14:13:32 +0000.450689][276f] audio: start the audio mic


checker timer.

[000:191] [2024-08-14 14:13:32 +0000.451240][276f] machine model :redmi


[000:191] [2024-08-14 14:13:32 +0000.451289][276f] Support this machine
model :redmi
[000:197] [2024-08-14 14:13:32 +0000.457762][276f] global inited! current sdk
version: 07-20-936c45f
[000:279] [2024-08-14 14:13:32 +0000.539163][2a98] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:279] [2024-08-14 14:13:32 +0000.539263][2a98] _deviceSampleRate:48000

[000:284] [2024-08-14 14:13:32 +0000.544346][2a97] Run AGC when audioType = 0


[000:284] [2024-08-14 14:13:32 +0000.544471][2a97]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:767] [2024-08-14 14:13:33 +0000.27203][27b9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:767] [2024-08-14 14:13:33 +0000.27652][2a93] MediaFilterCamera, recording file
context:0x7879dbb080 input texture:10
[000:767] [2024-08-14 14:13:33 +0000.27775][2a93] GLESContext:
[000:768] [2024-08-14 14:13:33 +0000.27901][2a93] The result of eglGetDisplay is:
0x1
[000:769] [2024-08-14 14:13:33 +0000.29938][2a93] The result of creation:
0x77ddf98180
[000:770] [2024-08-14 14:13:33 +0000.30178][2a93] The result of
eglCreatePbufferSurface is: 0x77ddf98a80
[000:770] [2024-08-14 14:13:33 +0000.30418][27b9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7879dbb080 input_texture: 10
[001:881] [2024-08-14 14:13:34 +0000.141391][2a97] haveEnoughProcessedData
internalAudioStream.length: 10
[002:280] [2024-08-14 14:13:34 +0000.539958][2a97] Run AGC when audioType = 0
[002:870] [2024-08-14 14:13:35 +0000.129989][276f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[002:870] [2024-08-14 14:13:35 +0000.130181][276f] ~MediaFilterCamera time:62871540
enter.

[002:870] [2024-08-14 14:13:35 +0000.130218][276f] StopPullFrameAndWriteMp4


time:62871540 enter.

[002:871] [2024-08-14 14:13:35 +0000.131558][2a92] stop recording


[002:871] [2024-08-14 14:13:35 +0000.131640][2a92] we have stopped recording before
[002:871] [2024-08-14 14:13:35 +0000.131726][276f] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[002:872] [2024-08-14 14:13:35 +0000.132574][276f] DestroyPipelineAndFilters


time:62871542 enter.

[002:872] [2024-08-14 14:13:35 +0000.132674][276f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[002:872] [2024-08-14 14:13:35 +0000.132702][276f] AppDeviceManagerStopMic

[002:872] [2024-08-14 14:13:35 +0000.132753][276f] AppDeviceManagerStopMic::mic


status is on
[002:872] [2024-08-14 14:13:35 +0000.132781][276f] Try to stop webrtc device.

[002:872] [2024-08-14 14:13:35 +0000.132811][276f] Set record state to


stopped.threadID:10095

[002:980] [2024-08-14 14:13:35 +0000.240571][276f] Try to destory the


recorder.threadID:10095

[003:181] [2024-08-14 14:13:35 +0000.441144][276f] DestroyAudioRecorder:


[003:181] [2024-08-14 14:13:35 +0000.441358][276f] Cleanup the buffer queue in the
recorder.
[003:181] [2024-08-14 14:13:35 +0000.441410][276f] Destroy the recorder.

[003:185] [2024-08-14 14:13:35 +0000.445270][276f] StopRecording finished.

[003:185] [2024-08-14 14:13:35 +0000.445476][276f] The stop recording success.

[003:185] [2024-08-14 14:13:35 +0000.445515][276f]


AudioDeviceDataHandler::StopMicProcess

[003:190] [2024-08-14 14:13:35 +0000.450383][276f] AppDeviceManager stop.

[003:192] [2024-08-14 14:13:35 +0000.452275][276f] Rlease the webrtc device object.

[003:197] [2024-08-14 14:13:35 +0000.457572][276f] OpenSlesInput destruct.

[003:197] [2024-08-14 14:13:35 +0000.457756][276f] OpenSlesOutput destruct.

[003:204] [2024-08-14 14:13:35 +0000.464308][276f] EventDispatchServerScope


destruct
[003:204] [2024-08-14 14:13:35 +0000.464431][276f]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[003:204] [2024-08-14 14:13:35 +0000.464508][276f] ~AudioDeviceDataHandler

[003:206] [2024-08-14 14:13:35 +0000.465928][276f] AppDeviceManagerDestruct.

[003:206] [2024-08-14 14:13:35 +0000.466073][276f] ~AppDeviceManager:


[003:206] [2024-08-14 14:13:35 +0000.466165][276f] ~CpuOverloadDetect time:62871876
enter.

[003:207] [2024-08-14 14:13:35 +0000.466982][276f] ~CpuOverloadDetect leave.


expire time = 1 ms
[003:251] [2024-08-14 14:13:35 +0000.511758][276f] Destruct BeautifyReader begin...
[003:252] [2024-08-14 14:13:35 +0000.511868][276f] Destruct BeautifyReader done.
[003:252] [2024-08-14 14:13:35 +0000.511901][276f] ~MediaFilterCamera leave.
expire time = 382 ms

[003:254] [2024-08-14 14:13:35 +0000.514836][276f] ~GLESContext:


[003:255] [2024-08-14 14:13:35 +0000.515574][276f] GLESContext destruct finish.
[003:256] [2024-08-14 14:13:35 +0000.516590][276f] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[003:257] [2024-08-14 14:13:35 +0000.516974][276f] global uninited!
[003:259] [2024-08-14 14:13:35 +0000.519677][276f] clear AppID 50011
[003:259] [2024-08-14 14:13:35 +0000.519779][276f] UnRegister JVM for Xplatform
util
[003:259] [2024-08-14 14:13:35 +0000.519812][276f] Dispose::unregister webrtc video
engine
[003:259] [2024-08-14 14:13:35 +0000.519838][276f] Init the android object with
jvm:0x0 env:0x0 context:0x0

[003:260] [2024-08-14 14:13:35 +0000.519877][276f] SetAndroidMediaCodecObjects


time:62871930 enter.

[003:260] [2024-08-14 14:13:35 +0000.519902][276f] ClearAndroidMediaCodecObjects


time:62871930 enter.

[003:260] [2024-08-14 14:13:35 +0000.519933][276f] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:260] [2024-08-14 14:13:35 +0000.519957][276f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:260] [2024-08-14 14:13:35 +0000.519983][276f] SetAndroidMediaCodecObjects


time:62871930 enter.

[003:260] [2024-08-14 14:13:35 +0000.520007][276f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[003:260] [2024-08-14 14:13:35 +0000.520030][276f] ClearAndroidMediaCodecObjects
time:62871930 enter.

[003:260] [2024-08-14 14:13:35 +0000.520052][276f] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:260] [2024-08-14 14:13:35 +0000.520075][276f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[003:260] [2024-08-14 14:13:35 +0000.520097][276f] SetAndroidMediaCodecObjects
leave. expire time =

You might also like