Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3rd party Airplay streamers do not work #27

Closed
geekpersonman opened this issue Oct 4, 2019 · 8 comments
Closed

3rd party Airplay streamers do not work #27

geekpersonman opened this issue Oct 4, 2019 · 8 comments

Comments

@geekpersonman
Copy link

Have successfully compiled and installed RPiPlay on my raspberry pi 3b+ using a fresh install of buster off the raspberry pi website. It works great from my iPhone on iOS 13 and my MacBook Pro using Mojave, but the program fails when I try to stream using Airparrot 2 on my Windows 10 laptop. Here is the output log:
Initialized server socket(s)
*** WARNING *** The program 'rpiplay' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
Accepted IPv4 client on socket 15
Local: 100.72.41.47
Remote: 100.72.41.41
raop_rtp_mirror starting mirroring
Accepted IPv4 client on socket 18
Local: 100.72.41.47
Remote: 100.72.41.41
rpiplay: /home/pi/RPiPlay/lib/raop_rtp_mirror.c:303: raop_rtp_mirror_thread: Assertion `nc_len > 0' failed.
after that the program exits.

@FD-
Copy link
Owner

FD- commented Oct 4, 2019

Duplicate of #15

@FD- FD- marked this as a duplicate of #15 Oct 4, 2019
@geekpersonman
Copy link
Author

geekpersonman commented Oct 4, 2019

Sorry I didn't see that issue before, Thanks! I was already working on getting Miracast going too, I was just hoping to run as little software on the pi as possible.

@FD-
Copy link
Owner

FD- commented Oct 4, 2019

Since 3rd party clients likely implement the best documented version of the protocol, it probably isn't too much effort to add it into RPiPlay. I won't do it because I don't need it, but if you are willing to invest some time, I'd be happy to help where I can.

@geekpersonman
Copy link
Author

Thank you, I'll look into it. I know Kodi has the old version of Airplay mirroring protocol builtin, so maybe most of that code could be reused? Also on an unrelated note I want to add libcec support so my tv will automatically turn on and change the input when a stream connects and turn off when it disconnects.

@FD-
Copy link
Owner

FD- commented Oct 4, 2019

If you have a working solution for any of these points, please submit a PR! Adding libcec support should likely be as easy as adding a few lines to the video renderer. flush is called when the stream ends.

@geekpersonman
Copy link
Author

What IDE are you using to write this? I am currently working in Xcode but I am struggling to get libcec to register in it properly.

@FD-
Copy link
Owner

FD- commented Oct 5, 2019

For most of the code I used a simple text editor, but I later switched to CLion (I have a student license), since it provides good support for CMake.

@geekpersonman
Copy link
Author

Thank you that’s very useful, I had looked into Clion because I love IntelliJ but I didn’t realize it was free for students.

@FD- FD- mentioned this issue Mar 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants