Closed garywill closed 3 years ago
Thank you for the report! If possible, could you paste the output of adb logcat | grep -i PULSE_RTP_OBOE_ENGINE
here?
This may be the same crash as in #2, and hopefully we can have enough clue to solve the problem this time.
Oh, I just realized that the name of the IP
and Port
field is quite ambiguous. What should go there is the listening address and port of your APP, not that of your server. Maybe this is the cause? You can use 0.0.0.0
for IP
if you are confused.
Random IP:
01-30 18:46:26.004 12447 17791 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 1
01-30 18:46:26.004 12447 17791 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-30 18:46:26.004 12447 17791 E PULSE_RTP_OBOE_ENGINE: Restart
01-30 18:46:26.009 12447 17791 I PULSE_RTP_OBOE_ENGINE: Listening on 1.9.8.9 1.9.8.9:4010
01-30 18:46:26.016 12447 12447 I PULSE_RTP_OBOE_ENGINE: Open stream, c:384 s:1 p:12 b:192
01-30 18:46:26.171 12447 17792 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 0
01-30 18:46:26.171 12447 17792 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-30 18:46:26.172 12447 17792 E PULSE_RTP_OBOE_ENGINE: Enter state 0 -> 3 2
crash
IP 0.0.0.0
01-30 18:48:05.364 17848 17896 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 0
01-30 18:48:05.377 17848 17848 I PULSE_RTP_OBOE_ENGINE: Open stream, c:384 s:1 p:12 b:192
01-30 18:48:05.372 17848 17896 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-30 18:48:05.389 17848 17896 E PULSE_RTP_OBOE_ENGINE: Restart
01-30 18:48:05.389 17848 17896 I PULSE_RTP_OBOE_ENGINE: Listening on 0.0.0.0 0.0.0.0:4010
01-30 18:48:05.389 17848 17896 I PULSE_RTP_OBOE_ENGINE: Start Receiving
01-30 18:48:05.460 17848 17897 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 1
01-30 18:48:05.460 17848 17897 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-30 18:48:05.460 17848 17897 E PULSE_RTP_OBOE_ENGINE: Enter state 0 -> 3 2
01-30 18:48:15.398 17848 17896 E PULSE_RTP_OBOE_ENGINE: Is Idle Now
didn't crash ( but didn't receive any sound. Not sure if it's about my LAN router's broadcast policy)
Please don't set a random IP. It must be one of: 0.0.0.0
, the exact ip of your android device, or a IPv4 multicast address.
If the app is not receiving any sound (and you can see the last log says it's idle now), this means that the app is not receiving any data from your pulseaudio
server. The reason is mostly likely that your server has been configured to stream audio data to a different IP or a different port. Please give my settings in README.md a try: first setup pulseaudio
server according to the readme, and then in the app set 224.0.0.56
as IP, 4010 as port, 320 as mtu, 2 as channel.
setup pulseaudio server according to the readme,
that's what I did.
in the app set 224.0.0.56 as IP
began to receive data after setting that. I didn't recognize the "IP" in app is listening IP and didn't understand broadcasting IP correctly.
I see network speed on Linux and Android both, but still no sound playing from phone
01-31 09:55:56.539 8637 8890 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 0
01-31 09:55:56.539 8637 8890 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-31 09:55:56.539 8637 8890 E PULSE_RTP_OBOE_ENGINE: Restart
01-31 09:55:56.540 8637 8890 I PULSE_RTP_OBOE_ENGINE: Listening on 224.0.0.56 0.0.0.0:4010
01-31 09:55:56.541 8637 8890 I PULSE_RTP_OBOE_ENGINE: Start Receiving
01-31 09:55:56.554 8637 8637 I PULSE_RTP_OBOE_ENGINE: Open stream, c:384 s:1 p:12 b:192
01-31 09:55:56.638 8637 8891 I PULSE_RTP_OBOE_ENGINE: Binding to current CPU ID 1
01-31 09:55:56.639 8637 8891 V PULSE_RTP_OBOE_ENGINE: Thread affinity set
01-31 09:56:06.785 8637 8891 E PULSE_RTP_OBOE_ENGINE: Enter state 0 -> 2 2
01-31 09:56:06.794 8637 8891 E PULSE_RTP_OBOE_ENGINE: Change state1 2 -> 3
01-31 09:56:06.848 8637 8891 E PULSE_RTP_OBOE_ENGINE: Change state1 3 -> 0
01-31 09:57:02.277 8637 8891 E PULSE_RTP_OBOE_ENGINE: Enter state 0 -> 1 2
01-31 09:57:09.148 8637 8891 E PULSE_RTP_OBOE_ENGINE: Change state1 1 -> 0
began to receive data after setting that. I didn't recognize the "IP" in app is listening IP and didn't understand broadcasting IP correctly.
I should add some doc, and clarify the names in app.
I see network speed on Linux and Android both, but still no sound playing from phone
Do you have pavucontrol
installed, or any other tools that helps you inspect pulseaudio
settings? Please check if your music player is using null output
as output device. Here's a screenshot of mine:
I found my solution. Thank you !!
My phone gets sound after selecting the program's output to "NULL", but "NULL" only appears when module-null-sink
loaded.
I found pactl load-module module-rtp-send source=0 destination=224.0.0.56 port=4010 mtu=320 rate=48000 channels=1
works for me. I get sound output from both Linux and phone. I don't need the null-sink
Nice to hear that!
Android 9 arm v7 32 bit App version 1.0.3 I inputed IP and port, left MTU or other options default. Tapped "play", lines of texts appeared on the top of UI, then crashed
No matter what IP or random IP I inputed, same result. I think this crashing problem is not related to pulseaudio or any network stream