Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Can't make carrier vedio calls #5995

Open
LittleChest opened this issue Mar 30, 2024 · 1 comment
Open

Can't make carrier vedio calls #5995

LittleChest opened this issue Mar 30, 2024 · 1 comment

Comments

@LittleChest
Copy link

LittleChest commented Mar 30, 2024

Build Date

PixelExperience_munch-14.0-20240303-1650-OFFICIAL

Device

munch

Version

fourteen

Describe the Bug

Can't make carrier vedio calls

Steps to Reproduce

  1. Call anyone that enables VoLTE via carrier vedio call
  2. Calls are automatically converted to voice calls

Expected Behavior

It's normal to see both sides

Possible Solution

TL;DR: We need to introduce omx.qcom.video.encoder.avc (and for the future, more coders too!)

I found clo roms can make carrier vedio calls and I compared these logs
CLO roms
PixelExperience
We don't have these configurations, instead we have the error
Full CLO log:

org.codeaurora.ims I ACodec: setupAVCEncoderParameters with [profile: ??] [level: Level31]
org.codeaurora.ims I ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
org.codeaurora.ims I ACodec: setupVideoEncoder succeeded
org.codeaurora.ims I ExtendedACodec: [OMX.qcom.video.encoder.avc] configure, AMessage : AMessage(what = 'conf', target = 116) = {
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-preprocess-rotate.angle = 270
org.codeaurora.ims I ExtendedACodec:   int32_t priority = 0
org.codeaurora.ims I ExtendedACodec:   int32_t width = 1280
org.codeaurora.ims I ExtendedACodec:   int32_t height = 720
org.codeaurora.ims I ExtendedACodec:   int32_t bitrate = 2052000
org.codeaurora.ims I ExtendedACodec:   int32_t frame-rate = 30
org.codeaurora.ims I ExtendedACodec:   int32_t i-frame-interval = 5
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-qp-range.qp-i-max = 44
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-qp-range.qp-p-max = 44
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-qp-range.qp-i-min = 16
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-qp-range.qp-p-min = 16
org.codeaurora.ims I ExtendedACodec:   int32_t color-format = 2130708361
org.codeaurora.ims I ExtendedACodec:   int32_t prepend-sps-pps-to-idr-frames = 1
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-bitrate-mode.value = 4
org.codeaurora.ims I ExtendedACodec:   int32_t bitrate-mode = 3
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-timestamp-source-avtimer.enable = 1
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-vbvdelay = 500
org.codeaurora.ims I ExtendedACodec:   int32_t vendor.qti-ext-enc-vbvdelay.value = 500
org.codeaurora.ims I ExtendedACodec:   string mime = "video/avc"
org.codeaurora.ims I ExtendedACodec:   int32_t profile = 65536
org.codeaurora.ims I ExtendedACodec:   int32_t level = 512
org.codeaurora.ims I ExtendedACodec:   int32_t flags = 1
org.codeaurora.ims I ExtendedACodec:   int32_t encoder = 1
org.codeaurora.ims I ExtendedACodec: }
org.codeaurora.ims W ACodec: [OMX.qcom.video.encoder.avc] vendor parameter 'vendor.qti-ext-enc-vbvdelay' aliases parameter 'vendor.qti-ext-enc-vbvdelay.value'
org.codeaurora.ims W OMXUtils: do not know color format 0x7f000789 = 2130708361
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver W H2BGraphicBufferProducer: getConsumerUsage is not fully supported
cameraserver D Camera3-Device: Set real time priority for request queue thread (tid 11424)
org.codeaurora.ims I AudioTrack: createTrack_l(0): AUDIO_OUTPUT_FLAG_FAST successful; frameCount 0 -> 17457
org.codeaurora.ims I QImsService: CaptureSessionListener : onConfigured: SessionId=1 GlobalSessionId=1
org.codeaurora.ims I QImsService: Camera2 : onConfigured: session=android.hardware.camera2.impl.CameraCaptureSessionImpl@eba332d
org.codeaurora.ims I QImsService: Camera2 : startRepeating: Starting session..., id=1
org.codeaurora.ims D ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
org.codeaurora.ims D ims_media_jni: onMediaEvent2 event=5 mediaID=7

PixelExperience log:

org.codeaurora.ims I ACodec: setupAVCEncoderParameters with [profile: ??] [level: Level31]
org.codeaurora.ims I ACodec: [OMX.qcom.video.encoder.avc] cannot encode HDR static metadata. Ignoring.
org.codeaurora.ims I ACodec: setupVideoEncoder succeeded
org.codeaurora.ims W ACodec: [OMX.qcom.video.encoder.avc] vendor parameter 'vendor.qti-ext-enc-vbvdelay' aliases parameter 'vendor.qti-ext-enc-vbvdelay.value'
org.codeaurora.ims W OMXUtils: do not know color format 0x7f000789 = 2130708361
org.codeaurora.ims I QImsService: CaptureSessionListener : onConfigured: SessionId=2 GlobalSessionId=2
org.codeaurora.ims I QImsService: Camera2 : onConfigured: session=android.hardware.camera2.impl.CameraCaptureSessionImpl@f7e9c0f
org.codeaurora.ims I QImsService: Camera2 : startRepeating: Starting session..., id=1
org.codeaurora.ims D QtiCarrierConfigHelper: WARNING, no carrier configs on phone Id: 1
org.codeaurora.ims D ACodec: dataspace changed to 0x10c10000 (R:2(Limited), P:1(BT709_5), M:1(BT709_5), T:3(SMPTE170M)) (R:2(Limited), S:1(BT709), T:3(SMPTE_170M))
org.codeaurora.ims E ACodec: [OMX.qcom.video.encoder.avc] ERROR(0x80001009)
org.codeaurora.ims E ACodec: signalError(omxError 0x80001009, internalError -2147483648)
org.codeaurora.ims E MediaCodec: Codec reported err 0x80001009/-2147479543 (Unknown error 2147479543), actionCode 0, while in state 6/STARTED
org.codeaurora.ims D MediaCodec: flushMediametrics
org.codeaurora.ims E SIMSVT: GetEncodedFrame: unexpected info code: -10000
org.codeaurora.ims E SIMSVT: handleVideoCallback: received VIDEO_ERROR for device 1
org.codeaurora.ims E SIMSVT: videoRecordLoop failed with error -1
org.codeaurora.ims D ims_media_jni: onMediaEvent2 event=8 mediaID=0
@pixelexperiencebot
Copy link
Contributor

Issue created! You can close at any time by commenting /close

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants