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

Sound issues with streaming #328

Open
Seezov opened this issue Jan 10, 2025 · 1 comment
Open

Sound issues with streaming #328

Seezov opened this issue Jan 10, 2025 · 1 comment
Labels
device Indicates that an issue cannot be addressed due to the lack of access to the required device. good first issue Indicates that an issue for newcommers.

Comments

@Seezov
Copy link

Seezov commented Jan 10, 2025

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

@shogo4405
Copy link
Owner

I do not have a device where the issue occurs, so I'm unable to fix it.
Iwelcome PRs for the fix from anyone.

@shogo4405 shogo4405 added device Indicates that an issue cannot be addressed due to the lack of access to the required device. good first issue Indicates that an issue for newcommers. labels Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
device Indicates that an issue cannot be addressed due to the lack of access to the required device. good first issue Indicates that an issue for newcommers.
Projects
None yet
Development

No branches or pull requests

2 participants