Skip to content

Sound issues with streaming #328

Open
@Seezov

Description

@Seezov

Describe the bug

Hi again, i have another problem, when I am trying to stream from devices LG ThinQ and Xiaomi Redmi Note 9C (both Android 10) there is no sound playing on the device that listens (any device). Although when iOS device with HaishinKit listens - sound is OK

To Reproduce

Play stream from LG ThinQ or Xiaomi Redmi Note 9C and listen to stream

Expected behavior

Stream sound is playing

Version

0.14.1

Smartphone info.

LG G8 ThinQ
Xiaomi Redmi Note 9C

Additional context

Unfortunately, i don't know what causes this, one little difference between case when I listen to any other device is that from the "normal" device I get

2025-01-10 17:27:39.438 CCodecBuffers            D  [c2.android.aac.decoder#317:Output[N]] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = {
                                                      int32_t aac-drc-album-mode = 0
                                                      int32_t aac-drc-boost-level = 127
                                                      int32_t aac-drc-cut-level = 127
                                                      int32_t aac-drc-effect-type = 3
                                                      int32_t aac-drc-output-loudness = -1
                                                      int32_t aac-encoded-target-level = -1
                                                      int32_t aac-max-output-channel_count = 8
                                                      int32_t aac-target-ref-level = 64
                                                      int32_t buffer-batch-max-output-size = 0
                                                      int32_t buffer-batch-threshold-output-size = 0
                                                      int32_t channel-count = 1
                                                      int32_t channel-mask = 4
                                                      int32_t max-output-channel-count = 8
                                                      string mime = "audio/raw"
                                                      int32_t sample-rate = 44100
                                                      int32_t android._config-pcm-encoding = 2
                                                    }

and form LG and Redmi

2025-01-10 17:24:32.418 CCodecBuffers            D  [c2.android.aac.decoder#317:Output[N]] popFromStashAndRegister: at 0us, output format changed to AMessage(what = 0x00000000) = {
                                                      int32_t aac-drc-album-mode = 0
                                                      int32_t aac-drc-boost-level = 127
                                                      int32_t aac-drc-cut-level = 127
                                                      int32_t aac-drc-effect-type = 3
                                                      int32_t aac-drc-output-loudness = -1
                                                      int32_t aac-encoded-target-level = -1
                                                      int32_t aac-max-output-channel_count = 8
                                                      int32_t aac-target-ref-level = 64
                                                      int32_t buffer-batch-max-output-size = 0
                                                      int32_t buffer-batch-threshold-output-size = 0
                                                      int32_t channel-count = 1
                                                      int32_t channel-mask = 0
                                                      int32_t max-output-channel-count = 8
                                                      string mime = "audio/raw"
                                                      int32_t sample-rate = 44100
                                                      int32_t android._config-pcm-encoding = 2
                                                    }

int32_t channel-mask is 0 in LG and Redmi, maybe this is the problem?
Also
audio: average = 0.0
when streamed from LG and Redmi. I think that the problem is on the streaming device but somehow iOS manages to listen to it fine so I'm not sure, maybe problem lies in listening

Screenshots

No response

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    deviceIndicates that an issue cannot be addressed due to the lack of access to the required device.good first issueIndicates that an issue for newcommers.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions