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
NTP streams support #1407
Comments
Thanks for the post. I haven’t any plans at present to implement NTP-based streaming. It is not legacy technology, AFAIK; it’s just that it doesn’t seem to be widely used. I am a big fan of OwnTone, however, and it may get supported in the future. |
Thanks for the quick reply and the awesome job you are doing! |
Hi @mikebrady, I'm trying to play from my macbook pro m1. I compiled shairport-sync with airplay 2 turned on. If I select system-wide airplay, connection will fail and says NTP not implemented. How can I change it to PTP?
|
Thanks for the post. I am not aware of any situation where NTP-based AirPlay 2 is actually used, except for OwnTone, so can you give more details about the the system and application you are using at the Mac end, please? Otherwise, in my experience, PTP-based AirPlay 2 is always used. |
@mikebrady Hi, after some digging I found that when I use USB network to connect my RPi and macOS (RPi runs ncm usb gadget), NTP will be used; if WiFi is used, PTP will be used. Strange. |
Very interesting indeed, thanks. Can you say a tiny bit more about how your setup is organized please? I’d really like to replicate it. |
Steps to reproduce:
|
Super -- many thanks! |
Unfortunately, it won't let me proceed. I added this line to
and set
I must be missing something... |
@mikebrady Could you please post more details? What doesn't work? |
Thanks for the quick response. Okay, so on a Raspberry Pi 3B
I put your script into a file called
Then I tried to run it:
so that directory |
Could you please try running |
Sure. There was no response:
|
Yes, and please check if that directory appears? |
Yes, it's there now:
So I'll go ahead and try it out now. |
Got further, but still no cigar yet:
|
Another mod is missing, pleaes try |
Okay -- it'll take me a few minutes... |
Thanks -- the script ran with no errors! Got some very encouraging logs entries too:
so I'll play around with it now. Thanks for your help! |
Are you connecting a C-C cable? From the logs, I think somewhere is wrong: the MacBook is currently a device, not host. RPi should be the device. Could you please try to use a USB A-C cable to connect the Pi? i.e. Use some expansion docker to get USB-A port on Mac, And connect the A side of the cable to the mac, C side of the cable to RPi. |
I think you are right. I have a MacBook Pro M1, so USB-C sockets. The Pi is a 3B, so USB-A sockets. Right now, I'm using a regular USB-C to USB-C cable with a little A-plug-to-C-socket adapter to plug into the 3B's USB socket. I guess this is the cause of the problem you are referring to (C to C cable)? I'm travelling right now, so haven't access to my bag of cables. I will be able to check over the weekend though. But this is good going -- thanks again for your help. |
Unfortunately you may need to use Pi4: https://raspberrypi.stackexchange.com/questions/71613/how-to-use-raspberry-pi-3-as-a-usb-gadget |
That's very useful, thanks. |
I tried to play via OwnTone with forced Airplay 2 and these are the messages in
journalctl
.Is it planned that NTP stream will be supported as well? Or is this legacy technology and OwnTone should also support PTP?
Thank you!
The text was updated successfully, but these errors were encountered: