openairplay / openairplay Goto Github PK
View Code? Open in Web Editor NEWEnabling Airplay just like on Apple OSX on Ubuntu and possibly other non-apple OSes
License: MIT License
Enabling Airplay just like on Apple OSX on Ubuntu and possibly other non-apple OSes
License: MIT License
Be able to select a device from the airplay list in the system tray menu, and remember that choice for airplaying.
While attempting to receive server capabilities from RPiPlay:
Accepted IPv4 client on socket 24
Local: 127.0.0.1
Remote: 127.0.0.1
httpd receiving on socket 24
conn_request
httpd didn't get response
httpd receiving on socket 24
Connection closed for socket 24
Destroying connection
The client's connection hangs and times out, as it receives no data.
Test method:
RPiPlay started: ./rpiplay -b on -d
Locate the listening port: lsof | grep rpiplay | grep TCP
Send HTTP request: http 127.0.0.1:44103/info
(replace port with one from prior command, try any path, like /stream.xml
and /server-info
, none appear to respond)
Apple products have hardware chips to do h.264 encoding for mirroring on the fly, normal computers don't.
We need to find a way of replicating this... and it may be processor intensive, which means a lot...
I'd be happy to buy one for you, if it would help development on this project!
If you want to participate in this project, inform us.
So that we can later show this array as options in the dropdown airplay menu.
I notice in your README that you say you can no longer test this as you don't have access to Apple equipment. You can install 'shairport' as a server on a Linux box hooked up to a TV or stereo. That's what I do so my guests can stream Spotify from their iPhones. It works great.
Hi,
Probably I'm not doing something correctly, but when I start the app, I see my device successfully discovered from linux Debian 10:
python3 is /usr/bin/python3
Debugging enabled.
Called with system args: ['main.py']
Python version: 3.7.3 (default, Dec 20 2019, 18:57:59)
[GCC 8.3.0]
Got systrayicon from settings:True
Got promptOnClose_systray from settings:False
Starting discovery service...
Listener started.
Airplay receiver Mirascreen BFD9C7DD._airplay._tcp.local. added, service info: ServiceInfo(type='_airplay._tcp.local.', name='Mirascreen BFD9C7DD._airplay._tcp.local.', addresses=[b'\xc0\xa8+\x1b'], port=7000, weight=0, priority=0, server='Mirascreen BFD9C7DD.local.', properties={b'deviceid': b'D2:C0:BF:D9:C7:DD', b'features': b'0x0A7FEFF7,0x8', b'flags': b'0x4', b'rmodel': b'EZAir1,1', b'model': b'AppleTV3,2', b'srcvers': b'220.68', b'vv': b'2', b'pk': b'6eecbef4886bd4c68bea572913b497c210a2779de9ef05e8e505bd6e9a10a1d5', b'pi': b'b08f5a79-db29-4384-b456-a4784d9e6055'})
Adding device: Mirascreen BFD9C7DD._airplay._tcp.local.
Program returned to system tray, user chose not to be notified.
Closing to System Tray
I don't see any options in the GUI, which can help me in sharing my desktop. I see however AppleTV3.2, which seems like a recent version.
You feedback will be greatly appreciated.
Kind regards,
Todor
Having trouble figuring out the Picture POST methods to get an image to show on an Apple TV.
https://nto.github.io/AirPlay.html#photos-httprequests
Need to have a quick one-on-one talk with wireshark and an apple tv.
If anyone else has any ideas on getting this to work, please contribute.
Currently the program drops a command like ruby airplay/air list
to the command line for evaluation.
Windows would need to be able to execute this, needing the airplay
Rubygem and Ruby both installed. Is this going to work equivalently as on Linux?
$ ./run.sh
python3 is /usr/bin/python3
Debugging enabled.
Called with system args: ['main.py']
Python version: 3.5.3 (default, Jan 19 2017, 14:11:04)
[GCC 6.3.0 20170118]
Python3 Zeroconf module could not be loaded.
Please ensure you have it installed.
Could not import own classes.
Non-Zero exit status.
Program quit.
apt-get install python3-zeroconf
fixes the problem and should be added to install.sh.
(By the way, I very much like that your install.sh is simple enough that I can run each command by hand instead of executing it. And I appreciate that you're using the python3 libraries builtin to the system (using apt-get) instead of grabbing them from some third-party site.)
Add designation between Python 2 and 3 and load the correct version of Rython to use.
https://nto.github.io/AirPlay.html#photos-httprequests
Need to figure out how to convert images to raw data to send in POST http's.
I can't seem to find any information if this just supports AirPlay 1 or also Airplay 2 anywhere in the repo.
https://github.com//FDH2/UxPlay
this is mainly improving missing things in RPiPlay (but for desktop linux rather than RPi).
came across this site while searching for info on AAC-ELD in iOS 8, 9, (trying to extend support range of UxPlay to older model that dont run current iOS)
Got systrayicon from settings:False Got promptOnClose_systray from settings:False Traceback (most recent call last): File "main.py", line 299, in <module> window = Window() File "main.py", line 53, in __init__ self.createTrayIcon() File "main.py", line 276, in createTrayIcon self.trayIconMenu.addAction(self.maximizeAction) AttributeError: 'Window' object has no attribute 'maximizeAction'
How can i deal with this problem?( ̄(エ) ̄)ゞ
Emulate virtual X display then reroute content to Airplay mirroring stream.
Absolutely no clue for windows system support on this one.
If I ever get this working I must be doing something right...
It is possible to have a full AirPlay and AirPlay 2 support?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.