Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Cam Microphone Support #202

Open
dmitriyMak opened this issue Apr 14, 2021 · 6 comments
Open

Web Cam Microphone Support #202

dmitriyMak opened this issue Apr 14, 2021 · 6 comments
Labels
enhancement New feature or request

Comments

@dmitriyMak
Copy link

Describe the bug
When participant connects to a room without internal camera and microphone using only connected web camera twilio sdk doesn't detect any microphones and other participants can't hear anything

To Reproduce
Steps to reproduce the behavior:

  1. Get any device without internal camera and microphone with connected web camera
  2. Connect to a room

Expected behavior
Remote audio track from this device is available

Android Device (please complete the following information):

  • Any device without internal camera and microphone with connected web camera

Video Android SDK (please complete the following information):

  • Version: 6.3.0

Additional context
Room includes 2 participants, onDominantSpeakerChanged is called with remote participant sid related to device without microphone. Also I have checked web cameras in Google Camera application https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera , therefore They can be considered as supported by android

@dmitriyMak dmitriyMak added the bug Something isn't working label Apr 14, 2021
@Alton09
Copy link
Contributor

Alton09 commented May 4, 2021

Hi @dmitriyMak. Thanks for reaching out! Is this an issue in your application or within the video application as part of this repo? I'm curious if this video app handles external mics and cameras properly. Do you mind giving it a try and letting us know what you discover? Thanks!

@dmitriyMak
Copy link
Author

I have tested my own application and current from this repository, the result is the same. Remote participant comes with both video and audio tracks. Video shows perfectly the same as integrated camera, audio stream doesn't produces any sound, but integrated microphone works fine. Also as I wrote onDominantSpeakerChanged callback is called, the event related to participant with external web camera that doesn't generate any sound. So I suppose that it isn't the bug of applications, but the Twilio SDK library.
Thank you for the answer!

@Alton09
Copy link
Contributor

Alton09 commented May 4, 2021

@dmitriyMak Oh okay I think I understand now. So the issue you are experiencing is that there is no audio coming from the external camera's speaker but its microphone and camera are both working for the local participant? If that's the case it could be a bug in AudioSwitch, the library that we use to manage audio input and output on available audio devices.

@Alton09
Copy link
Contributor

Alton09 commented May 4, 2021

Also, is the remote participant audio at least coming from the Android device's speakerphone or earpiece and not the external web cam?

@dmitriyMak
Copy link
Author

Just to clarify, I didn't use AudioSwitch in my application, so my case is to get any available microphone audio from device. Since I have developed the app only for one particular device that doesn't have any internal microphone and camera there is a need to use web camera.
Local participant has video from both internal and external cameras, has audio from internal microphone (tested on normal devices as Google Pixel 4), but not from external (web camera) microphone.
The same remote participant behaves. There is always an ability to get an audio track data stream object from remote participant object weather it participant with internal or external microphone, but the latest doesn't produces any sound.
Hope I answered on your questions.

@aaalaniz aaalaniz added enhancement New feature or request and removed bug Something isn't working labels May 10, 2021
@aaalaniz aaalaniz changed the title Twilio sdk doesn't detect web camera microphone Web Cam Microphone Support May 10, 2021
@dmitriyMak
Copy link
Author

Hi! I am attaching the log related to connection to the room from device with a web camera, hope it will help in future.
2021-05-25 19:16:02.059 8559-8610 I/tvi.webrtc.Logging: EglBase14Impl: SDK version: 28. isEGL14Supported: true
2021-05-25 19:16:02.060 8559-8610 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:02.116 8559-8610 I/tvi.webrtc.Logging: WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz
2021-05-25 19:16:02.117 8559-8610 I/tvi.webrtc.Logging: WebRtcAudioManagerExternal: Sample rate is set to 48000 Hz
2021-05-25 19:16:02.118 8559-8610 I/tvi.webrtc.Logging: JavaAudioDeviceModule: createAudioDeviceModule
2021-05-25 19:16:02.118 8559-8610 I/tvi.webrtc.Logging: JavaAudioDeviceModule: HW NS will be used.
2021-05-25 19:16:02.118 8559-8610 I/tvi.webrtc.Logging: JavaAudioDeviceModule: HW AEC will be used.
2021-05-25 19:16:02.123 8559-8610 I/tvi.webrtc.Logging: WebRtcAudioEffectsExternal: ctor@[name=DefaultDispatcher-worker-10, id=369]
2021-05-25 19:16:02.124 8559-8610 I/tvi.webrtc.Logging: WebRtcAudioRecordExternal: ctor@[name=DefaultDispatcher-worker-10, id=369]
2021-05-25 19:16:02.129 8559-8610 I/tvi.webrtc.Logging: WebRtcAudioTrackExternal: ctor@[name=DefaultDispatcher-worker-10, id=369]
2021-05-25 19:16:02.224 8559-8610 W/VideoCapabilities: Unrecognized profile 4 for video/hevc
2021-05-25 19:16:02.229 8559-8610 W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
2021-05-25 19:16:02.234 8559-8610 W/VideoCapabilities: Unrecognized profile/level 0/3 for video/mpeg2
2021-05-25 19:16:02.298 8559-8610 I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es
2021-05-25 19:16:02.305 8559-8610 W/Utils: could not parse long range '175-174'
2021-05-25 19:16:02.336 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: ctor@[name=Thread-16, id=384]
2021-05-25 19:16:02.339 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: Sample rate is set to 48000 Hz
2021-05-25 19:16:02.354 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
2021-05-25 19:16:02.355 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
2021-05-25 19:16:02.357 8559-8628 W/tvi.webrtc.Logging: WebRtcAudioManager: AAudio support is currently disabled on all devices!
2021-05-25 19:16:02.358 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: Android SDK: 28, Release: 9, Brand: Android, Device: msm8953_64, Id: 4A0F14A60117W_date:2007141759, Hardware: qcom, Manufacturer: QUALCOMM, Model: F14A, Product: msm8953_64
2021-05-25 19:16:02.364 8559-8628 I/AudioManager: In isSpeakerphoneOn(), calling application: video.bud.app.dev
2021-05-25 19:16:02.364 8559-8628 I/AudioManager: In isBluetoothScoOn(), calling application: video.bud.app.dev
2021-05-25 19:16:02.366 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: Audio State: audio mode: MODE_NORMAL, has mic: true, mic muted: false, music active: false, speakerphone: true, BT SCO: false
2021-05-25 19:16:02.366 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: Audio State:
2021-05-25 19:16:02.366 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: fixed volume=false
2021-05-25 19:16:02.376 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_VOICE_CALL: volume=4, max=5, muted=false
2021-05-25 19:16:02.379 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_MUSIC: volume=4, max=15, muted=false
2021-05-25 19:16:02.382 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_RING: volume=3, max=7, muted=false
2021-05-25 19:16:02.384 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_ALARM: volume=3, max=7, muted=false
2021-05-25 19:16:02.387 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_NOTIFICATION: volume=3, max=7, muted=false
2021-05-25 19:16:02.390 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: STREAM_SYSTEM: volume=3, max=7, muted=false
2021-05-25 19:16:02.397 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: Audio Devices:
2021-05-25 19:16:02.398 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_EARPIECE(out): channels=[1], encodings=[2], sample rates=[48000], id=2
2021-05-25 19:16:02.398 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_SPEAKER(out): channels=[2], encodings=[2], sample rates=[48000], id=3
2021-05-25 19:16:02.399 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_TELEPHONY(out): channels=[1, 2], encodings=[2], sample rates=[8000, 16000], id=10
2021-05-25 19:16:02.400 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_MIC(in): channels=[1, 2, 3, 4, 6], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=16
2021-05-25 19:16:02.402 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_BUILTIN_MIC(in): channels=[1, 2, 3, 4, 6], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=17
2021-05-25 19:16:02.402 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_FM_TUNER(in): channels=[1, 2], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=13
2021-05-25 19:16:02.403 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_TELEPHONY(in): channels=[1, 2], encodings=[2], sample rates=[8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000], id=14
2021-05-25 19:16:02.404 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: TYPE_USB_DEVICE(in): channels=[1, 2], encodings=[2], sample rates=[16000, 24000, 32000, 48000], id=54
2021-05-25 19:16:02.405 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: F14A is blacklisted for OpenSL ES usage!
2021-05-25 19:16:02.406 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: F14A is blacklisted for OpenSL ES usage!
2021-05-25 19:16:02.409 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: ctor@[name=Thread-16, id=384]
2021-05-25 19:16:02.412 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: ctor@[name=Thread-16, id=384]
2021-05-25 19:16:02.413 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: ctor@[name=Thread-16, id=384]
2021-05-25 19:16:02.413 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: init@[name=Thread-16, id=384]
2021-05-25 19:16:02.414 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioManager: audio mode is: MODE_NORMAL
2021-05-25 19:16:02.417 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(true)
2021-05-25 19:16:02.418 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setAEC(true)
2021-05-25 19:16:02.418 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
2021-05-25 19:16:02.419 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)
2021-05-25 19:16:02.419 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setNS(true)
2021-05-25 19:16:02.419 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
2021-05-25 19:16:03.349 8559-8604 I/CameraManagerGlobal: Connecting to camera service
2021-05-25 19:16:03.339 8559-8559 I/DefaultDispatch: type=1400 audit(0.0:2562): avc: denied { read } for name="u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=14128 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.339 8559-8559 I/DefaultDispatch: type=1400 audit(0.0:2563): avc: denied { open } for path="/dev/properties/u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=14128 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.339 8559-8559 I/DefaultDispatch: type=1400 audit(0.0:2564): avc: denied { getattr } for path="/dev/properties/u:object_r:vendor_camera_prop:s0" dev="tmpfs" ino=14128 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_camera_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.363 8559-8604 I/tvi.webrtc.Logging: Camera1Enumerator: Index: 0. Camera 0, Facing front, Orientation 0
2021-05-25 19:16:03.364 8559-8604 I/tvi.webrtc.Logging: Camera1Enumerator: getCameraIndex: Camera 0, Facing front, Orientation 0
2021-05-25 19:16:03.396 8559-8643 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:03.419 8559-8604 I/tvi.webrtc.Logging: Camera1Enumerator: Index: 0. Camera 0, Facing front, Orientation 0
2021-05-25 19:16:03.423 8559-8604 I/tvi.webrtc.Logging: Camera1Enumerator: Index: 0. Camera 0, Facing front, Orientation 0
2021-05-25 19:16:03.424 8559-8604 I/tvi.webrtc.Logging: CameraCapturer: startCapture: 1920x1020@30
2021-05-25 19:16:03.424 8559-8643 I/tvi.webrtc.Logging: Camera1Enumerator: getCameraIndex: Camera 0, Facing front, Orientation 0
2021-05-25 19:16:03.432 8559-8643 I/tvi.webrtc.Logging: Camera1Session: Open camera 0
2021-05-25 19:16:03.419 8559-8559 I/CaptureThread: type=1400 audit(0.0:2565): avc: denied { read } for name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14135 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.419 8559-8559 I/CaptureThread: type=1400 audit(0.0:2566): avc: denied { open } for path="/dev/properties/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14135 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.419 8559-8559 I/CaptureThread: type=1400 audit(0.0:2567): avc: denied { getattr } for path="/dev/properties/u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=14135 scontext=u:r:untrusted_app:s0:c102,c256,c512,c768 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=1
2021-05-25 19:16:03.473 8559-8612 I/AudioManager: In setSpeakerphoneOn(), on: true, calling application: video.bud.app.dev
2021-05-25 19:16:03.573 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: Initializing EglRenderer
2021-05-25 19:16:03.576 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: EglBase.create shared context
2021-05-25 19:16:03.578 8559-8673 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:03.588 8559-8643 I/tvi.webrtc.Logging: Camera1Session: Available fps ranges: [[2.0:5.0], [5.0:10.0], [7.0:15.0], [10.0:20.0], [12.0:25.0], [15.0:30.0]]
2021-05-25 19:16:03.595 8559-8643 I/tvi.webrtc.Logging: Camera1Session: Create new camera1 session on camera 0
2021-05-25 19:16:03.596 8559-8643 I/tvi.webrtc.Logging: Camera1Session: Start capturing
2021-05-25 19:16:03.602 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:03.623 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setMirrorHorizontally: true
2021-05-25 19:16:03.664 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:03.686 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: Initializing EglRenderer
2021-05-25 19:16:03.689 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: EglBase.create shared context
2021-05-25 19:16:03.690 8559-8679 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:03.710 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:03.749 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.qcom.video.decoder.vp8 type: VP8 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.752 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.qcom.video.decoder.avc type: H264 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.753 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.google.h264.decoder type: H264 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.770 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setMirrorHorizontally: true
2021-05-25 19:16:03.799 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:03.878 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: initPlayout(sampleRate=48000, channels=1, bufferSizeFactor=1.0)
2021-05-25 19:16:03.878 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: byteBuffer.capacity: 960
2021-05-25 19:16:03.880 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: minBufferSizeInBytes: 7688
2021-05-25 19:16:03.880 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: createAudioTrackOnLollipopOrHigher
2021-05-25 19:16:03.881 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: nativeOutputSampleRate: 48000
2021-05-25 19:16:03.904 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: AudioTrack: session ID: 1209, channels: 1, sample rate: 48000, max gain: 1.0
2021-05-25 19:16:03.904 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: AudioTrack: buffer size in frames: 3844
2021-05-25 19:16:03.906 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: AudioTrack: buffer capacity in frames: 3844
2021-05-25 19:16:03.908 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioTrack: startPlayout
2021-05-25 19:16:03.916 8559-8685 I/tvi.webrtc.Logging: WebRtcAudioTrack: AudioTrackThread@[name=AudioTrackJavaThread, id=397]
2021-05-25 19:16:03.943 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.qcom.video.decoder.vp8 type: VP8 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.944 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.qcom.video.decoder.avc type: H264 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.946 8559-8628 I/tvi.webrtc.Logging: AndroidVideoDecoder: ctor name: OMX.google.h264.decoder type: H264 color format: 19 context: tvi.webrtc.EglBase14Impl$Context@9e75ae6
2021-05-25 19:16:03.952 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(true)
2021-05-25 19:16:03.952 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setAEC(true)
2021-05-25 19:16:03.953 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
2021-05-25 19:16:03.953 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)
2021-05-25 19:16:03.953 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setNS(true)
2021-05-25 19:16:03.953 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
2021-05-25 19:16:04.753 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInAEC(true)
2021-05-25 19:16:04.754 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setAEC(true)
2021-05-25 19:16:04.754 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
2021-05-25 19:16:04.755 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: enableBuiltInNS(true)
2021-05-25 19:16:04.755 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: setNS(true)
2021-05-25 19:16:04.755 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
2021-05-25 19:16:04.756 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: initRecording(sampleRate=48000, channels=1)
2021-05-25 19:16:04.756 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: byteBuffer.capacity: 960
2021-05-25 19:16:04.757 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: AudioRecord.getMinBufferSize: 3840
2021-05-25 19:16:04.757 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: bufferSizeInBytes: 7680
2021-05-25 19:16:04.780 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: enable(audioSession=1217)
2021-05-25 19:16:04.784 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseAcousticEchoCanceler: true
2021-05-25 19:16:04.784 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: AcousticEchoCanceler: was enabled, enable: true, is now: enabled
2021-05-25 19:16:04.788 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: canUseNoiseSuppressor: true
2021-05-25 19:16:04.788 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioEffects: NoiseSuppressor: was enabled, enable: true, is now: enabled
2021-05-25 19:16:04.789 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: AudioRecord: session ID: 1217, channels: 1, sample rate: 48000
2021-05-25 19:16:04.789 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: AudioRecord: buffer size in frames: 3840
2021-05-25 19:16:04.790 8559-8628 I/tvi.webrtc.Logging: WebRtcAudioRecord: startRecording
2021-05-25 19:16:04.803 8559-8697 I/tvi.webrtc.Logging: WebRtcAudioRecord: AudioRecordThread@[name=AudioRecordJavaThread, id=400]
2021-05-25 19:16:05.046 8559-8701 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:05.054 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal name: OMX.qcom.video.decoder.vp8 type: VP8 width: 640 height: 320
2021-05-25 19:16:05.054 8559-8701 I/tvi.webrtc.Logging: SurfaceTextureHelper: Setting listener to tvi.webrtc.AndroidVideoDecoder@801efc3
2021-05-25 19:16:05.065 8559-8703 I/OMXClient: IOmx service obtained
2021-05-25 19:16:05.250 8559-8702 D/SurfaceUtils: connecting to surface 0x75d5dc8010, reason connectToSurface
2021-05-25 19:16:05.250 8559-8702 I/MediaCodec: [OMX.qcom.video.decoder.vp8] setting surface generation to 8764417
2021-05-25 19:16:05.250 8559-8702 D/SurfaceUtils: disconnecting from surface 0x75d5dc8010, reason connectToSurface(reconnect)
2021-05-25 19:16:05.250 8559-8702 D/SurfaceUtils: connecting to surface 0x75d5dc8010, reason connectToSurface(reconnect)
2021-05-25 19:16:05.254 8559-8703 I/ExtendedACodec: setupVideoDecoder()
2021-05-25 19:16:05.266 8559-8703 I/ExtendedACodec: Decoder will be in frame by frame mode
2021-05-25 19:16:05.311 8559-8703 D/SurfaceUtils: set up nativeWindow 0x75d5dc8010 for 640x320, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:05.329 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal done
2021-05-25 19:16:05.339 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.349 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.351 8559-8703 I/chatty: uid=10102(video.bud.app.dev) CodecLooper identical 1 line
2021-05-25 19:16:05.353 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.370 8559-8703 D/SurfaceUtils: set up nativeWindow 0x75d5dc8010 for 640x320, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:05.401 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.405 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.409 8559-8713 I/tvi.webrtc.Logging: AndroidVideoDecoder: Decoder format changed: {crop-right=639, color-format=2141391878, slice-height=320, mime=video/raw, hdr-static-info=java.nio.HeapByteBuffer[pos=0 lim=25 cap=25], stride=640, color-standard=4, color-transfer=3, crop-bottom=319, crop-left=0, width=640, color-range=2, crop-top=0, height=320}
2021-05-25 19:16:05.409 8559-8713 I/tvi.webrtc.Logging: AndroidVideoDecoder: Frame stride and slice height: 640 x 320
2021-05-25 19:16:05.415 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.429 8559-8703 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:05.462 8559-8643 I/tvi.webrtc.Logging: CameraCapturer: Create session done. Switch state: IDLE
2021-05-25 19:16:05.478 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:07.450 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: initEncode: 1280 x 960. @ 300kbps. Fps: 60 Use surface mode: true
2021-05-25 19:16:07.464 8559-8716 I/OMXClient: IOmx service obtained
2021-05-25 19:16:07.465 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 1.
2021-05-25 19:16:07.493 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=2130708361, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=1280, bitrate-mode=2, bitrate=300000, frame-rate=60, height=960}
2021-05-25 19:16:07.496 8559-8716 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:07.497 8559-8716 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:07.498 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:07.499 8559-8716 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:07.533 8559-8716 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:07.533 8559-8716 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:07.533 8559-8716 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 4) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 1280
int32_t bitrate-mode = 2
int32_t bitrate = 300000
int32_t frame-rate = 60
int32_t height = 960
int32_t encoder = 1
}
2021-05-25 19:16:07.540 8559-8716 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:07.563 8559-8716 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:07.569 8559-8686 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:07.592 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4008 ms. Frames received: 3. Dropped: 0. Rendered: 3. Render fps: .7. Average render time: 18323 us. Average swapBuffer time: 3810 us.
2021-05-25 19:16:07.703 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 68. Dropped: 0. Rendered: 68. Render fps: 17.0. Average render time: 4138 us. Average swapBuffer time: 1655 us.
2021-05-25 19:16:07.756 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:07.791 8559-8720 I/tvi.webrtc.Logging: HardwareVideoEncoder: Releasing MediaCodec on output thread
2021-05-25 19:16:07.844 8559-8720 I/tvi.webrtc.Logging: HardwareVideoEncoder: Release on output thread done
2021-05-25 19:16:07.859 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: initEncode: 960 x 720. @ 300kbps. Fps: 60 Use surface mode: true
2021-05-25 19:16:07.868 8559-8722 I/OMXClient: IOmx service obtained
2021-05-25 19:16:07.913 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=2130708361, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=960, bitrate-mode=2, bitrate=300000, frame-rate=60, height=720}
2021-05-25 19:16:07.917 8559-8722 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:07.919 8559-8722 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:07.920 8559-8722 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:07.965 8559-8722 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:07.965 8559-8722 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:07.965 8559-8722 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 7) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 960
int32_t bitrate-mode = 2
int32_t bitrate = 300000
int32_t frame-rate = 60
int32_t height = 720
int32_t encoder = 1
}
2021-05-25 19:16:07.978 8559-8722 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:08.010 8559-8722 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:08.012 8559-8686 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:08.175 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:08.205 8559-8726 I/tvi.webrtc.Logging: HardwareVideoEncoder: Releasing MediaCodec on output thread
2021-05-25 19:16:08.255 8559-8726 I/tvi.webrtc.Logging: HardwareVideoEncoder: Release on output thread done
2021-05-25 19:16:08.266 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: initEncode: 640 x 480. @ 300kbps. Fps: 60 Use surface mode: true
2021-05-25 19:16:08.283 8559-8728 I/OMXClient: IOmx service obtained
2021-05-25 19:16:08.312 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=2130708361, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=640, bitrate-mode=2, bitrate=300000, frame-rate=60, height=480}
2021-05-25 19:16:08.313 8559-8728 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:08.315 8559-8728 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:08.316 8559-8728 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:08.354 8559-8728 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:08.354 8559-8728 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:08.354 8559-8728 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 10) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 640
int32_t bitrate-mode = 2
int32_t bitrate = 300000
int32_t frame-rate = 60
int32_t height = 480
int32_t encoder = 1
}
2021-05-25 19:16:08.365 8559-8728 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:08.402 8559-8728 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:08.404 8559-8686 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:08.487 8559-8733 I/tvi.webrtc.Logging: HardwareVideoEncoder: Releasing MediaCodec on output thread
2021-05-25 19:16:08.526 8559-8733 I/tvi.webrtc.Logging: HardwareVideoEncoder: Release on output thread done
2021-05-25 19:16:08.549 8559-8735 I/OMXClient: IOmx service obtained
2021-05-25 19:16:08.582 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=21, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=640, bitrate-mode=2, bitrate=300000, frame-rate=5, height=480}
2021-05-25 19:16:08.586 8559-8735 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:08.587 8559-8735 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:08.587 8559-8735 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:08.636 8559-8735 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:08.636 8559-8735 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:08.636 8559-8735 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 13) = {
int32_t color-format = 21
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 640
int32_t bitrate-mode = 2
int32_t bitrate = 300000
int32_t frame-rate = 5
int32_t height = 480
int32_t encoder = 1
}
2021-05-25 19:16:08.673 8559-8735 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:08.743 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:16:09.466 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:10.675 8559-8713 I/tvi.webrtc.Logging: AndroidVideoDecoder: Releasing MediaCodec on output thread
2021-05-25 19:16:10.704 8559-8702 D/SurfaceUtils: disconnecting from surface 0x75d5dc8010, reason disconnectFromSurface
2021-05-25 19:16:10.730 8559-8713 I/tvi.webrtc.Logging: AndroidVideoDecoder: Release on output thread done
2021-05-25 19:16:10.731 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal name: OMX.qcom.video.decoder.vp8 type: VP8 width: 960 height: 480
2021-05-25 19:16:10.749 8559-8741 I/OMXClient: IOmx service obtained
2021-05-25 19:16:10.765 8559-8740 D/SurfaceUtils: connecting to surface 0x75d5dcb010, reason connectToSurface
2021-05-25 19:16:10.765 8559-8740 I/MediaCodec: [OMX.qcom.video.decoder.vp8] setting surface generation to 8764418
2021-05-25 19:16:10.765 8559-8740 D/SurfaceUtils: disconnecting from surface 0x75d5dcb010, reason connectToSurface(reconnect)
2021-05-25 19:16:10.765 8559-8740 D/SurfaceUtils: connecting to surface 0x75d5dcb010, reason connectToSurface(reconnect)
2021-05-25 19:16:10.767 8559-8741 I/ExtendedACodec: setupVideoDecoder()
2021-05-25 19:16:10.776 8559-8741 I/ExtendedACodec: Decoder will be in frame by frame mode
2021-05-25 19:16:10.803 8559-8741 D/SurfaceUtils: set up nativeWindow 0x75d5dcb010 for 960x480, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:10.818 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal done
2021-05-25 19:16:10.820 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.824 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.828 8559-8741 I/chatty: uid=10102(video.bud.app.dev) CodecLooper identical 1 line
2021-05-25 19:16:10.831 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.850 8559-8741 D/SurfaceUtils: set up nativeWindow 0x75d5dcb010 for 960x480, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:10.884 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.887 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.888 8559-8745 I/tvi.webrtc.Logging: AndroidVideoDecoder: Decoder format changed: {crop-right=959, color-format=2141391878, slice-height=480, mime=video/raw, hdr-static-info=java.nio.HeapByteBuffer[pos=0 lim=25 cap=25], stride=1024, color-standard=1, color-transfer=3, crop-bottom=479, crop-left=0, width=960, color-range=2, crop-top=0, height=480}
2021-05-25 19:16:10.889 8559-8745 I/tvi.webrtc.Logging: AndroidVideoDecoder: Frame stride and slice height: 1024 x 480
2021-05-25 19:16:10.895 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.908 8559-8741 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:10.938 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:11.474 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 16.
2021-05-25 19:16:11.597 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 5643 us. Average swapBuffer time: 2244 us.
2021-05-25 19:16:11.710 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4005 ms. Frames received: 112. Dropped: 0. Rendered: 112. Render fps: 28.0. Average render time: 3554 us. Average swapBuffer time: 1810 us.
2021-05-25 19:16:13.476 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:15.478 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:15.604 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 4617 us. Average swapBuffer time: 1895 us.
2021-05-25 19:16:15.713 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 120. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 2962 us. Average swapBuffer time: 1370 us.
2021-05-25 19:16:17.480 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:19.481 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:19.609 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4008 ms. Frames received: 61. Dropped: 0. Rendered: 61. Render fps: 15.2. Average render time: 4440 us. Average swapBuffer time: 1688 us.
2021-05-25 19:16:19.719 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 121. Dropped: 0. Rendered: 121. Render fps: 30.2. Average render time: 3075 us. Average swapBuffer time: 1520 us.
2021-05-25 19:16:21.482 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:23.197 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:16:23.482 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:23.615 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3467 us. Average swapBuffer time: 1162 us.
2021-05-25 19:16:23.727 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4001 ms. Frames received: 120. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 3131 us. Average swapBuffer time: 1493 us.
2021-05-25 19:16:25.483 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:27.484 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:27.619 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 4263 us. Average swapBuffer time: 1822 us.
2021-05-25 19:16:27.732 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4009 ms. Frames received: 120. Dropped: 0. Rendered: 119. Render fps: 29.7. Average render time: 2840 us. Average swapBuffer time: 1397 us.
2021-05-25 19:16:29.488 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 16.
2021-05-25 19:16:30.721 8559-8745 I/tvi.webrtc.Logging: AndroidVideoDecoder: Releasing MediaCodec on output thread
2021-05-25 19:16:30.749 8559-8740 D/SurfaceUtils: disconnecting from surface 0x75d5dcb010, reason disconnectFromSurface
2021-05-25 19:16:30.765 8559-8745 I/tvi.webrtc.Logging: AndroidVideoDecoder: Release on output thread done
2021-05-25 19:16:30.767 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal name: OMX.qcom.video.decoder.vp8 type: VP8 width: 1280 height: 640
2021-05-25 19:16:30.773 8559-8748 I/OMXClient: IOmx service obtained
2021-05-25 19:16:30.792 8559-8747 D/SurfaceUtils: connecting to surface 0x75d83c3010, reason connectToSurface
2021-05-25 19:16:30.792 8559-8747 I/MediaCodec: [OMX.qcom.video.decoder.vp8] setting surface generation to 8764419
2021-05-25 19:16:30.792 8559-8747 D/SurfaceUtils: disconnecting from surface 0x75d83c3010, reason connectToSurface(reconnect)
2021-05-25 19:16:30.792 8559-8747 D/SurfaceUtils: connecting to surface 0x75d83c3010, reason connectToSurface(reconnect)
2021-05-25 19:16:30.794 8559-8748 I/ExtendedACodec: setupVideoDecoder()
2021-05-25 19:16:30.804 8559-8748 I/ExtendedACodec: Decoder will be in frame by frame mode
2021-05-25 19:16:30.834 8559-8748 D/SurfaceUtils: set up nativeWindow 0x75d83c3010 for 1280x640, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:30.849 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal done
2021-05-25 19:16:30.850 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.852 8559-8748 I/chatty: uid=10102(video.bud.app.dev) CodecLooper identical 1 line
2021-05-25 19:16:30.854 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.878 8559-8748 D/SurfaceUtils: set up nativeWindow 0x75d83c3010 for 1280x640, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:30.910 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.925 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.929 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.931 8559-8752 I/tvi.webrtc.Logging: AndroidVideoDecoder: Decoder format changed: {crop-right=1279, color-format=2141391878, slice-height=640, mime=video/raw, hdr-static-info=java.nio.HeapByteBuffer[pos=0 lim=25 cap=25], stride=1280, color-standard=1, color-transfer=3, crop-bottom=639, crop-left=0, width=1280, color-range=2, crop-top=0, height=640}
2021-05-25 19:16:30.931 8559-8752 I/tvi.webrtc.Logging: AndroidVideoDecoder: Frame stride and slice height: 1280 x 640
2021-05-25 19:16:30.937 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.947 8559-8748 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:30.972 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:31.488 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:31.625 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 61. Dropped: 0. Rendered: 61. Render fps: 15.2. Average render time: 4196 us. Average swapBuffer time: 1624 us.
2021-05-25 19:16:31.736 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 113. Dropped: 0. Rendered: 114. Render fps: 28.5. Average render time: 3365 us. Average swapBuffer time: 1848 us.
2021-05-25 19:16:33.490 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:35.491 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:35.629 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 4076 us. Average swapBuffer time: 1625 us.
2021-05-25 19:16:35.742 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 121. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 3295 us. Average swapBuffer time: 1904 us.
2021-05-25 19:16:37.491 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:38.221 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:16:38.736 8559-8752 I/tvi.webrtc.Logging: AndroidVideoDecoder: Releasing MediaCodec on output thread
2021-05-25 19:16:38.765 8559-8747 D/SurfaceUtils: disconnecting from surface 0x75d83c3010, reason disconnectFromSurface
2021-05-25 19:16:38.790 8559-8752 I/tvi.webrtc.Logging: AndroidVideoDecoder: Release on output thread done
2021-05-25 19:16:38.791 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal name: OMX.qcom.video.decoder.vp8 type: VP8 width: 1920 height: 960
2021-05-25 19:16:38.799 8559-8754 I/OMXClient: IOmx service obtained
2021-05-25 19:16:38.819 8559-8753 D/SurfaceUtils: connecting to surface 0x75d5d9d010, reason connectToSurface
2021-05-25 19:16:38.819 8559-8753 I/MediaCodec: [OMX.qcom.video.decoder.vp8] setting surface generation to 8764420
2021-05-25 19:16:38.819 8559-8753 D/SurfaceUtils: disconnecting from surface 0x75d5d9d010, reason connectToSurface(reconnect)
2021-05-25 19:16:38.819 8559-8753 D/SurfaceUtils: connecting to surface 0x75d5d9d010, reason connectToSurface(reconnect)
2021-05-25 19:16:38.821 8559-8754 I/ExtendedACodec: setupVideoDecoder()
2021-05-25 19:16:38.829 8559-8754 I/ExtendedACodec: Decoder will be in frame by frame mode
2021-05-25 19:16:38.856 8559-8754 D/SurfaceUtils: set up nativeWindow 0x75d5d9d010 for 1920x960, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:38.877 8559-8687 I/tvi.webrtc.Logging: AndroidVideoDecoder: initDecodeInternal done
2021-05-25 19:16:38.881 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.888 8559-8754 I/chatty: uid=10102(video.bud.app.dev) CodecLooper identical 2 lines
2021-05-25 19:16:38.893 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.915 8559-8754 D/SurfaceUtils: set up nativeWindow 0x75d5d9d010 for 1920x960, color 0x7fa30c06, rotation 0, usage 0x20002900
2021-05-25 19:16:38.950 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.953 8559-8758 I/tvi.webrtc.Logging: AndroidVideoDecoder: Decoder format changed: {crop-right=1919, color-format=2141391878, slice-height=960, mime=video/raw, hdr-static-info=java.nio.HeapByteBuffer[pos=0 lim=25 cap=25], stride=1920, color-standard=1, color-transfer=3, crop-bottom=959, crop-left=0, width=1920, color-range=2, crop-top=0, height=960}
2021-05-25 19:16:38.954 8559-8758 I/tvi.webrtc.Logging: AndroidVideoDecoder: Frame stride and slice height: 1920 x 960
2021-05-25 19:16:38.956 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.963 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.988 8559-8754 W/MapperHal: buffer descriptor with invalid usage bits 0x2000
2021-05-25 19:16:38.994 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:39.492 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:39.634 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4005 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3758 us. Average swapBuffer time: 1649 us.
2021-05-25 19:16:39.749 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 115. Dropped: 0. Rendered: 116. Render fps: 29.0. Average render time: 3103 us. Average swapBuffer time: 1721 us.
2021-05-25 19:16:41.494 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:43.495 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:43.638 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 4401 us. Average swapBuffer time: 1826 us.
2021-05-25 19:16:43.753 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 120. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 3275 us. Average swapBuffer time: 1923 us.
2021-05-25 19:16:45.496 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:47.498 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:47.644 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 61. Dropped: 0. Rendered: 61. Render fps: 15.2. Average render time: 3953 us. Average swapBuffer time: 1641 us.
2021-05-25 19:16:47.759 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4006 ms. Frames received: 121. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 2735 us. Average swapBuffer time: 1429 us.
2021-05-25 19:16:49.503 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:51.505 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 16.
2021-05-25 19:16:51.650 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4005 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3578 us. Average swapBuffer time: 1411 us.
2021-05-25 19:16:51.768 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4008 ms. Frames received: 120. Dropped: 0. Rendered: 121. Render fps: 30.2. Average render time: 3383 us. Average swapBuffer time: 1664 us.
2021-05-25 19:16:53.240 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:16:53.506 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:55.509 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:55.658 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4007 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3545 us. Average swapBuffer time: 1542 us.
2021-05-25 19:16:55.773 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4005 ms. Frames received: 121. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 2959 us. Average swapBuffer time: 1439 us.
2021-05-25 19:16:55.775 8559-8559 I/tvi.webrtc.Logging: EglRenderer: videoView: setLayoutAspectRatio: 1.0
2021-05-25 19:16:55.808 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Releasing MediaCodec on output thread
2021-05-25 19:16:55.872 8559-8739 I/tvi.webrtc.Logging: HardwareVideoEncoder: Release on output thread done
2021-05-25 19:16:55.873 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: initEncode: 480 x 360. @ 848kbps. Fps: 60 Use surface mode: true
2021-05-25 19:16:55.891 8559-8761 I/OMXClient: IOmx service obtained
2021-05-25 19:16:55.927 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=2130708361, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=480, bitrate-mode=2, bitrate=848000, frame-rate=60, height=360}
2021-05-25 19:16:55.930 8559-8761 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:55.931 8559-8761 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:55.933 8559-8761 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:55.973 8559-8761 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:55.973 8559-8761 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:55.973 8559-8761 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 25) = {
int32_t color-format = 2130708361
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 480
int32_t bitrate-mode = 2
int32_t bitrate = 848000
int32_t frame-rate = 60
int32_t height = 360
int32_t encoder = 1
}
2021-05-25 19:16:55.982 8559-8761 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:56.014 8559-8761 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:56.016 8559-8686 I/tvi.webrtc.Logging: EglBase14Impl: Using OpenGL ES version 2
2021-05-25 19:16:56.106 8559-8765 I/tvi.webrtc.Logging: HardwareVideoEncoder: Releasing MediaCodec on output thread
2021-05-25 19:16:56.150 8559-8765 I/tvi.webrtc.Logging: HardwareVideoEncoder: Release on output thread done
2021-05-25 19:16:56.166 8559-8767 I/OMXClient: IOmx service obtained
2021-05-25 19:16:56.193 8559-8686 I/tvi.webrtc.Logging: HardwareVideoEncoder: Format: {color-format=21, i-frame-interval=100, mime=video/x-vnd.on2.vp8, width=480, bitrate-mode=2, bitrate=848000, frame-rate=13, height=360}
2021-05-25 19:16:56.196 8559-8767 I/ExtendedACodec: setupVideoEncoder()
2021-05-25 19:16:56.197 8559-8767 W/OMXUtils: do not know color format 0x7fa30c04 = 2141391876
2021-05-25 19:16:56.198 8559-8767 W/OMXUtils: do not know color format 0x7f000789 = 2130708361
2021-05-25 19:16:56.233 8559-8767 I/ACodec: [OMX.qcom.video.encoder.vp8] cannot encode HDR static metadata. Ignoring.
2021-05-25 19:16:56.233 8559-8767 I/ACodec: setupVideoEncoder succeeded
2021-05-25 19:16:56.233 8559-8767 I/ExtendedACodec: [OMX.qcom.video.encoder.vp8] configure, AMessage : AMessage(what = 'conf', target = 28) = {
int32_t color-format = 21
int32_t i-frame-interval = 100
string mime = "video/x-vnd.on2.vp8"
int32_t width = 480
int32_t bitrate-mode = 2
int32_t bitrate = 848000
int32_t frame-rate = 13
int32_t height = 360
int32_t encoder = 1
}
2021-05-25 19:16:56.266 8559-8767 W/ExtendedACodec: Failed to get extension for extradata parameter
2021-05-25 19:16:56.351 8559-8771 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:16:57.510 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:59.511 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:16:59.662 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3793 us. Average swapBuffer time: 1556 us.
2021-05-25 19:16:59.776 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 120. Dropped: 0. Rendered: 121. Render fps: 30.2. Average render time: 3498 us. Average swapBuffer time: 1900 us.
2021-05-25 19:17:01.512 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:17:03.513 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:17:03.665 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 61. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3517 us. Average swapBuffer time: 1412 us.
2021-05-25 19:17:03.780 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 120. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 2958 us. Average swapBuffer time: 1841 us.
2021-05-25 19:17:05.514 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:17:07.515 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:17:07.671 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4005 ms. Frames received: 60. Dropped: 0. Rendered: 61. Render fps: 15.2. Average render time: 3856 us. Average swapBuffer time: 1569 us.
2021-05-25 19:17:07.794 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4014 ms. Frames received: 121. Dropped: 0. Rendered: 120. Render fps: 29.9. Average render time: 2965 us. Average swapBuffer time: 1447 us.
2021-05-25 19:17:09.517 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 16.
2021-05-25 19:17:10.793 8559-8771 I/tvi.webrtc.Logging: HardwareVideoEncoder: Sync frame generated
2021-05-25 19:17:11.519 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 15.
2021-05-25 19:17:11.676 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4004 ms. Frames received: 60. Dropped: 0. Rendered: 60. Render fps: 15.0. Average render time: 3952 us. Average swapBuffer time: 1614 us.
2021-05-25 19:17:11.797 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4002 ms. Frames received: 120. Dropped: 0. Rendered: 121. Render fps: 30.2. Average render time: 3153 us. Average swapBuffer time: 1849 us.
2021-05-25 19:17:13.521 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 20.
2021-05-25 19:17:15.522 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 24.
2021-05-25 19:17:15.682 8559-8673 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4003 ms. Frames received: 90. Dropped: 0. Rendered: 90. Render fps: 22.5. Average render time: 4272 us. Average swapBuffer time: 1751 us.
2021-05-25 19:17:15.800 8559-8679 I/tvi.webrtc.Logging: EglRenderer: videoView: Duration: 4002 ms. Frames received: 120. Dropped: 0. Rendered: 120. Render fps: 30.0. Average render time: 3229 us. Average swapBuffer time: 2097 us.
2021-05-25 19:17:17.523 8559-8643 I/tvi.webrtc.Logging: CameraStatistics: Camera fps: 24.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants