AirConnect icon indicating copy to clipboard operation
AirConnect copied to clipboard

See devices, connects, and plays. But no sound.

Open stanleylai opened this issue 1 year ago • 3 comments

Been wrestling with this for awhile. I see my Google Chromecast devices on my iPhone, and can play to it. But no sound is produced. These are the errors I see in the logs. What are the reasons they are not connecting?

I have my iPhone, AirConnect, and Chromecast devices in separate VLANs, but with mDNS turned on and open firewalls access across them. Any tips?

Thank you!

02:28:28.741] buffer_put_packet:461 [0x7a60440163b0]: done waiting for FLUSH with packet:57365, now playing starting:57363 [02:28:28.833] raop_cb:208 [0x1210aa0]: Play [02:28:30.764] handle_rtsp:374 [0x7a604c0b7360]: received SET_PARAMETER [02:28:30.764] handle_rtsp:568 [0x7a604c0b7360]: received JPEG image of 124494 bytes [02:28:31.836] tcp_connect_timeout:629 failed connecting on select() socket 20 [02:28:31.836] CastConnect:230 [0x1210aa0]: Cannot open socket connection (-1) [02:28:31.836] CastLoad:110 [0x1210aa0]: Cannot connect Cast receiver [02:28:31.836] raop_cb:225 [0x1210aa0]: Cast setURI http://10.3.3.81:51409/stream-0.flac [02:28:31.836] CastPlay:262 [0x1210aa0]: Queuing PLAY [02:28:31.836] CastSetDeviceVolume:373 [0x1210aa0]: Queuing SET_VOLUME [02:28:31.836] rtp_thread_func:667 [0x7a60440163b0]: NTP not acquired yet [02:28:31.836] rtp_thread_func:667 [0x7a60440163b0]: NTP not acquired yet [02:28:31.838] buffer_put_packet:531 [0x7a60440163b0]: fill [level:52] [W:57426 R:57375] [02:28:31.840] CastPlay:262 [0x1210aa0]: Queuing PLAY [02:28:31.840] handle_rtsp:587 [0x7a604c0b7360]: responding:

stanleylai avatar Nov 15 '24 02:11 stanleylai

I'm having a very similar problem. My logs are full of

[19:31:16.753] buffer_put_packet:531 [0x7bbee0004d50]: fill [level:1423] [W:25758 R:24336]
[19:31:16.913] rtp_thread_func:667 [0x7bbee0004d50]: NTP not acquired yet
[19:31:17.264] buffer_put_packet:531 [0x7bbee0004d50]: fill [level:1487] [W:25822 R:24336]
[19:31:17.774] buffer_put_packet:531 [0x7bbee0004d50]: fill [level:1551] [W:25886 R:24336]
[19:31:17.914] rtp_thread_func:667 [0x7bbee0004d50]: NTP not acquired yet
[19:31:18.285] buffer_put_packet:531 [0x7bbee0004d50]: fill [level:1615] [W:25950 R:24336]
[19:31:18.795] buffer_put_packet:531 [0x7bbee0004d50]: fill [level:1679] [W:26014 R:24336]

spf13 avatar Dec 03 '24 19:12 spf13

Same thing here.

nemith avatar Mar 09 '25 23:03 nemith

I was having a similar issue, and I found an answer in this https://community.ui.com/questions/Airplay-across-VLAN-How-to-do/0362cb7f-f38c-43ba-b10e-c2e5cc9dbe16 forum post. I had to manually add a rule from my IoT VLAN to my Home VLAN with return traffic on UDP ports 40000-54000.

So, if anyone is using a Unify router, the firewall setup is as follows:

From IoT network, port ANY to Home network (where my phone was), port 40000-54000, Allow (check the Auto allow return traffic checkbox), and protocol is UDP.

jnsn avatar May 21 '25 18:05 jnsn