0% found this document useful (0 votes)
3 views

trace

The document contains a log of an application initializing its audio and video recording functionalities on an Android device. It includes timestamps, error messages related to file access failures, and configuration settings for audio channels and sample rates. The device model is identified as m2007j17i, and various operations such as setting up media codec objects and starting the microphone are logged.

Uploaded by

ddar86455
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)
3 views

trace

The document contains a log of an application initializing its audio and video recording functionalities on an Android device. It includes timestamps, error messages related to file access failures, and configuration settings for audio channels and sample rates. The device model is identified as m2007j17i, and various operations such as setting up media codec objects and starting the microphone are logged.

Uploaded by

ddar86455
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:049] [2024-12-29 04:52:28 +0000.

519310][5011] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2024-12-
29 04:52:28 +0000
[000:049] [2024-12-29 04:52:28 +0000.519448][5011] set AppID=50011 old AppID=-1
[000:049] [2024-12-29 04:52:28 +0000.519472][5011] Init the android object with
jvm:0xb4000077315dc380 env:0x766638dfa0 context:0x760f4fa4d8

[000:049] [2024-12-29 04:52:28 +0000.519509][5011] SetAndroidMediaCodecObjects


time:57633295 enter.

[000:049] [2024-12-29 04:52:28 +0000.519551][5011] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:049] [2024-12-29 04:52:28 +0000.519581][5011] SetAndroidMediaCodecObjects


time:57633295 enter.

[000:049] [2024-12-29 04:52:28 +0000.519598][5011] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000077315dc380
[000:049] [2024-12-29 04:52:28 +0000.519630][5011] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000077315dc380 address:0x75694de760
[000:049] [2024-12-29 04:52:28 +0000.519648][5011] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000077315dc380
address:0x75694de760
[000:049] [2024-12-29 04:52:28 +0000.519672][5011] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:049] [2024-12-29 04:52:28 +0000.519706][5011] Set the android objects with


jvm:0xb4000077315dc380 env:0x766638dfa0 context:0x760f4fa4d8

[000:049] [2024-12-29 04:52:28 +0000.519777][5011] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x766638dfa0
[000:049] [2024-12-29 04:52:28 +0000.519819][5011] SystemUtil Init done
[000:052] [2024-12-29 04:52:28 +0000.522672][5011]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:052] [2024-12-29 04:52:28 +0000.522835][5011] MediaFilterCamera
[000:052] [2024-12-29 04:52:28 +0000.522887][5011] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:052] [2024-12-29 04:52:28 +0000.523010][5011] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:053] [2024-12-29 04:52:28 +0000.523048][5011] Recording session using default
bitrate support by app:14680064
[000:053] [2024-12-29 04:52:28 +0000.523052][1349] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7674e843c0
[000:053] [2024-12-29 04:52:28 +0000.523264][1349] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:053] [2024-12-29 04:52:28 +0000.523337][5011] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:053] [2024-12-29 04:52:28 +0000.523874][5011] Error(ini.cc:191): Open the file
failed. error:2
[000:053] [2024-12-29 04:52:28 +0000.523911][5011]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:053] [2024-12-29 04:52:28 +0000.523941][5011] The device model: m2007j17i
usingSoftwareAEC value: 0
[000:057] [2024-12-29 04:52:28 +0000.527358][5011] Error(ini.cc:191): Open the file
failed. error:2
[000:057] [2024-12-29 04:52:28 +0000.527430][5011]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:057] [2024-12-29 04:52:28 +0000.527457][5011] The device model: m2007j17i
usingHardwareAEC value: 0
[000:057] [2024-12-29 04:52:28 +0000.527472][5011] The machine device: m2007j17i
usingHardwareAEC value: 0
[000:057] [2024-12-29 04:52:28 +0000.527490][5011] Using Default AEC type: software
AEC
[000:058] [2024-12-29 04:52:28 +0000.528437][5011] The device model: m2007j17i enum
value: 0
[000:058] [2024-12-29 04:52:28 +0000.528896][5011] GetMachineModel is M2007J17I
[000:058] [2024-12-29 04:52:28 +0000.528953][5011] GetMachineInfo: M2007J17I
[000:058] [2024-12-29 04:52:28 +0000.528981][5011] Construct BeautifyReader
begin...
[000:058] [2024-12-29 04:52:28 +0000.529000][5011] dumpStickerRgba:0
dumpStickerYuv:0
[000:059] [2024-12-29 04:52:28 +0000.529016][5011] Construct BeautifyReader done.
[000:061] [2024-12-29 04:52:28 +0000.531796][5011] Error(ini.cc:191): Open the file
failed. error:2
[000:061] [2024-12-29 04:52:28 +0000.531895][5011]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:062] [2024-12-29 04:52:28 +0000.532039][5011] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:062] [2024-12-29 04:52:28 +0000.532078][5011] AppDeviceManager telnet server
for statistics started......
[000:062] [2024-12-29 04:52:28 +0000.532215][134c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x758dade5a0
[000:063] [2024-12-29 04:52:28 +0000.533073][5011] CpuOverloadDetect time:57633309
enter.

[000:063] [2024-12-29 04:52:28 +0000.533221][5011] CpuOverloadDetect leave. expire


time = 0 ms

[000:063] [2024-12-29 04:52:28 +0000.533696][5011] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:063] [2024-12-29 04:52:28 +0000.533745][5011] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:063] [2024-12-29 04:52:28 +0000.533971][5011] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:064] [2024-12-29 04:52:28 +0000.534296][5011] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2024-12-29 04:52:28 +0000.534702][134d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7674e65980
[000:066] [2024-12-29 04:52:28 +0000.536678][5011] CreatePlatformSpecificObjects:
[000:066] [2024-12-29 04:52:28 +0000.536752][5011] audio device use opensle input
and opensl output
[000:066] [2024-12-29 04:52:28 +0000.536777][5011] Create OpenSLES output module
with java VM support.

[000:066] [2024-12-29 04:52:28 +0000.536895][5011] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:067] [2024-12-29 04:52:28 +0000.537131][5011] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:067] [2024-12-29 04:52:28 +0000.537323][5011] Create OpenSLES output module
with buffer num:1

[000:067] [2024-12-29 04:52:28 +0000.537476][5011] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:067] [2024-12-29 04:52:28 +0000.537625][5011] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:067] [2024-12-29 04:52:28 +0000.537784][5011] Create OpenSLES input module
with java VM support.

[000:067] [2024-12-29 04:52:28 +0000.537820][5011] Create OpenSLES input module


with buffer num:1

[000:067] [2024-12-29 04:52:28 +0000.537872][5011] Error(trace.cc:40): Init the


output and input for audio device template.
[000:067] [2024-12-29 04:52:28 +0000.537894][5011] Init the output device.

[000:067] [2024-12-29 04:52:28 +0000.537912][5011] Init the opensl input.


[000:067] [2024-12-29 04:52:28 +0000.537938][5011] AppDeviceManager get setting
samplerate: 0
[000:068] [2024-12-29 04:52:28 +0000.538216][5011] The device model: m2007j17i enum
value: 0
[000:068] [2024-12-29 04:52:28 +0000.538599][5011] The device model: m2007j17i enum
value: 0
[000:068] [2024-12-29 04:52:28 +0000.538622][5011] Set the sample rate to be:48000

[000:068] [2024-12-29 04:52:28 +0000.538641][5011] Enable the recording stereo:0


[000:068] [2024-12-29 04:52:28 +0000.538657][5011] Set the playout as stereo:1
[000:068] [2024-12-29 04:52:28 +0000.538671][5011] Init the microphone.
[000:072] [2024-12-29 04:52:28 +0000.542763][5011] Update the recording sample rate
to be: 48000
[000:072] [2024-12-29 04:52:28 +0000.542827][5011] Init the speaker.
[000:072] [2024-12-29 04:52:28 +0000.542876][5011] Low latency buffer size:144 low
sample rate:48000
[000:073] [2024-12-29 04:52:28 +0000.543127][5011] Using 1 x 10ms for an audio
frame.

[000:076] [2024-12-29 04:52:28 +0000.546229][5011] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:076] [2024-12-29 04:52:28 +0000.546350][5011] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:076] [2024-12-29 04:52:28 +0000.546380][5011] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:081] [2024-12-29 04:52:28 +0000.551345][5011] The device model:m2007j17i

[000:081] [2024-12-29 04:52:28 +0000.551421][5011] speaker output factor:100


defaultFactor: 100

[000:081] [2024-12-29 04:52:28 +0000.551439][5011] headset output factor:100


defaultFactor: 100

[000:081] [2024-12-29 04:52:28 +0000.551725][5011] AppDeviceManagerStart finished.


[000:081] [2024-12-29 04:52:28 +0000.551758][5011] AppDeviceManagerStartMic::mic
status is off
[000:081] [2024-12-29 04:52:28 +0000.551808][5011] AppDeviceManagerStartMic update
aec type: 2

[000:081] [2024-12-29 04:52:28 +0000.551831][5011] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:081] [2024-12-29 04:52:28 +0000.551847][5011]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:081] [2024-12-29 04:52:28 +0000.551880][5011]
AudioDeviceDataHandler::StartMicProcess

[000:082] [2024-12-29 04:52:28 +0000.552068][5011] Try to start webrtc recording


device.

[000:082] [2024-12-29 04:52:28 +0000.552108][5011] StartRecording. threadID:20497

[000:082] [2024-12-29 04:52:28 +0000.552220][134e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:082] [2024-12-29 04:52:28 +0000.552296][134e] haveEnoughProcessedData
internalAudioStream.length: 0
[000:082] [2024-12-29 04:52:28 +0000.552400][5011] The machine model:M2007J17I

[000:082] [2024-12-29 04:52:28 +0000.552454][5011] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:082] [2024-12-29 04:52:28 +0000.552478][5011] Set the recording mode before


getSetting: 4
[000:082] [2024-12-29 04:52:28 +0000.552506][5011] Set the recording mode after
getSetting: 1
[000:116] [2024-12-29 04:52:28 +0000.586702][5011] StartRecording finished.

[000:116] [2024-12-29 04:52:28 +0000.586758][5011] audio: start the audio mic


checker timer.

[000:117] [2024-12-29 04:52:28 +0000.587100][5011] machine model :xiaomi


[000:117] [2024-12-29 04:52:28 +0000.587165][5011] Support this machine
model :xiaomi
[000:117] [2024-12-29 04:52:28 +0000.587276][5011] global inited! current sdk
version: 12-14-d8558ab
[000:211] [2024-12-29 04:52:28 +0000.681228][134f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:211] [2024-12-29 04:52:28 +0000.681520][134f] _deviceSampleRate:48000

[000:212] [2024-12-29 04:52:28 +0000.682762][134e] Run AGC when audioType = 0


[000:212] [2024-12-29 04:52:28 +0000.683008][134e]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:481] [2024-12-29 04:52:28 +0000.952050][3cb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:482] [2024-12-29 04:52:28 +0000.952237][134a] MediaFilterCamera, recording
file context:0x7674e9b700 input texture:4
[000:482] [2024-12-29 04:52:28 +0000.952307][134a] GLESContext:
[000:482] [2024-12-29 04:52:28 +0000.952344][134a] The result of eglGetDisplay is:
0xb40000773164ef40
[000:483] [2024-12-29 04:52:28 +0000.953186][134a] The result of creation:
0x75addf7700
[000:483] [2024-12-29 04:52:28 +0000.953299][134a] The result of
eglCreatePbufferSurface is: 0x75addf7800
[000:483] [2024-12-29 04:52:28 +0000.953397][3cb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7674e9b700 input_texture: 4
[001:841] [2024-12-29 04:52:30 +0000.311702][134e] haveEnoughProcessedData
internalAudioStream.length: 10
[001:939] [2024-12-29 04:52:30 +0000.409349][5011]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:939] [2024-12-29 04:52:30 +0000.409460][5011] ~MediaFilterCamera time:57635185
enter.

[001:939] [2024-12-29 04:52:30 +0000.409482][5011] StopPullFrameAndWriteMp4


time:57635185 enter.
[001:939] [2024-12-29 04:52:30 +0000.409737][1349] stop recording
[001:939] [2024-12-29 04:52:30 +0000.409772][1349] we have stopped recording before
[001:939] [2024-12-29 04:52:30 +0000.409823][5011] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[001:940] [2024-12-29 04:52:30 +0000.410095][5011] DestroyPipelineAndFilters


time:57635186 enter.

[001:940] [2024-12-29 04:52:30 +0000.410171][5011] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:940] [2024-12-29 04:52:30 +0000.410196][5011] AppDeviceManagerStopMic

[001:940] [2024-12-29 04:52:30 +0000.410245][5011] AppDeviceManagerStopMic::mic


status is on
[001:940] [2024-12-29 04:52:30 +0000.410261][5011] Try to stop webrtc device.

[001:940] [2024-12-29 04:52:30 +0000.410279][5011] Set record state to


stopped.threadID:20497

[001:981] [2024-12-29 04:52:30 +0000.451261][5011] Try to destory the


recorder.threadID:20497

[002:181] [2024-12-29 04:52:30 +0000.651397][5011] DestroyAudioRecorder:


[002:181] [2024-12-29 04:52:30 +0000.651538][5011] Cleanup the buffer queue in the
recorder.
[002:181] [2024-12-29 04:52:30 +0000.651560][5011] Destroy the recorder.

[002:182] [2024-12-29 04:52:30 +0000.652207][5011] StopRecording finished.

[002:182] [2024-12-29 04:52:30 +0000.652268][5011] The stop recording success.

[002:182] [2024-12-29 04:52:30 +0000.652314][5011]


AudioDeviceDataHandler::StopMicProcess

[002:186] [2024-12-29 04:52:30 +0000.656458][5011] AppDeviceManager stop.

[002:186] [2024-12-29 04:52:30 +0000.656560][5011] Rlease the webrtc device object.

[002:186] [2024-12-29 04:52:30 +0000.656804][5011] OpenSlesInput destruct.

[002:186] [2024-12-29 04:52:30 +0000.656863][5011] OpenSlesOutput destruct.

[002:187] [2024-12-29 04:52:30 +0000.657244][5011] EventDispatchServerScope


destruct
[002:187] [2024-12-29 04:52:30 +0000.657285][5011]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[002:187] [2024-12-29 04:52:30 +0000.657322][5011] ~AudioDeviceDataHandler

[002:188] [2024-12-29 04:52:30 +0000.658172][5011] AppDeviceManagerDestruct.

[002:188] [2024-12-29 04:52:30 +0000.658217][5011] ~AppDeviceManager:


[002:188] [2024-12-29 04:52:30 +0000.658255][5011] ~CpuOverloadDetect time:57635434
enter.

[002:188] [2024-12-29 04:52:30 +0000.658496][5011] ~CpuOverloadDetect leave.


expire time = 0 ms
[002:202] [2024-12-29 04:52:30 +0000.672921][5011] Destruct BeautifyReader begin...
[002:202] [2024-12-29 04:52:30 +0000.672992][5011] Destruct BeautifyReader done.
[002:203] [2024-12-29 04:52:30 +0000.673018][5011] ~MediaFilterCamera leave.
expire time = 264 ms

[002:203] [2024-12-29 04:52:30 +0000.673127][5011] ~GLESContext:


[002:204] [2024-12-29 04:52:30 +0000.674588][5011] GLESContext destruct finish.
[002:204] [2024-12-29 04:52:30 +0000.674677][5011] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[002:204] [2024-12-29 04:52:30 +0000.674972][5011] global uninited!
[002:216] [2024-12-29 04:52:30 +0000.686103][5011] clear AppID 50011
[002:216] [2024-12-29 04:52:30 +0000.686179][5011] UnRegister JVM for Xplatform
util
[002:216] [2024-12-29 04:52:30 +0000.686203][5011] Dispose::unregister webrtc video
engine
[002:216] [2024-12-29 04:52:30 +0000.686219][5011] Init the android object with
jvm:0x0 env:0x0 context:0x0

[002:216] [2024-12-29 04:52:30 +0000.686295][5011] SetAndroidMediaCodecObjects


time:57635462 enter.

[002:216] [2024-12-29 04:52:30 +0000.686312][5011] ClearAndroidMediaCodecObjects


time:57635462 enter.

[002:216] [2024-12-29 04:52:30 +0000.686331][5011] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:216] [2024-12-29 04:52:30 +0000.686352][5011] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:216] [2024-12-29 04:52:30 +0000.686378][5011] SetAndroidMediaCodecObjects


time:57635462 enter.

[002:216] [2024-12-29 04:52:30 +0000.686407][5011] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[002:216] [2024-12-29 04:52:30 +0000.686434][5011] ClearAndroidMediaCodecObjects
time:57635462 enter.

[002:216] [2024-12-29 04:52:30 +0000.686463][5011] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:216] [2024-12-29 04:52:30 +0000.686489][5011] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[002:216] [2024-12-29 04:52:30 +0000.686517][5011] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[002:216] [2024-12-29 04:52:30 +0000.686544][5011]

You might also like