[mythtv-users] .25, bonjour, and airplay

jk90090 jk90090 at gmail.com
Tue Apr 17 21:51:26 UTC 2012


On 4/17/12 2:40 PM, jk90090 wrote:
> On 4/17/12 2:05 PM, jk90090 wrote:
>> On 4/17/12 4:59 AM, Jean-Yves Avenard wrote:
>>> On 17 April 2012 21:40, Mike Perkins<mikep at randomtraveller.org.uk>  
>>> wrote:
>>>
>>>> Yeah, but he'll need to change both frontend and backend to get 
>>>> mythtv to
>>>> continue to work...
>>> No he doesn't. Not for AirTunes/AirPlay
>>>
>> It would appear that I had to do it.  My frontend also has a slave 
>> backend (but not always running) and it just would not output audio.  
>> I could see the device register in my iphone and ipad's AirPlay list, 
>> I could select the frontend and hit play, but no audio would come 
>> out.  I fired up mythtv-setup on it, and the local backend IP was set 
>> to 127.0.0.1.  I changed that to the LAN IP for the machine, and 
>> restarted the frontend, and now I have audio (video still not 
>> working), but audio stutters which seems to be related to wireless.  
>> Is there a buffer setting that I can use??
>>
>> -JK
>>
> As a followup, specifically I would see the following in the logs 
> before the change:
>
> ....
>
> Note the additional binding after the change.
>
> -JK
Oops, wrong copy and paste.  Ignore the last email, the correct log 
entries before change:

2012-04-17 12:52:33.048026 D [4254/4254] CoreContext serverpool.cpp:92 
(SelectDefaultListen) - Adding IPv4 loopback to address list.
2012-04-17 12:52:33.048058 D [4254/4254] CoreContext serverpool.cpp:132 
(SelectDefaultListen) - Adding IPv6 loopback to address list.
2012-04-17 12:52:33.048126 D [4254/4254] CoreContext serverpool.cpp:114 
(SelectDefaultListen) - Skipping non-private address during IPv4 
autoselection: AAA.BBB.CCC.DDD
2012-04-17 12:52:33.048173 D [4254/4254] CoreContext serverpool.cpp:152 
(SelectDefaultListen) - Skipping link-local address during IPv6 
autoselection: [...]
2012-04-17 12:52:33.048359 I [4254/4254] CoreContext serverpool.cpp:306 
(listen) - Listening on TCP 127.0.0.1:6547
2012-04-17 12:52:33.048456 I [4254/4254] CoreContext serverpool.cpp:306 
(listen) - Listening on TCP [0:0:0:0:0:0:0:1]:6547
2012-04-17 12:52:33.907371 I [4254/4281] AirplayServer 
serverpool.cpp:306 (listen) - Listening on TCP 127.0.0.1:5100
2012-04-17 12:52:33.907455 I [4254/4281] AirplayServer 
serverpool.cpp:306 (listen) - Listening on TCP [0:0:0:0:0:0:0:1]:5100


and the correct log entries after change:

2012-04-17 13:45:40.134815 D [4780/4780] CoreContext serverpool.cpp:92 
(SelectDefaultListen) - Adding IPv4 loopback to address list.
2012-04-17 13:45:40.134834 D [4780/4780] CoreContext serverpool.cpp:124 
(SelectDefaultListen) - Adding BackendServerIP6 to address list.
2012-04-17 13:45:40.134846 D [4780/4780] CoreContext serverpool.cpp:84 
(SelectDefaultListen) - Adding BackendServerIP to address list.
2012-04-17 13:45:40.134884 D [4780/4780] CoreContext serverpool.cpp:158 
(SelectDefaultListen) - Skipping address: [...]
2012-04-17 13:45:40.135088 I [4780/4780] CoreContext serverpool.cpp:306 
(listen) - Listening on TCP 127.0.0.1:6547
2012-04-17 13:45:40.135175 I [4780/4780] CoreContext serverpool.cpp:306 
(listen) - Listening on TCP AAA.BBB.CCC.DDD:6547
2012-04-17 13:45:40.135270 I [4780/4780] CoreContext serverpool.cpp:306 
(listen) - Listening on TCP [0:0:0:0:0:0:0:1]:6547
2012-04-17 13:45:40.965369 I [4780/4806] AirplayServer 
serverpool.cpp:306 (listen) - Listening on TCP 127.0.0.1:5100
2012-04-17 13:45:40.965436 I [4780/4806] AirplayServer 
serverpool.cpp:306 (listen) - Listening on TCP AAA.BBB.CCC.DDD:5100
2012-04-17 13:45:40.965515 I [4780/4806] AirplayServer 
serverpool.cpp:306 (listen) - Listening on TCP [0:0:0:0:0:0:0:1]:5100


serverpool.cpp seems to control all of this, but I've not really dug 
into it much to determine another way of setting this up.

-JK


More information about the mythtv-users mailing list