[mythtv-users] Airplay stuttering...

jk90090 jk90090 at gmail.com
Tue Apr 17 21:59:49 UTC 2012


On 4/17/12 2:35 PM, jk90090 wrote:
> I reconfigured my USE flag to allow for airplay, the backend/frontend 
> shows up fine, as does my main frontend, but playing stutters pretty 
> regularly.  I tried it on my iphone also with similar results.
>
> Sample log messages:
>
> ...SNIP...
> 2012-04-17 13:48:38.883958 I [4780/4808] RAOPDevice 
> mythraopconnection.cpp:260 (SendResendRequest) - RAOP Conn: Missed 3 
> packet(s): expected 13150 got 13153
> 2012-04-17 13:48:38.883992 I [4780/4808] RAOPDevice 
> mythraopconnection.cpp:274 (SendResendRequest) - RAOP Conn: Sent 
> resend for 13150
> 2012-04-17 13:48:38.884001 I [4780/4808] RAOPDevice 
> mythraopconnection.cpp:274 (SendResendRequest) - RAOP Conn: Sent 
> resend for 13151
> 2012-04-17 13:48:38.884008 I [4780/4808] RAOPDevice 
> mythraopconnection.cpp:274 (SendResendRequest) - RAOP Conn: Sent 
> resend for 13152
> 2012-04-17 13:48:39.385059 W [4780/4808] RAOPDevice 
> mythraopconnection.cpp:295 (ExpireResendRequests) - RAOP Conn: Never 
> received resend packet 13150
> 2012-04-17 13:48:39.385075 W [4780/4808] RAOPDevice 
> mythraopconnection.cpp:295 (ExpireResendRequests) - RAOP Conn: Never 
> received resend packet 13151
> ..SNIP...
>
> Is there anything I can do to resolve this?  I assume it's partially 
> related to wireless (any particular wireless settings to look at?), 
> but I don't get this sort of trouble streaming to my ATV2.
>
> -JK
#  mythfrontend --version

Please attach all output as a file in bug reports.
MythTV Version : v0.25-rc-106-gf73dbda
MythTV Branch : master
Network Protocol : 72
Library API : 0.25.20120315-2
QT Version : 4.7.4
Options compiled in:
  linux profile use_hidesyms using_alsa using_oss using_backend 
using_bindings_perl using_bindings_python using_bindings_php 
using_firewire using_frontend using_hdhomerun using_ceton using_hdpvr 
using_iptv using_ivtv using_libcrypto using_libdns_sd using_libxml2 
using_libudf using_lirc using_mheg using_opengl_video using_qtwebkit 
using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv 
using_bindings_perl using_bindings_python using_bindings_php 
using_mythtranscode using_opengl using_vaapi using_vdpau 
using_ffmpeg_threads using_live using_mheg using_libass using_libxml2 
using_libudf


Turned on audio,playback debug also, and I only get one extra debug (see 
below ALSA buffer underrun):

2012-04-17 14:57:19.007548 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:423 (readClient) - RAOP Conn: readClient:
2012-04-17 14:57:19.007569 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:684 (FinishResponse) - RAOP Conn: OPTIONS sequence
2012-04-17 14:57:19.007610 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:690 (FinishResponse) - RAOP Conn: Send: 1
2012-04-17 14:57:19.079908 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:324 (ProcessSyncPacket) - RAOP Conn: Sync packet: 
Timestamp: 71670155 Current Audio ts: 71670163 (avsync 29.8115ms) 
Latency: audio 660 queue 1034 total 1694ms <-> target 1750ms
2012-04-17 14:57:19.282538 W [4990/5018] RAOPDevice 
mythraopconnection.cpp:295 (ExpireResendRequests) - RAOP Conn: Never 
received resend packet 45253
2012-04-17 14:57:19.282554 W [4990/5018] RAOPDevice 
mythraopconnection.cpp:295 (ExpireResendRequests) - RAOP Conn: Never 
received resend packet 45254
2012-04-17 14:57:19.282561 W [4990/5018] RAOPDevice 
mythraopconnection.cpp:295 (ExpireResendRequests) - RAOP Conn: Never 
received resend packet 45255
2012-04-17 14:57:20.085226 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:324 (ProcessSyncPacket) - RAOP Conn: Sync packet: 
Timestamp: 71671160 Current Audio ts: 71671201 (avsync 29.1562ms) 
Latency: audio 610 queue 1078 total 1688ms <-> target 1750ms
2012-04-17 14:57:20.402969 I [4990/5030] AudioOutputBase 
audio/audiooutputalsa.cpp:643 (WriteAudio) - ALSA: WriteAudio: buffer 
underrun
2012-04-17 14:57:21.089462 D [4990/5018] RAOPDevice 
mythraopconnection.cpp:324 (ProcessSyncPacket) - RAOP Conn: Sync packet: 
Timestamp: 71672165 Current Audio ts: 71672066 (avsync -44.528ms) 
Latency: audio 1010 queue 767 total 1777ms <-> target 1750ms
2012-04-17 14:57:21.958182 I [4990/5018] RAOPDevice 
mythraopconnection.cpp:260 (SendResendRequest) - RAOP Conn: Missed 1 
packet(s): expected 45657 got 45658
2012-04-17 14:57:21.958218 I [4990/5018] RAOPDevice 
mythraopconnection.cpp:274 (SendResendRequest) - RAOP Conn: Sent resend 
for 45657

Everything else is just "RAOPDevice mythraopconnection.cpp" in the log 
during airplay playback.

-JK



More information about the mythtv-users mailing list