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

Trace

The document contains a log of events related to the initialization and setup of audio and video recording on an Android device. It details the configuration of media codec objects, audio settings, and errors encountered while loading configuration files. Additionally, it includes information about the device model and the status of audio input and output devices.

Uploaded by

ehmedlieli061
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Trace

The document contains a log of events related to the initialization and setup of audio and video recording on an Android device. It details the configuration of media codec objects, audio settings, and errors encountered while loading configuration files. Additionally, it includes information about the device model and the status of audio input and output devices.

Uploaded by

ehmedlieli061
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

[000:158] [2025-02-15 16:38:50 +0000.

116083][2c31] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2025-02-
15 16:38:50 +0000
[000:158] [2025-02-15 16:38:50 +0000.116249][2c31] set AppID=50011 old AppID=-1
[000:158] [2025-02-15 16:38:50 +0000.116315][2c31] Init the android object with
jvm:0xb400007703821380 env:0x76e5bbd8c0 context:0x76f2cf62e8

[000:158] [2025-02-15 16:38:50 +0000.116417][2c31] SetAndroidMediaCodecObjects


time:542119913 enter.

[000:158] [2025-02-15 16:38:50 +0000.116493][2c31] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:158] [2025-02-15 16:38:50 +0000.116544][2c31] SetAndroidMediaCodecObjects


time:542119913 enter.

[000:158] [2025-02-15 16:38:50 +0000.116590][2c31] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007703821380
[000:159] [2025-02-15 16:38:50 +0000.116636][2c31] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007703821380 address:0x7636229760
[000:159] [2025-02-15 16:38:50 +0000.116716][2c31] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007703821380
address:0x7636229760
[000:159] [2025-02-15 16:38:50 +0000.116769][2c31] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:159] [2025-02-15 16:38:50 +0000.116853][2c31] Set the android objects with


jvm:0xb400007703821380 env:0x76e5bbd8c0 context:0x76f2cf62e8

[000:159] [2025-02-15 16:38:50 +0000.116946][2c31] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x76e5bbd8c0
[000:159] [2025-02-15 16:38:50 +0000.117021][2c31] SystemUtil Init done
[000:162] [2025-02-15 16:38:50 +0000.120531][2c31]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:163] [2025-02-15 16:38:50 +0000.120914][2c31] MediaFilterCamera
[000:163] [2025-02-15 16:38:50 +0000.121045][2c31] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:163] [2025-02-15 16:38:50 +0000.121475][2c31] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:164] [2025-02-15 16:38:50 +0000.121639][2c31] Recording session using default
bitrate support by app:14680064
[000:164] [2025-02-15 16:38:50 +0000.121729][3566] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76f2679940
[000:164] [2025-02-15 16:38:50 +0000.122050][3566] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:164] [2025-02-15 16:38:50 +0000.122486][2c31] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:166] [2025-02-15 16:38:50 +0000.124524][2c31] Error(ini.cc:191): Open the file
failed. error:2
[000:167] [2025-02-15 16:38:50 +0000.124676][2c31]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:167] [2025-02-15 16:38:50 +0000.124772][2c31] The device model: 220333qag
usingSoftwareAEC value: 0
[000:173] [2025-02-15 16:38:50 +0000.131003][2c31] Error(ini.cc:191): Open the file
failed. error:2
[000:173] [2025-02-15 16:38:50 +0000.131147][2c31]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:173] [2025-02-15 16:38:50 +0000.131217][2c31] The device model: 220333qag
usingHardwareAEC value: 0
[000:173] [2025-02-15 16:38:50 +0000.131261][2c31] The machine device: 220333qag
usingHardwareAEC value: 0
[000:173] [2025-02-15 16:38:50 +0000.131305][2c31] Using Default AEC type: software
AEC
[000:175] [2025-02-15 16:38:50 +0000.133419][2c31] The device model: 220333qag enum
value: 0
[000:176] [2025-02-15 16:38:50 +0000.134559][2c31] GetMachineModel is 220333QAG
[000:177] [2025-02-15 16:38:50 +0000.134694][2c31] GetMachineInfo: 220333QAG
[000:177] [2025-02-15 16:38:50 +0000.134777][2c31] Construct BeautifyReader
begin...
[000:177] [2025-02-15 16:38:50 +0000.134849][2c31] dumpStickerRgba:0
dumpStickerYuv:0
[000:177] [2025-02-15 16:38:50 +0000.134891][2c31] Construct BeautifyReader done.
[000:182] [2025-02-15 16:38:50 +0000.140034][2c31] Error(ini.cc:191): Open the file
failed. error:2
[000:182] [2025-02-15 16:38:50 +0000.140207][2c31]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:182] [2025-02-15 16:38:50 +0000.140409][2c31] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:182] [2025-02-15 16:38:50 +0000.140488][2c31] AppDeviceManager telnet server
for statistics started......
[000:182] [2025-02-15 16:38:50 +0000.140510][3569] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x766d6dfda0
[000:183] [2025-02-15 16:38:50 +0000.141150][2c31] CpuOverloadDetect time:542119938
enter.

[000:183] [2025-02-15 16:38:50 +0000.141332][2c31] CpuOverloadDetect leave. expire


time = 0 ms

[000:183] [2025-02-15 16:38:50 +0000.141406][356a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x76f2737d80
[000:185] [2025-02-15 16:38:50 +0000.143023][2c31] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:185] [2025-02-15 16:38:50 +0000.143130][2c31] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:197] [2025-02-15 16:38:50 +0000.155282][2c31] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:198] [2025-02-15 16:38:50 +0000.155981][2c31] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:199] [2025-02-15 16:38:50 +0000.156938][2c31] CreatePlatformSpecificObjects:
[000:199] [2025-02-15 16:38:50 +0000.157033][2c31] audio device use opensle input
and opensl output
[000:199] [2025-02-15 16:38:50 +0000.157123][2c31] Create OpenSLES output module
with java VM support.

[000:199] [2025-02-15 16:38:50 +0000.157416][2c31] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:200] [2025-02-15 16:38:50 +0000.157689][2c31] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:200] [2025-02-15 16:38:50 +0000.158020][2c31] Create OpenSLES output module
with buffer num:1

[000:200] [2025-02-15 16:38:50 +0000.158309][2c31] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:201] [2025-02-15 16:38:50 +0000.158718][2c31] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:201] [2025-02-15 16:38:50 +0000.159246][2c31] Create OpenSLES input module
with java VM support.

[000:201] [2025-02-15 16:38:50 +0000.159357][2c31] Create OpenSLES input module


with buffer num:1

[000:201] [2025-02-15 16:38:50 +0000.159470][2c31] Error(trace.cc:40): Init the


output and input for audio device template.
[000:201] [2025-02-15 16:38:50 +0000.159522][2c31] Init the output device.

[000:201] [2025-02-15 16:38:50 +0000.159563][2c31] Init the opensl input.


[000:201] [2025-02-15 16:38:50 +0000.159611][2c31] AppDeviceManager get setting
samplerate: 0
[000:202] [2025-02-15 16:38:50 +0000.160499][2c31] The device model: 220333qag enum
value: 0
[000:204] [2025-02-15 16:38:50 +0000.161993][2c31] The device model: 220333qag enum
value: 0
[000:204] [2025-02-15 16:38:50 +0000.162057][2c31] Set the sample rate to be:48000

[000:204] [2025-02-15 16:38:50 +0000.162104][2c31] Enable the recording stereo:0


[000:204] [2025-02-15 16:38:50 +0000.162147][2c31] Set the playout as stereo:1
[000:204] [2025-02-15 16:38:50 +0000.162188][2c31] Init the microphone.
[000:205] [2025-02-15 16:38:50 +0000.162962][2c31] Update the recording sample rate
to be: 48000
[000:205] [2025-02-15 16:38:50 +0000.163077][2c31] Init the speaker.
[000:205] [2025-02-15 16:38:50 +0000.163165][2c31] Low latency buffer size:144 low
sample rate:48000
[000:205] [2025-02-15 16:38:50 +0000.163624][2c31] Using 1 x 10ms for an audio
frame.

[000:211] [2025-02-15 16:38:50 +0000.169553][2c31] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:212] [2025-02-15 16:38:50 +0000.169732][2c31] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:212] [2025-02-15 16:38:50 +0000.169832][2c31] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:221] [2025-02-15 16:38:50 +0000.179184][2c31] The device model:220333qag

[000:221] [2025-02-15 16:38:50 +0000.179299][2c31] speaker output factor:100


defaultFactor: 100

[000:221] [2025-02-15 16:38:50 +0000.179349][2c31] headset output factor:100


defaultFactor: 100

[000:222] [2025-02-15 16:38:50 +0000.180341][2c31] AppDeviceManagerStart finished.


[000:222] [2025-02-15 16:38:50 +0000.180410][2c31] AppDeviceManagerStartMic::mic
status is off
[000:222] [2025-02-15 16:38:50 +0000.180501][2c31] AppDeviceManagerStartMic update
aec type: 2

[000:222] [2025-02-15 16:38:50 +0000.180548][2c31] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:222] [2025-02-15 16:38:50 +0000.180592][2c31]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:223] [2025-02-15 16:38:50 +0000.180634][2c31]
AudioDeviceDataHandler::StartMicProcess

[000:223] [2025-02-15 16:38:50 +0000.180843][2c31] Try to start webrtc recording


device.

[000:223] [2025-02-15 16:38:50 +0000.180899][2c31] StartRecording. threadID:11313

[000:223] [2025-02-15 16:38:50 +0000.180898][356b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:223] [2025-02-15 16:38:50 +0000.180991][356b] haveEnoughProcessedData
internalAudioStream.length: 0
[000:224] [2025-02-15 16:38:50 +0000.181818][2c31] The machine model:220333QAG

[000:224] [2025-02-15 16:38:50 +0000.181969][2c31] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:224] [2025-02-15 16:38:50 +0000.182018][2c31] Set the recording mode before


getSetting: 4
[000:224] [2025-02-15 16:38:50 +0000.182068][2c31] Set the recording mode after
getSetting: 1
[000:292] [2025-02-15 16:38:50 +0000.250347][2c31] StartRecording finished.

[000:292] [2025-02-15 16:38:50 +0000.250468][2c31] audio: start the audio mic


checker timer.

[000:294] [2025-02-15 16:38:50 +0000.251687][2c31] machine model :redmi


[000:294] [2025-02-15 16:38:50 +0000.251761][2c31] Support this machine
model :redmi
[000:294] [2025-02-15 16:38:50 +0000.252013][2c31] global inited! current sdk
version: 12-14-d8558ab
[000:370] [2025-02-15 16:38:50 +0000.327992][356c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:370] [2025-02-15 16:38:50 +0000.328152][356c] _deviceSampleRate:48000

[000:372] [2025-02-15 16:38:50 +0000.330393][356b] Run AGC when audioType = 0


[000:372] [2025-02-15 16:38:50 +0000.330581][356b]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:890] [2025-02-15 16:38:50 +0000.848142][3430]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:891] [2025-02-15 16:38:50 +0000.848742][3567] MediaFilterCamera, recording
file context:0x76f2668500 input texture:4
[000:891] [2025-02-15 16:38:50 +0000.848903][3567] GLESContext:
[000:891] [2025-02-15 16:38:50 +0000.849068][3567] The result of eglGetDisplay is:
0x1
[000:893] [2025-02-15 16:38:50 +0000.851597][3567] The result of creation:
0x766d734d80
[000:894] [2025-02-15 16:38:50 +0000.851805][3567] The result of
eglCreatePbufferSurface is: 0x766d734e80
[000:894] [2025-02-15 16:38:50 +0000.852134][3430]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x76f2668500 input_texture: 4
[001:672] [2025-02-15 16:38:51 +0000.630172][2c31]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:672] [2025-02-15 16:38:51 +0000.630487][2c31] ~MediaFilterCamera
time:542121427 enter.

[001:672] [2025-02-15 16:38:51 +0000.630594][2c31] StopPullFrameAndWriteMp4


time:542121427 enter.

[001:673] [2025-02-15 16:38:51 +0000.631522][3566] stop recording


[001:674] [2025-02-15 16:38:51 +0000.631659][3566] we have stopped recording before
[001:674] [2025-02-15 16:38:51 +0000.631807][2c31] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[001:675] [2025-02-15 16:38:51 +0000.632710][2c31] DestroyPipelineAndFilters


time:542121430 enter.

[001:675] [2025-02-15 16:38:51 +0000.632830][2c31] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:675] [2025-02-15 16:38:51 +0000.632935][2c31] AppDeviceManagerStopMic

[001:675] [2025-02-15 16:38:51 +0000.633070][2c31] AppDeviceManagerStopMic::mic


status is on
[001:675] [2025-02-15 16:38:51 +0000.633149][2c31] Try to stop webrtc device.

[001:675] [2025-02-15 16:38:51 +0000.633234][2c31] Set record state to


stopped.threadID:11313

[001:726] [2025-02-15 16:38:51 +0000.683778][2c31] Try to destory the


recorder.threadID:11313

[001:926] [2025-02-15 16:38:51 +0000.884101][2c31] DestroyAudioRecorder:


[001:926] [2025-02-15 16:38:51 +0000.884253][2c31] Cleanup the buffer queue in the
recorder.
[001:926] [2025-02-15 16:38:51 +0000.884312][2c31] Destroy the recorder.

[001:940] [2025-02-15 16:38:51 +0000.898127][2c31] StopRecording finished.

[001:940] [2025-02-15 16:38:51 +0000.898381][2c31] The stop recording success.

[001:940] [2025-02-15 16:38:51 +0000.898446][2c31]


AudioDeviceDataHandler::StopMicProcess

[001:945] [2025-02-15 16:38:51 +0000.902805][2c31] AppDeviceManager stop.

[001:945] [2025-02-15 16:38:51 +0000.903090][2c31] Rlease the webrtc device object.

[001:946] [2025-02-15 16:38:51 +0000.904145][2c31] OpenSlesInput destruct.

[001:946] [2025-02-15 16:38:51 +0000.904325][2c31] OpenSlesOutput destruct.

[001:947] [2025-02-15 16:38:51 +0000.905232][2c31] EventDispatchServerScope


destruct
[001:947] [2025-02-15 16:38:51 +0000.905347][2c31]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:947] [2025-02-15 16:38:51 +0000.905448][2c31] ~AudioDeviceDataHandler

[001:948] [2025-02-15 16:38:51 +0000.906465][2c31] AppDeviceManagerDestruct.

[001:948] [2025-02-15 16:38:51 +0000.906591][2c31] ~AppDeviceManager:


[001:949] [2025-02-15 16:38:51 +0000.906738][2c31] ~CpuOverloadDetect
time:542121704 enter.

[001:949] [2025-02-15 16:38:51 +0000.907329][2c31] ~CpuOverloadDetect leave.


expire time = 0 ms

[001:975] [2025-02-15 16:38:51 +0000.932863][2c31] Destruct BeautifyReader begin...


[001:975] [2025-02-15 16:38:51 +0000.933044][2c31] Destruct BeautifyReader done.
[001:975] [2025-02-15 16:38:51 +0000.933125][2c31] ~MediaFilterCamera leave.
expire time = 303 ms

[001:975] [2025-02-15 16:38:51 +0000.933552][2c31] ~GLESContext:


[001:979] [2025-02-15 16:38:51 +0000.937047][2c31] GLESContext destruct finish.
[001:979] [2025-02-15 16:38:51 +0000.937217][2c31] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:980] [2025-02-15 16:38:51 +0000.937821][2c31] global uninited!
[001:981] [2025-02-15 16:38:51 +0000.939525][2c31] clear AppID 50011
[001:982] [2025-02-15 16:38:51 +0000.939686][2c31] UnRegister JVM for Xplatform
util
[001:982] [2025-02-15 16:38:51 +0000.939747][2c31] Dispose::unregister webrtc video
engine
[001:982] [2025-02-15 16:38:51 +0000.939801][2c31] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:982] [2025-02-15 16:38:51 +0000.939866][2c31] SetAndroidMediaCodecObjects


time:542121737 enter.

[001:982] [2025-02-15 16:38:51 +0000.939927][2c31] ClearAndroidMediaCodecObjects


time:542121737 enter.

[001:982] [2025-02-15 16:38:51 +0000.939986][2c31] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:982] [2025-02-15 16:38:51 +0000.940043][2c31] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:982] [2025-02-15 16:38:51 +0000.940101][2c31] SetAndroidMediaCodecObjects


time:542121737 enter.

[001:982] [2025-02-15 16:38:51 +0000.940158][2c31] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:982] [2025-02-15 16:38:51 +0000.940214][2c31] ClearAndroidMediaCodecObjects
time:542121737 enter.

[001:982] [2025-02-15 16:38:51 +0000.940270][2c31] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:982] [2025-02-15 16:38:51 +0000.940324][2c31] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:982] [2025-02-15 16:38:51 +0000.940377][2c31] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:982] [2025-02-15 16:38:51 +0000.940435][2c31] Dispose::unregister webrtc voice


engine
[001:982] [2025-02-15 16:38:51 +0000.940489][2c31] Set the android obj

You might also like