You are on page 1of 13

[000:030] [2022-09-19 01:17:41 +0000.

503289][460] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
19 01:17:41 +0000
[000:030] [2022-09-19 01:17:41 +0000.503354][460] set AppID=50011 old AppID=-1
[000:030] [2022-09-19 01:17:41 +0000.503374][460] Init the android object with
jvm:0xb4000071aecb5380 env:0x71aedade80 context:0x707f80a2d8

[000:030] [2022-09-19 01:17:41 +0000.503390][460] SetAndroidMediaCodecObjects


time:1098884064 enter.

[000:030] [2022-09-19 01:17:41 +0000.503407][460] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:030] [2022-09-19 01:17:41 +0000.503437][460] SetAndroidMediaCodecObjects


time:1098884064 enter.

[000:030] [2022-09-19 01:17:41 +0000.503453][460] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071aecb5380
[000:030] [2022-09-19 01:17:41 +0000.503467][460] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071aecb5380 address:0x700ba67760
[000:030] [2022-09-19 01:17:41 +0000.503483][460] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071aecb5380
address:0x700ba67760
[000:030] [2022-09-19 01:17:41 +0000.503496][460] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:030] [2022-09-19 01:17:41 +0000.503522][460] Set the android objects with


jvm:0xb4000071aecb5380 env:0x71aedade80 context:0x707f80a2d8

[000:030] [2022-09-19 01:17:41 +0000.503546][460] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71aedade80
[000:030] [2022-09-19 01:17:41 +0000.503561][460] SystemUtil Init done
[000:032] [2022-09-19 01:17:41 +0000.505152][460]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:032] [2022-09-19 01:17:41 +0000.505306][460] MediaFilterCamera
[000:032] [2022-09-19 01:17:41 +0000.505361][460] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:032] [2022-09-19 01:17:41 +0000.505706][460] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[000:032] [2022-09-19 01:17:41 +0000.505746][460] Recording session using default
bitrate support by app:14680064
[000:032] [2022-09-19 01:17:41 +0000.505787][24a5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x702069f940
[000:033] [2022-09-19 01:17:41 +0000.505990][24a5] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:033] [2022-09-19 01:17:41 +0000.506101][460] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2022-09-19 01:17:41 +0000.506630][460] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-09-19 01:17:41 +0000.506666][460]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:033] [2022-09-19 01:17:41 +0000.506693][460] The device model: m2103k19g
usingSoftwareAEC value: 0
[000:036] [2022-09-19 01:17:41 +0000.509599][460] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2022-09-19 01:17:41 +0000.509658][460]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:036] [2022-09-19 01:17:41 +0000.509688][460] The device model: m2103k19g
usingHardwareAEC value: 0
[000:036] [2022-09-19 01:17:41 +0000.509705][460] The machine device: m2103k19g
usingHardwareAEC value: 0
[000:036] [2022-09-19 01:17:41 +0000.509718][460] Using Default AEC type: software
AEC
[000:037] [2022-09-19 01:17:41 +0000.510673][460] The device model: m2103k19g enum
value: 0
[000:038] [2022-09-19 01:17:41 +0000.511252][460] GetMachineModel is M2103K19G
[000:038] [2022-09-19 01:17:41 +0000.511308][460] GetMachineInfo: M2103K19G
[000:038] [2022-09-19 01:17:41 +0000.511337][460] Construct BeautifyReader begin...
[000:038] [2022-09-19 01:17:41 +0000.511352][460] dumpStickerRgba:0
dumpStickerYuv:0
[000:038] [2022-09-19 01:17:41 +0000.511382][460] Construct BeautifyReader done.
[000:042] [2022-09-19 01:17:41 +0000.515749][460] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:043] [2022-09-19 01:17:41 +0000.515835][460] AppDeviceManager telnet server
for statistics started......
[000:043] [2022-09-19 01:17:41 +0000.515838][24a8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70346719a0
[000:043] [2022-09-19 01:17:41 +0000.516166][460] CpuOverloadDetect time:1098884077
enter.

[000:043] [2022-09-19 01:17:41 +0000.516252][460] CpuOverloadDetect leave. expire


time = 0 ms

[000:043] [2022-09-19 01:17:41 +0000.516306][24a9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70205ec140
[000:044] [2022-09-19 01:17:41 +0000.516787][460] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:044] [2022-09-19 01:17:41 +0000.516815][460] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:044] [2022-09-19 01:17:41 +0000.517012][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-09-19 01:17:41 +0000.517370][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-19 01:17:41 +0000.517826][460] CreatePlatformSpecificObjects:
[000:045] [2022-09-19 01:17:41 +0000.517862][460] audio device use opensle input
and opensl output
[000:045] [2022-09-19 01:17:41 +0000.517906][460] Create OpenSLES output module
with java VM support.

[000:045] [2022-09-19 01:17:41 +0000.518010][460] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:045] [2022-09-19 01:17:41 +0000.518184][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-19 01:17:41 +0000.518372][460] Create OpenSLES output module
with buffer num:1

[000:045] [2022-09-19 01:17:41 +0000.518516][460] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:045] [2022-09-19 01:17:41 +0000.518638][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-19 01:17:41 +0000.518766][460] Create OpenSLES input module with
java VM support.

[000:046] [2022-09-19 01:17:41 +0000.518813][460] Create OpenSLES input module with


buffer num:1

[000:046] [2022-09-19 01:17:41 +0000.518843][460] Error(trace.cc:40): Init the


output and input for audio device template.
[000:046] [2022-09-19 01:17:41 +0000.518871][460] Init the output device.

[000:046] [2022-09-19 01:17:41 +0000.518885][460] Init the opensl input.


[000:046] [2022-09-19 01:17:41 +0000.518903][460] AppDeviceManager get setting
samplerate: 0
[000:046] [2022-09-19 01:17:41 +0000.519234][460] The device model: m2103k19g enum
value: 0
[000:046] [2022-09-19 01:17:41 +0000.519724][460] The device model: m2103k19g enum
value: 0
[000:046] [2022-09-19 01:17:41 +0000.519748][460] Set the sample rate to be:48000

[000:046] [2022-09-19 01:17:41 +0000.519761][460] Enable the recording stereo:0


[000:047] [2022-09-19 01:17:41 +0000.519778][460] Set the playout as stereo:1
[000:047] [2022-09-19 01:17:41 +0000.519796][460] Init the microphone.
[000:049] [2022-09-19 01:17:41 +0000.521934][460] Update the recording sample rate
to be: 48000
[000:049] [2022-09-19 01:17:41 +0000.521987][460] Init the speaker.
[000:049] [2022-09-19 01:17:41 +0000.522035][460] Low latency buffer size:256 low
sample rate:48000
[000:049] [2022-09-19 01:17:41 +0000.522274][460] Using 1 x 10ms for an audio
frame.

[000:052] [2022-09-19 01:17:41 +0000.525330][460] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:052] [2022-09-19 01:17:41 +0000.525389][460] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:052] [2022-09-19 01:17:41 +0000.525423][460] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:056] [2022-09-19 01:17:41 +0000.529504][460] The device model:m2103k19g

[000:056] [2022-09-19 01:17:41 +0000.529559][460] speaker output factor:100


defaultFactor: 100

[000:056] [2022-09-19 01:17:41 +0000.529575][460] headset output factor:100


defaultFactor: 100

[000:057] [2022-09-19 01:17:41 +0000.529854][460] AppDeviceManagerStart finished.


[000:057] [2022-09-19 01:17:41 +0000.529906][460] AppDeviceManagerStartMic::mic
status is off
[000:057] [2022-09-19 01:17:41 +0000.529945][460] AppDeviceManagerStartMic update
aec type: 2

[000:057] [2022-09-19 01:17:41 +0000.529963][460] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:057] [2022-09-19 01:17:41 +0000.529981][460]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:057] [2022-09-19 01:17:41 +0000.529993][460]
AudioDeviceDataHandler::StartMicProcess

[000:057] [2022-09-19 01:17:41 +0000.530171][460] Try to start webrtc recording


device.

[000:057] [2022-09-19 01:17:41 +0000.530193][460] StartRecording. threadID:1120

[000:057] [2022-09-19 01:17:41 +0000.530223][24aa] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:057] [2022-09-19 01:17:41 +0000.530325][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[000:057] [2022-09-19 01:17:41 +0000.530467][460] The machine model:M2103K19G

[000:057] [2022-09-19 01:17:41 +0000.530511][460] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:057] [2022-09-19 01:17:41 +0000.530529][460] Set the recording mode before


getSetting: 4
[000:057] [2022-09-19 01:17:41 +0000.530545][460] Set the recording mode after
getSetting: 1
[000:094] [2022-09-19 01:17:41 +0000.567249][460] StartRecording finished.

[000:094] [2022-09-19 01:17:41 +0000.567360][460] audio: start the audio mic


checker timer.

[000:095] [2022-09-19 01:17:41 +0000.568347][460] machine model :redmi


[000:095] [2022-09-19 01:17:41 +0000.568445][460] Support this machine model :redmi
[000:095] [2022-09-19 01:17:41 +0000.568661][460] global inited! current sdk
version: 07-20-936c45f
[000:211] [2022-09-19 01:17:41 +0000.684430][24ab] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:211] [2022-09-19 01:17:41 +0000.684539][24ab] _deviceSampleRate:48000

[000:215] [2022-09-19 01:17:41 +0000.688551][24aa] Run AGC when audioType = 0


[000:215] [2022-09-19 01:17:41 +0000.688727][24aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:593] [2022-09-19 01:17:42 +0000.66292][812]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:593] [2022-09-19 01:17:42 +0000.66487][24a6] MediaFilterCamera, recording file
context:0x70e99fc500 input texture:12
[000:593] [2022-09-19 01:17:42 +0000.66594][24a6] GLESContext:
[000:594] [2022-09-19 01:17:42 +0000.67219][24a6] The result of eglGetDisplay is:
0xb4000070e9a2f540
[000:602] [2022-09-19 01:17:42 +0000.75213][24a6] The result of creation:
0x704a96f180
[000:602] [2022-09-19 01:17:42 +0000.75746][24a6] The result of
eglCreatePbufferSurface is: 0x703a54e700
[000:603] [2022-09-19 01:17:42 +0000.75935][812]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70e99fc500 input_texture: 12
[001:800] [2022-09-19 01:17:43 +0000.273128][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[002:197] [2022-09-19 01:17:43 +0000.670470][24aa] Run AGC when audioType = 0
[003:501] [2022-09-19 01:17:44 +0000.974319][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[004:098] [2022-09-19 01:17:45 +0000.570946][24a1]
monitorTime:4004totalDuration:3910
[004:198] [2022-09-19 01:17:45 +0000.671029][24aa] Run AGC when audioType = 0
[004:198] [2022-09-19 01:17:45 +0000.671222][24aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:203] [2022-09-19 01:17:46 +0000.676450][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[006:198] [2022-09-19 01:17:47 +0000.670913][24aa] Run AGC when audioType = 0
[006:909] [2022-09-19 01:17:48 +0000.381840][24aa] haveEnoughProcessedData
internalAudioStream.length: 10
[008:198] [2022-09-19 01:17:49 +0000.671566][24aa] Run AGC when audioType = 0
[008:198] [2022-09-19 01:17:49 +0000.671772][24aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:607] [2022-09-19 01:17:50 +0000.80402][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[010:196] [2022-09-19 01:17:51 +0000.669543][24ab] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:197] [2022-09-19 01:17:51 +0000.669788][24ab] _deviceSampleRate:48000

[010:199] [2022-09-19 01:17:51 +0000.672647][24aa] Run AGC when audioType = 0


[010:308] [2022-09-19 01:17:51 +0000.781776][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[012:009] [2022-09-19 01:17:53 +0000.481800][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[012:200] [2022-09-19 01:17:53 +0000.672944][24aa] Run AGC when audioType = 0
[012:200] [2022-09-19 01:17:53 +0000.673150][24aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:710] [2022-09-19 01:17:55 +0000.183570][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[014:200] [2022-09-19 01:17:55 +0000.672933][24aa] Run AGC when audioType = 0
[015:414] [2022-09-19 01:17:56 +0000.887568][24aa] haveEnoughProcessedData
internalAudioStream.length: 0
[016:197] [2022-09-19 01:17:57 +0000.670612][24aa] Run AGC when audioType = 0
[016:198] [2022-09-19 01:17:57 +0000.670851][24aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:116] [2022-09-19 01:17:58 +0000.589715][24aa] haveEnoughProcessedData
internalAudioStream.length: 10
[017:302] [2022-09-19 01:17:58 +0000.775587][460]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[017:302] [2022-09-19 01:17:58 +0000.775682][460] ~MediaFilterCamera
time:1098901336 enter.

[017:302] [2022-09-19 01:17:58 +0000.775715][460] StopPullFrameAndWriteMp4


time:1098901336 enter.

[017:303] [2022-09-19 01:17:58 +0000.775920][24a5] stop recording


[017:303] [2022-09-19 01:17:58 +0000.775949][24a5] we have stopped recording before
[017:303] [2022-09-19 01:17:58 +0000.776050][460] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[017:304] [2022-09-19 01:17:58 +0000.777210][460] DestroyPipelineAndFilters


time:1098901338 enter.

[017:304] [2022-09-19 01:17:58 +0000.777309][460] DestroyPipelineAndFilters leave.


expire time = 0 ms

[017:304] [2022-09-19 01:17:58 +0000.777344][460] AppDeviceManagerStopMic

[017:304] [2022-09-19 01:17:58 +0000.777413][460] AppDeviceManagerStopMic::mic


status is on
[017:304] [2022-09-19 01:17:58 +0000.777440][460] Try to stop webrtc device.

[017:304] [2022-09-19 01:17:58 +0000.777469][460] Set record state to


stopped.threadID:1120

[017:331] [2022-09-19 01:17:58 +0000.804353][460] Try to destory the


recorder.threadID:1120

[017:531] [2022-09-19 01:17:59 +0000.4547][460] DestroyAudioRecorder:


[017:531] [2022-09-19 01:17:59 +0000.4642][460] Cleanup the buffer queue in the
recorder.
[017:531] [2022-09-19 01:17:59 +0000.4659][460] Destroy the recorder.

[017:532] [2022-09-19 01:17:59 +0000.5180][460] StopRecording finished.

[017:532] [2022-09-19 01:17:59 +0000.5215][460] The stop recording success.

[017:532] [2022-09-19 01:17:59 +0000.5231][460]


AudioDeviceDataHandler::StopMicProcess

[017:537] [2022-09-19 01:17:59 +0000.10091][460] AppDeviceManager stop.

[017:537] [2022-09-19 01:17:59 +0000.10213][460] Rlease the webrtc device object.

[017:537] [2022-09-19 01:17:59 +0000.10617][460] OpenSlesInput destruct.

[017:537] [2022-09-19 01:17:59 +0000.10664][460] OpenSlesOutput destruct.

[017:538] [2022-09-19 01:17:59 +0000.11153][460] EventDispatchServerScope destruct


[017:538] [2022-09-19 01:17:59 +0000.11219][460]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[017:538] [2022-09-19 01:17:59 +0000.11261][460] ~AudioDeviceDataHandler

[017:538] [2022-09-19 01:17:59 +0000.11648][460] AppDeviceManagerDestruct.

[017:538] [2022-09-19 01:17:59 +0000.11678][460] ~AppDeviceManager:


[017:538] [2022-09-19 01:17:59 +0000.11708][460] ~CpuOverloadDetect time:1098901572
enter.

[017:539] [2022-09-19 01:17:59 +0000.11856][460] ~CpuOverloadDetect leave. expire


time = 1 ms

[017:540] [2022-09-19 01:17:59 +0000.13590][460] Destruct BeautifyReader begin...


[017:540] [2022-09-19 01:17:59 +0000.13637][460] Destruct BeautifyReader done.
[017:540] [2022-09-19 01:17:59 +0000.13669][460] ~MediaFilterCamera leave. expire
time = 238 ms

[017:541] [2022-09-19 01:17:59 +0000.13916][460] ~GLESContext:


[017:544] [2022-09-19 01:17:59 +0000.17408][460] GLESContext destruct finish.
[017:544] [2022-09-19 01:17:59 +0000.17474][460] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[017:544] [2022-09-19 01:17:59 +0000.17689][460] global uninited!
[017:545] [2022-09-19 01:17:59 +0000.18459][460] clear AppID 50011
[017:545] [2022-09-19 01:17:59 +0000.18490][460] UnRegister JVM for Xplatform util
[017:545] [2022-09-19 01:17:59 +0000.18515][460] Dispose::unregister webrtc video
engine
[017:545] [2022-09-19 01:17:59 +0000.18534][460] Init the android object with
jvm:0x0 env:0x0 context:0x0

[017:545] [2022-09-19 01:17:59 +0000.18555][460] SetAndroidMediaCodecObjects


time:1098901579 enter.

[017:545] [2022-09-19 01:17:59 +0000.18573][460] ClearAndroidMediaCodecObjects


time:1098901579 enter.

[017:545] [2022-09-19 01:17:59 +0000.18586][460] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms
[017:545] [2022-09-19 01:17:59 +0000.18602][460] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[017:545] [2022-09-19 01:17:59 +0000.18622][460] SetAndroidMediaCodecObjects


time:1098901579 enter.

[017:545] [2022-09-19 01:17:59 +0000.18641][460] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[017:545] [2022-09-19 01:17:59 +0000.18652][460] ClearAndroidMediaCodecObjects
time:1098901579 enter.

[017:545] [2022-09-19 01:17:59 +0000.18666][460] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[017:545] [2022-09-19 01:17:59 +0000.18686][460] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[017:545] [2022-09-19 01:17:59 +0000.18696][460] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[017:545] [2022-09-19 01:17:59 +0000.18709][460] Dispose::unregister webrtc voice


engine
[017:545] [2022-09-19 01:17:59 +0000.18720][460] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[017:545] [2022-09-19 01:17:59 +0000.18735][460] SystemUtil UnInit done


[022:672] [2022-09-19 01:18:04 +0000.144880][460] Register JVM for xplatform util
[022:676] [2022-09-19 01:18:04 +0000.148950][460] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
19 01:18:04 +0000
[022:676] [2022-09-19 01:18:04 +0000.148990][460] set AppID=50011 old AppID=-1
[022:676] [2022-09-19 01:18:04 +0000.149007][460] Init the android object with
jvm:0xb4000071aecb5380 env:0x71aedade80 context:0x707f80a948

[022:676] [2022-09-19 01:18:04 +0000.149026][460] SetAndroidMediaCodecObjects


time:1098906710 enter.

[022:676] [2022-09-19 01:18:04 +0000.149048][460] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[022:676] [2022-09-19 01:18:04 +0000.149066][460] SetAndroidMediaCodecObjects


time:1098906710 enter.

[022:676] [2022-09-19 01:18:04 +0000.149084][460] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000071aecb5380
[022:676] [2022-09-19 01:18:04 +0000.149102][460] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000071aecb5380 address:0x700ba67760
[022:676] [2022-09-19 01:18:04 +0000.149121][460] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000071aecb5380
address:0x700ba67760
[022:676] [2022-09-19 01:18:04 +0000.149138][460] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[022:676] [2022-09-19 01:18:04 +0000.149150][460] Set the android objects with


jvm:0xb4000071aecb5380 env:0x71aedade80 context:0x707f80a948

[022:676] [2022-09-19 01:18:04 +0000.149165][460] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x71aedade80
[022:676] [2022-09-19 01:18:04 +0000.149178][460] SystemUtil Init done
[022:676] [2022-09-19 01:18:04 +0000.149423][460]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[022:676] [2022-09-19 01:18:04 +0000.149525][460] MediaFilterCamera
[022:676] [2022-09-19 01:18:04 +0000.149557][460] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[022:676] [2022-09-19 01:18:04 +0000.149691][460] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:14680064
[022:676] [2022-09-19 01:18:04 +0000.149724][460] Recording session using default
bitrate support by app:14680064
[022:676] [2022-09-19 01:18:04 +0000.149759][256e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x702069f940
[022:677] [2022-09-19 01:18:04 +0000.150122][256e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[022:677] [2022-09-19 01:18:04 +0000.150256][460] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[022:678] [2022-09-19 01:18:04 +0000.151663][460] Error(ini.cc:191): Open the file
failed. error:2
[022:678] [2022-09-19 01:18:04 +0000.151720][460]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[022:678] [2022-09-19 01:18:04 +0000.151739][460] The device model: m2103k19g
usingSoftwareAEC value: 0
[022:683] [2022-09-19 01:18:04 +0000.156404][460] Error(ini.cc:191): Open the file
failed. error:2
[022:683] [2022-09-19 01:18:04 +0000.156481][460]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[022:683] [2022-09-19 01:18:04 +0000.156507][460] The device model: m2103k19g
usingHardwareAEC value: 0
[022:683] [2022-09-19 01:18:04 +0000.156520][460] The machine device: m2103k19g
usingHardwareAEC value: 0
[022:683] [2022-09-19 01:18:04 +0000.156532][460] Using Default AEC type: software
AEC
[022:685] [2022-09-19 01:18:04 +0000.158166][460] The device model: m2103k19g enum
value: 0
[022:686] [2022-09-19 01:18:04 +0000.159755][460] GetMachineModel is M2103K19G
[022:687] [2022-09-19 01:18:04 +0000.159813][460] GetMachineInfo: M2103K19G
[022:687] [2022-09-19 01:18:04 +0000.159827][460] Construct BeautifyReader begin...
[022:687] [2022-09-19 01:18:04 +0000.159841][460] dumpStickerRgba:0
dumpStickerYuv:0
[022:687] [2022-09-19 01:18:04 +0000.159855][460] Construct BeautifyReader done.
[022:689] [2022-09-19 01:18:04 +0000.162465][460] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[022:689] [2022-09-19 01:18:04 +0000.162553][460] AppDeviceManager telnet server
for statistics started......
[022:689] [2022-09-19 01:18:04 +0000.162548][2571] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70346712a0
[022:690] [2022-09-19 01:18:04 +0000.163037][460] CpuOverloadDetect time:1098906724
enter.

[022:690] [2022-09-19 01:18:04 +0000.163131][460] CpuOverloadDetect leave. expire


time = 0 ms

[022:690] [2022-09-19 01:18:04 +0000.163176][2572] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x701e3d4440
[022:690] [2022-09-19 01:18:04 +0000.163611][460] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[022:690] [2022-09-19 01:18:04 +0000.163633][460] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[022:690] [2022-09-19 01:18:04 +0000.163761][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[022:691] [2022-09-19 01:18:04 +0000.164031][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[022:691] [2022-09-19 01:18:04 +0000.164225][460] CreatePlatformSpecificObjects:
[022:691] [2022-09-19 01:18:04 +0000.164250][460] audio device use opensle input
and opensl output
[022:691] [2022-09-19 01:18:04 +0000.164269][460] Create OpenSLES output module
with java VM support.

[022:691] [2022-09-19 01:18:04 +0000.164376][460] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[022:691] [2022-09-19 01:18:04 +0000.164507][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[022:691] [2022-09-19 01:18:04 +0000.164651][460] Create OpenSLES output module
with buffer num:1

[022:691] [2022-09-19 01:18:04 +0000.164740][460] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[022:692] [2022-09-19 01:18:04 +0000.164869][460] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[022:692] [2022-09-19 01:18:04 +0000.165000][460] Create OpenSLES input module with
java VM support.

[022:692] [2022-09-19 01:18:04 +0000.165025][460] Create OpenSLES input module with


buffer num:1

[022:692] [2022-09-19 01:18:04 +0000.165046][460] Error(trace.cc:40): Init the


output and input for audio device template.
[022:692] [2022-09-19 01:18:04 +0000.165063][460] Init the output device.

[022:692] [2022-09-19 01:18:04 +0000.165087][460] Init the opensl input.


[022:692] [2022-09-19 01:18:04 +0000.165113][460] AppDeviceManager get setting
samplerate: 0
[022:692] [2022-09-19 01:18:04 +0000.165428][460] The device model: m2103k19g enum
value: 0
[022:693] [2022-09-19 01:18:04 +0000.165843][460] The device model: m2103k19g enum
value: 0
[022:693] [2022-09-19 01:18:04 +0000.165864][460] Set the sample rate to be:48000

[022:693] [2022-09-19 01:18:04 +0000.165887][460] Enable the recording stereo:0


[022:693] [2022-09-19 01:18:04 +0000.165900][460] Set the playout as stereo:1
[022:693] [2022-09-19 01:18:04 +0000.165913][460] Init the microphone.
[022:693] [2022-09-19 01:18:04 +0000.166194][460] Update the recording sample rate
to be: 48000
[022:693] [2022-09-19 01:18:04 +0000.166221][460] Init the speaker.
[022:693] [2022-09-19 01:18:04 +0000.166246][460] Low latency buffer size:256 low
sample rate:48000
[022:693] [2022-09-19 01:18:04 +0000.166498][460] Using 1 x 10ms for an audio
frame.

[022:697] [2022-09-19 01:18:04 +0000.169932][460] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[022:697] [2022-09-19 01:18:04 +0000.170002][460] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[022:697] [2022-09-19 01:18:04 +0000.170045][460] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[022:702] [2022-09-19 01:18:04 +0000.175285][460] The device model:m2103k19g

[022:702] [2022-09-19 01:18:04 +0000.175352][460] speaker output factor:100


defaultFactor: 100
[022:702] [2022-09-19 01:18:04 +0000.175368][460] headset output factor:100
defaultFactor: 100

[022:702] [2022-09-19 01:18:04 +0000.175627][460] AppDeviceManagerStart finished.


[022:702] [2022-09-19 01:18:04 +0000.175679][460] AppDeviceManagerStartMic::mic
status is off
[022:702] [2022-09-19 01:18:04 +0000.175720][460] AppDeviceManagerStartMic update
aec type: 2

[022:702] [2022-09-19 01:18:04 +0000.175736][460] AppDeviceManagerStartMic update


voiceChangeMode: 4

[022:702] [2022-09-19 01:18:04 +0000.175755][460]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[022:702] [2022-09-19 01:18:04 +0000.175767][460]
AudioDeviceDataHandler::StartMicProcess

[022:703] [2022-09-19 01:18:04 +0000.175846][460] Try to start webrtc recording


device.

[022:703] [2022-09-19 01:18:04 +0000.175867][460] StartRecording. threadID:1120

[022:703] [2022-09-19 01:18:04 +0000.175899][460] default mode: Set the recording


mode to voice communication to enable HW AEC .

[022:703] [2022-09-19 01:18:04 +0000.175918][460] Set the recording mode before


getSetting: 4
[022:703] [2022-09-19 01:18:04 +0000.175939][460] Set the recording mode after
getSetting: 1
[022:703] [2022-09-19 01:18:04 +0000.175896][2573] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[022:727] [2022-09-19 01:18:04 +0000.199805][460] StartRecording finished.

[022:727] [2022-09-19 01:18:04 +0000.199850][460] audio: start the audio mic


checker timer.

[022:727] [2022-09-19 01:18:04 +0000.200226][460] machine model :redmi


[022:727] [2022-09-19 01:18:04 +0000.200264][460] Support this machine model :redmi
[022:727] [2022-09-19 01:18:04 +0000.200280][460] global inited! current sdk
version: 07-20-936c45f
[023:194] [2022-09-19 01:18:04 +0000.667150][812]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[023:194] [2022-09-19 01:18:04 +0000.667321][256f] MediaFilterCamera, recording
file context:0x70e99fc500 input texture:7
[023:194] [2022-09-19 01:18:04 +0000.667366][256f] GLESContext:
[023:194] [2022-09-19 01:18:04 +0000.667563][256f] The result of eglGetDisplay is:
0xb4000070e9a2f540
[023:199] [2022-09-19 01:18:04 +0000.672090][256f] The result of creation:
0x70234d8880
[023:199] [2022-09-19 01:18:04 +0000.672388][256f] The result of
eglCreatePbufferSurface is: 0x70234d8900
[023:199] [2022-09-19 01:18:04 +0000.672524][812]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70e99fc500 input_texture: 7
[023:699] [2022-09-19 01:18:05 +0000.172518][2573] Run AGC when audioType = 0
[024:096] [2022-09-19 01:18:05 +0000.570087][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[025:699] [2022-09-19 01:18:07 +0000.171999][2574] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[025:699] [2022-09-19 01:18:07 +0000.172112][2574] _deviceSampleRate:48000

[025:699] [2022-09-19 01:18:07 +0000.172405][2573] Run AGC when audioType = 0


[025:699] [2022-09-19 01:18:07 +0000.172502][2573]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:803] [2022-09-19 01:18:07 +0000.275966][2573] haveEnoughProcessedData
internalAudioStream.length: 10
[026:730] [2022-09-19 01:18:08 +0000.202980][24a1]
monitorTime:4003totalDuration:3930
[027:509] [2022-09-19 01:18:08 +0000.982355][2573] haveEnoughProcessedData
internalAudioStream.length: 10
[027:700] [2022-09-19 01:18:09 +0000.173003][2573] Run AGC when audioType = 0
[029:211] [2022-09-19 01:18:10 +0000.683802][2573] haveEnoughProcessedData
internalAudioStream.length: 10
[029:700] [2022-09-19 01:18:11 +0000.173746][2573] Run AGC when audioType = 0
[029:701] [2022-09-19 01:18:11 +0000.174128][2573]
AudioDeviceDataHandler::MixAndSendOutFrame
[030:909] [2022-09-19 01:18:12 +0000.382763][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[031:702] [2022-09-19 01:18:13 +0000.175626][2573] Run AGC when audioType = 0
[032:610] [2022-09-19 01:18:14 +0000.82958][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[033:702] [2022-09-19 01:18:15 +0000.175207][2573] Run AGC when audioType = 0
[033:702] [2022-09-19 01:18:15 +0000.175392][2573]
AudioDeviceDataHandler::MixAndSendOutFrame
[034:311] [2022-09-19 01:18:15 +0000.784004][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[035:699] [2022-09-19 01:18:17 +0000.172228][2574] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[035:699] [2022-09-19 01:18:17 +0000.172583][2574] _deviceSampleRate:48000

[035:703] [2022-09-19 01:18:17 +0000.176427][2573] Run AGC when audioType = 0


[036:012] [2022-09-19 01:18:17 +0000.485519][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[037:702] [2022-09-19 01:18:19 +0000.174878][2573] Run AGC when audioType = 0
[037:702] [2022-09-19 01:18:19 +0000.175037][2573]
AudioDeviceDataHandler::MixAndSendOutFrame
[037:712] [2022-09-19 01:18:19 +0000.185401][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[039:416] [2022-09-19 01:18:20 +0000.889126][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[039:699] [2022-09-19 01:18:21 +0000.172776][2573] Run AGC when audioType = 0
[041:121] [2022-09-19 01:18:22 +0000.594138][2573] haveEnoughProcessedData
internalAudioStream.length: 10
[041:700] [2022-09-19 01:18:23 +0000.172907][2573] Run AGC when audioType = 0
[041:700] [2022-09-19 01:18:23 +0000.173103][2573]
AudioDeviceDataHandler::MixAndSendOutFrame
[042:821] [2022-09-19 01:18:24 +0000.294762][2573] haveEnoughProcessedData
internalAudioStream.length: 0
[043:700] [2022-09-19 01:18:25 +0000.172858][2573] Run AGC when audioType = 0
[044:164] [2022-09-19 01:18:25 +0000.636857][460]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[044:164] [2022-09-19 01:18:25 +0000.637034][460] ~MediaFilterCamera
time:1098928198 enter.
[044:164] [2022-09-19 01:18:25 +0000.637102][460] StopPullFrameAndWriteMp4
time:1098928198 enter.

[044:165] [2022-09-19 01:18:25 +0000.638395][256e] stop recording


[044:165] [2022-09-19 01:18:25 +0000.638493][256e] we have stopped recording before
[044:167] [2022-09-19 01:18:25 +0000.640045][460] StopPullFrameAndWriteMp4 leave.
expire time = 3 ms

[044:169] [2022-09-19 01:18:25 +0000.641941][460] DestroyPipelineAndFilters


time:1098928203 enter.

[044:169] [2022-09-19 01:18:25 +0000.642054][460] DestroyPipelineAndFilters leave.


expire time = 0 ms

[044:169] [2022-09-19 01:18:25 +0000.642094][460] AppDeviceManagerStopMic

[044:169] [2022-09-19 01:18:25 +0000.642183][460] AppDeviceManagerStopMic::mic


status is on
[044:169] [2022-09-19 01:18:25 +0000.642218][460] Try to stop webrtc device.

[044:169] [2022-09-19 01:18:25 +0000.642265][460] Set record state to


stopped.threadID:1120

[044:194] [2022-09-19 01:18:25 +0000.667421][460] Try to destory the


recorder.threadID:1120

[044:394] [2022-09-19 01:18:25 +0000.867549][460] DestroyAudioRecorder:


[044:394] [2022-09-19 01:18:25 +0000.867636][460] Cleanup the buffer queue in the
recorder.
[044:394] [2022-09-19 01:18:25 +0000.867655][460] Destroy the recorder.

[044:395] [2022-09-19 01:18:25 +0000.868515][460] StopRecording finished.

[044:395] [2022-09-19 01:18:25 +0000.868613][460] The stop recording success.

[044:395] [2022-09-19 01:18:25 +0000.868635][460]


AudioDeviceDataHandler::StopMicProcess

[044:399] [2022-09-19 01:18:25 +0000.872586][460] AppDeviceManager stop.

[044:399] [2022-09-19 01:18:25 +0000.872713][460] Rlease the webrtc device object.

[044:400] [2022-09-19 01:18:25 +0000.873176][460] OpenSlesInput destruct.

[044:400] [2022-09-19 01:18:25 +0000.873230][460] OpenSlesOutput destruct.

[044:400] [2022-09-19 01:18:25 +0000.873740][460] EventDispatchServerScope destruct


[044:401] [2022-09-19 01:18:25 +0000.873843][460]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[044:401] [2022-09-19 01:18:25 +0000.873951][460] ~AudioDeviceDataHandler

[044:401] [2022-09-19 01:18:25 +0000.874658][460] AppDeviceManagerDestruct.

[044:401] [2022-09-19 01:18:25 +0000.874711][460] ~AppDeviceManager:


[044:401] [2022-09-19 01:18:25 +0000.874747][460] ~CpuOverloadDetect
time:1098928435 enter.

[044:402] [2022-09-19 01:18:25 +0000.875261][460] ~CpuOverloadDetect leave. expire


time = 1 ms

[044:404] [2022-09-19 01:18:25 +0000.876

You might also like