[mythtv-users] Airplay not binding to the non-loopback IPv4 address - otherwise fully working

Robert Havlin bob.havlin at gmail.com
Tue Dec 18 05:48:08 UTC 2012


I have a problem where Airplay works fine playing on my frontend-only box
from my iOS devices, but not from my Windows-7 itunes (in the windows box I
had to disable IPv6).  A combined frontend-backend back works with the
win-7 itunes, but there I can see that it is binding to the LAN IPv4
address.

Does anyone know how to get Airplay on the frontend-only box to bind to the
correct non-loopback address?

I believe you can see the problem below:

Mythbuntu 12.04.1 "Precise Pangolin" - Release i386 (20120818.1)
mythfrontend version: fixes/0.26 [v0.26.0-62-g3d7a20c] www.mythtv.org

============ below is a frontend-only where only iOS devices can airplay,
but not non-IPv6 Win-7 itunes ===============

*2012-12-17 17:43:52.245185 N  Desktop video mode: 1366x768 59.815 Hz*
*2012-12-17 17:43:53.563822 I  Listening on TCP 127.0.0.1:6547*
*2012-12-17 17:43:53.564010 I  Listening on TCP [::1]:6547*
*2012-12-17 17:43:53.564261 I  Listening on TCP
[fe80::213:2ff:fe5e:274a%wlan0]:6547*
*2012-12-17 17:43:54.401079 I  RAOP Device: Created RAOP device objects.*
*2012-12-17 17:43:54.401497 I  Listening on TCP 127.0.0.1:5000*
*2012-12-17 17:43:54.401667 I  Listening on TCP [::1]:5000*
*2012-12-17 17:43:54.401843 I  Listening on TCP
[fe80::213:2ff:fe5e:274a%wlan0]:5000*
*2012-12-17 17:43:54.401916 I  RAOP Device: Listening for connections on
port 5000*
*2012-12-17 17:43:54.405653 I  AirPlay: Created airplay objects.*
*2012-12-17 17:43:54.405861 I  Listening on TCP 127.0.0.1:5100*
*2012-12-17 17:43:54.406025 I  Listening on TCP [::1]:5100*
*2012-12-17 17:43:54.406202 I  Listening on TCP
[fe80::213:2ff:fe5e:274a%wlan0]:5100*
*2012-12-17 17:43:54.421963 I  Registering service 4f683f6f4d62 at MythTV on
mythfe._raop._tcp port 5000 TXT
tp=UDsm=falssv=falseek=1et=0,1cn=0,1ch=2ss=1sr=4410pw=falsevn=3
txtvers=md=0,1,2 vs=130.14da=true*
*2012-12-17 17:43:54.439921 I  Loading en_us translation for module
mythfrontend*
*2012-12-17 17:43:54.499564 E  LIRC: Failed to connect to Unix socket
'/var/run/lirc/lircd'*
* eno: No such file or directory (2)*
*2012-12-17 17:43:54.499686 E  JoystickMenuThread: Joystick disabled -
Failed to read /home/bob/.mythtv/joystickmenurc*
*cannot find libcec.solibcec.so: cannot open shared object file: No such
file or directory*
*2012-12-17 17:43:54.585575 E  CECAdapter: Failed to load libcec.*
*2012-12-17 17:43:54.585637 I  UDPListener: Enabling*
*2012-12-17 17:43:54.589405 I  Binding to UDP 127.0.0.1:6948*
*2012-12-17 17:43:54.589587 I  Binding to UDP [::1]:6948*
*2012-12-17 17:43:54.589806 I  Binding to UDP
[fe80::213:2ff:fe5e:274a%wlan0]:6948*
*2012-12-17 17:43:55.242475 W  Key Esc is bound to multiple actions in
context Main Menu.*
*2012-12-17 17:43:55.267127 I  Bonjour: Service registration complete: name
'MythTV on mythfe' type '_airplay._tcp.' domain: 'local.'*
*2012-12-17 17:43:55.271412 I  Using Frameless Window*
*2012-12-17 17:43:55.271524 I  Using Full Screen Window*
*2012-12-17 17:43:55.284106 I  Bonjour: Service registration complete: name
'4f683f6f4d62 at MythTV on mythfe' type '_raop._tcp.' domain: 'local.'*
*
*
*...*
*
*
*2012-12-17 17:47:13.094047 I  RAOP Device: New connection from
FE80::6F7:E4FF:FE97:16F3%wlan0:50787*
*2012-12-17 17:47:13.094402 I  Binding to UDP 127.0.0.1:6000*
*2012-12-17 17:47:13.094627 I  Binding to UDP [::1]:6000*
*2012-12-17 17:47:13.094885 I  Binding to UDP
[fe80::213:2ff:fe5e:274a%wlan0]:6000*
*2012-12-17 17:47:13.094943 I  RAOP Conn: Bound to port 6000 for incoming
data*
*2012-12-17 17:47:13.168882 I  RAOP Conn: Negotiated setup with client
FE80::6F7:E4FF:FE97:16F3%wlan0 on port 50787*
*2012-12-17 17:47:13.169045 I  Binding to UDP 127.0.0.1:53560*
*2012-12-17 17:47:13.169144 I  Binding to UDP [::1]:53560*
*2012-12-17 17:47:13.169229 I  Binding to UDP
[fe80::213:2ff:fe5e:274a%wlan0]:53560*
*2012-12-17 17:47:13.169263 I  RAOP Conn: Bound to client control port
53560 on port 53560*
*2012-12-17 17:47:13.169338 I  Binding to UDP 127.0.0.1:49457*
*2012-12-17 17:47:13.169407 I  Binding to UDP [::1]:49457*
*2012-12-17 17:47:13.169485 I  Binding to UDP
[fe80::213:2ff:fe5e:274a%wlan0]:49457*
*2012-12-17 17:47:13.169512 I  RAOP Conn: Bound to client timing port 49457
on port 49457*
*2012-12-17 17:47:13.169596 I  Listening on TCP 127.0.0.1:49457*
*2012-12-17 17:47:13.169668 I  Listening on TCP [::1]:49457*
*2012-12-17 17:47:13.169753 I  Listening on TCP
[fe80::213:2ff:fe5e:274a%wlan0]:49457*
*2012-12-17 17:47:13.169773 I  RAOP Conn: Listening for RAOP events on port
49457*
*2012-12-17 17:47:13.605950 I  AO: Resampling from 44 kHz to 48 kHz with
quality medium*
*2012-12-17 17:47:13.606303 I  AO: Opening audio device
'dmix:CARD=Intel,DEV=0' ch 2(2) sr 48000 sf signed 32 bit reenc 0*
*2012-12-17 17:47:13.613741 E  ALSA: Requested 500000us got 170666 buffer
time*
*2012-12-17 17:47:13.613950 E  ALSA: Try to manually increase audio buffer
with: echo 192 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc*
*[alac @ 0xa241e60] Invalid channel count*
*2012-12-17 17:47:13.617733 E  ALSA: no playback control PCM found on mixer
device default*
*2012-12-17 17:47:13.617742 E  ALSA: Unable to open audio mixer. Volume
control disabled*
*2012-12-17 17:47:13.713668 I  RAOP Conn: New connection from
FE80::6F7:E4FF:FE97:16F3%wlan0:50788 for RAOP events server.*
*2012-12-17 17:47:13.719543 I  RAOP Conn: Setting volume to 38.4848 (raw
-18.454546)*
*2012-12-17 17:47:14.847760 I  RAOP Conn: RTP-Info: seq=22885
rtptime=3227828762*
*2012-12-17 17:47:14.851586 I  RAOP Conn: RTP-Info: seq=22885
rtptime=3227828762*
*2012-12-17 17:47:14.851652 I  Receiving Title:Two By Two Artist:Original
Cast Recording Album:The Book of Mormon Format:*
*2012-12-17 17:47:14.857981 I  RAOP Conn: RTP-Info: seq=34028
rtptime=3227828762*
*2012-12-17 17:47:14.858042 I  RAOP Conn: Progress: 00:57/04:28*
*2012-12-17 17:47:14.861707 I  RAOP Conn: RTP-Info: seq=6818
rtptime=3227830522*
*2012-12-17 17:47:14.861757 I  RAOP Conn: Progress: 00:55/04:28*
*2012-12-17 17:47:14.867922 I  RAOP Conn: RTP-Info: seq=8578
rtptime=3227830522*
*2012-12-17 17:47:14.867976 I  RAOP Conn: Progress: 00:55/04:28*
*2012-12-17 17:47:15.227749 I  RAOP Conn: Missed 1 packet(s): expected
22630 got 22631 ts:73196681*
*2012-12-17 17:47:15.227858 I  RAOP Conn: Sent resend for 22630*
*2012-12-17 17:47:15.700290 E  RAOP Conn: Audio discontinuity seen. Played
22470 (73195395) expected 0*
*2012-12-17 17:47:22.667137 I  RAOP Conn: RTP-Info: seq=16674
rtptime=3228213498*
*2012-12-17 17:47:22.667224 I  Receiving Title:Two By Two Artist:Original
Cast Recording Album:The Book of Mormon Format:*
*2012-12-17 17:47:22.670848 I  RAOP Conn: RTP-Info: seq=23563
rtptime=3228306860*
*2012-12-17 17:47:24.132310 I  RAOP Conn: Missed 2 packet(s): expected
23743 got 23745 ts:73205564*
*2012-12-17 17:47:24.132447 I  RAOP Conn: Sent resend for 23743*
*2012-12-17 17:47:24.132467 I  RAOP Conn: Sent resend for 23744*
*2012-12-17 17:47:24.854975 E  RAOP Conn: Audio discontinuity seen. Played
23618 (73204551) expected 23371*
*2012-12-17 17:47:30.563725 I  RAOP Conn: Missed 1 packet(s): expected
24546 got 24547 ts:73211966*
*2012-12-17 17:47:30.564040 I  RAOP Conn: Sent resend for 24546*
*2012-12-17 17:47:30.828724 I  RAOP Conn: Missed 1 packet(s): expected
24581 got 24582 ts:73212245*
*2012-12-17 17:47:30.828792 I  RAOP Conn: Sent resend for 24581*
*2012-12-17 17:47:32.753307 I  RAOP Device: Removing client connection.*
*
*

===========below is a successful airplay on a combined backend/frontend
 =======================
*...
*
*
*
*2012-12-17 17:54:55.586674 I  Listening on TCP 127.0.0.1:6546*
*2012-12-17 17:54:55.586722 I  Listening on TCP 192.168.2.128:6546*
*2012-12-17 17:54:55.586821 I  Listening on TCP [::1]:6546*
*2012-12-17 17:54:55.586880 I  Listening on TCP
[fe80::a00:27ff:fe95:883b%eth0]:6546*
*2012-12-17 17:54:55.670635 N  Found mainmenu.xml for theme 'Mythbuntu'*
*2012-12-17 17:54:55.849351 I  Bonjour: Service registration complete: name
'Mythfrontend on mythbox' type '_mythfrontend._tcp.' domain: 'local.'*
*2012-12-17 17:55:10.702323 I  MythCoreContext: Connecting to backend
server: 192.168.2.128:6543 (try 1 of 1)*
*2012-12-17 17:55:10.703696 I  Using protocol version 75*
*2012-12-17 17:55:10.797257 I  Using protocol version 75*
*2012-12-17 17:55:10.798230 I  Using protocol version 75*
*2012-12-17 17:55:17.349038 I  RAOP Device: New connection from
192.168.2.151:61502*
*2012-12-17 17:55:17.349170 I  Binding to UDP 127.0.0.1:6000*
*2012-12-17 17:55:17.349208 I  Binding to UDP 192.168.2.128:6000*
*2012-12-17 17:55:17.349280 I  Binding to UDP [::1]:6000*
*2012-12-17 17:55:17.349340 I  Binding to UDP
[fe80::a00:27ff:fe95:883b%eth0]:6000*
*2012-12-17 17:55:17.349369 I  RAOP Conn: Bound to port 6000 for incoming
data*
*2012-12-17 17:55:17.381082 I  RAOP Device: Removing client connection.*
*2012-12-17 17:55:17.390697 I  RAOP Device: New connection from
192.168.2.151:61507*
*2012-12-17 17:55:17.390787 I  Binding to UDP 127.0.0.1:6000*
*2012-12-17 17:55:17.390824 I  Binding to UDP 192.168.2.128:6000*
*2012-12-17 17:55:17.390911 I  Binding to UDP [::1]:6000*
*2012-12-17 17:55:17.390969 I  Binding to UDP
[fe80::a00:27ff:fe95:883b%eth0]:6000*
*2012-12-17 17:55:17.390988 I  RAOP Conn: Bound to port 6000 for incoming
data*
*2012-12-17 17:55:17.491693 I  RAOP Conn: Negotiated setup with client
192.168.2.151 on port 61507*
*2012-12-17 17:55:17.491771 I  Binding to UDP 127.0.0.1:6001*
*2012-12-17 17:55:17.491849 I  Binding to UDP 192.168.2.128:6001*
*2012-12-17 17:55:17.491933 I  Binding to UDP [::1]:6001*
*2012-12-17 17:55:17.491988 I  Binding to UDP
[fe80::a00:27ff:fe95:883b%eth0]:6001*
*2012-12-17 17:55:17.492006 I  RAOP Conn: Bound to client control port 6001
on port 6001*
*2012-12-17 17:55:17.492054 I  Binding to UDP 127.0.0.1:6002*
*2012-12-17 17:55:17.492087 I  Binding to UDP 192.168.2.128:6002*
*2012-12-17 17:55:17.492132 I  Binding to UDP [::1]:6002*
*2012-12-17 17:55:17.492181 I  Binding to UDP
[fe80::a00:27ff:fe95:883b%eth0]:6002*
*2012-12-17 17:55:17.492195 I  RAOP Conn: Bound to client timing port 6002
on port 6002*
*2012-12-17 17:55:17.721374 I  AO: Resampling from 44 kHz to 48 kHz with
quality medium*
*[alac @ 0x7f72a4346040] Invalid channel count*
*2012-12-17 17:55:17.735043 I  AO: Opening audio device 'default' ch 2(2)
sr 48000 sf signed 16 bit reenc 0*
*2012-12-17 17:55:17.754414 E  ALSA: Requested 500000us got 341333 buffer
time*
*2012-12-17 17:55:17.754621 E  ALSA: Try to manually increase audio buffer
with: echo 128 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc*
*2012-12-17 17:55:17.829846 I  RAOP Conn: RTP-Info: seq=32166
rtptime=3764839331*
*2012-12-17 17:55:17.834138 I  RAOP Conn: Setting volume to 71.9095 (raw
-8.427140)*
*2012-12-17 17:55:17.837797 E  RAOP Conn: Audio discontinuity seen. Played
32222 (85370953) expected 0*
*2012-12-17 17:55:17.876193 I  RAOP Conn: RTP-Info: seq=0 rtptime=3764859043
*
*2012-12-17 17:55:17.876293 I  Receiving Title:KCRW Simulcast Artist:
Album: Format:*
*2012-12-17 17:55:17.876604 I  RAOP Conn: RTP-Info: seq=0 rtptime=3764859043
*
*2012-12-17 17:55:17.877008 I  RAOP Conn: Progress: 08:39/00:00*
*2012-12-17 17:55:20.671472 E  RAOP Conn: Audio discontinuity seen. Played
32325 (85371775) expected 32324*
*2012-12-17 17:55:29.119350 I  RAOP Device: Removing client connection.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20121217/74c6d509/attachment.html>


More information about the mythtv-users mailing list