Opened 6 years ago

Closed 5 years ago

#11981 closed Bug Report - General (Works for me)

Airplay audio playback fails

Reported by: insanemal@… Owned by: JYA
Priority: minor Milestone: unknown
Component: MythTV - Airplay Version: 0.27-fixes
Severity: medium Keywords: airplay
Cc: Ticket locked: no

Description

Airplay was working correctly for both video and audio in 0.26

Upgraded to 0.27

Now when attempting to use airplay no audio is heard.

Mythfrontend is writing the following to stdout during playback

[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.
[alac @ 0x7fa8580296a0] no end tag found. incomplete packet.

As previously stated, was all working correctly.

Attachments (2)

mythfrontend-version (908 bytes) - added by insanemal@… 6 years ago.
mythfrontend --version
airplay.log.tar.gz (547.0 KB) - added by insanemal@… 6 years ago.
Log of airplay playback

Download all attachments as: .zip

Change History (11)

Changed 6 years ago by insanemal@…

Attachment: mythfrontend-version added

mythfrontend --version

comment:1 Changed 6 years ago by insanemal@…

I just attempted it again on two different mythfrontends also running 0.27

I actually caught an extra error message

[alac @ 0x7fc01001bac0] Invalid channel count
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.
[alac @ 0x7fc01001bac0] no end tag found. incomplete packet.

So not wildly informative. But consistent across my three frontends

comment:2 Changed 6 years ago by JYA

You haven't stated what type of airplay you are doing: is this video or audio only (using the music player)

are you sure you're not trying to play DRMed file ?

try with a file that you know is DRM free

comment:3 Changed 6 years ago by insanemal@…

Sorry. I am doing predominately doing audio only. It is DRM free.

I'll test video properly tonight when I get home.

Also I tested with my Android device using an Application called AirTunes?. It captures all audio output and streams it via AirPlay?. This used to work also. Now it does not.

comment:4 Changed 6 years ago by JYA

you'll need to provide more logs that this.

refer to the howto.

starts mythfrontend with -v audio,playback --loglevel debug

and attach the entire, non-edited output of a session that includes using airplay

Changed 6 years ago by insanemal@…

Attachment: airplay.log.tar.gz added

Log of airplay playback

comment:5 Changed 6 years ago by insanemal@…

Tested audio playback and added log. It seems the messages I added before were sent to stderr and aren't in the logs I've attached as I only used > to write them to a file.

Video works fine via airplay (as does its audio) so its only audio only airplay having issues.

comment:6 Changed 5 years ago by JYA

Status: newinfoneeded_new

are you still having the issue?

Are you sure the music you're attempting to play is DRM-free?

comment:7 Changed 5 years ago by insanemal@…

Yes.

And Yes.

It is device dependant. Some devices work. Some don't. Ones that don't work with MythTV (that used to) work fine with a real Airplay target or other Airplay implementations. So it seems to be a narrow field of specific implementations.

I'll test a bunch of things and let you know shortly.

I know for a fact that on my Android device, AllStream? stopped working after a MythTV update, it was not updated. (it still works fine on all my other Airplay gear) However AirAudio? did not stop working. Both of these function by capturing audio output in realtime and transmitting that as an Airplay stream. So there is no DRM involved.

I'll have to dig up the iDevices to test also, as I'm not at home right now.

comment:8 Changed 5 years ago by JYA

any update?

comment:9 Changed 5 years ago by JYA

Resolution: Works for me
Status: infoneeded_newclosed
Note: See TracTickets for help on using tickets.