bencall / rplay Goto Github PK
View Code? Open in Web Editor NEWJava port of shairport
License: Other
Java port of shairport
License: Other
RPlay v0.03 ============== Benjamin de Callatay April 22, 2011 What it is ---------- This program is in alpha version. It emulates an Airport Express for the purpose of streaming music from iTunes and compatible iPods. It implements a server for the Apple RAOP protocol. Installation ------------ Double clicking on RPlay.jar in the DIST folder should be enough... Thanks ------ Big thanks to David Hammerton for releasing an ALAC decoder and to soiaf for porting it to Java (https://github.com/soiaf/Java-Apple-Lossless-decoder). Thanks to Jame Laird for his C implementation (shairport - https://github.com/albertz/shairport) Thanks to anyone involved in one of the libraries i used for creating this software. Libraries & References ---------------------- These libraries are included in RPlay: * http://www.bouncycastle.org/latest_releases.html * http://commons.apache.org/ * https://github.com/albertz/shairport * https://github.com/soiaf/Java-Apple-Lossless-decoder * http://jmdns.sourceforge.net Contributors ------------ * [David Hammerton] * [James Laird] * [soiaf] * [adeward] (https://github.com/adeward) * [jblezoray] (https://github.com/jblezoray) * [Maik Schulz] for Mac OS X bundle (now obsolete) * [csholmq] * Everyone who has helped with shairport, the alac decoder (or the java port of it), apache commons lib or bouncycastle lib (see their README) Changelog --------- * 0.01a April 22, 2011 * initial release: able to communicate with iTunes (RTSP server ok) * 0.01b May 01, 2011 * First working version. Still buggy. Usable. * 0.01c May 06, 2011 * First binary version. Need feedback. * 0.02 April 29, 2013 * Fixed auto-startup and enabled RPlayNoGui.jar. * 0.03 May 2, 2013 * Added password support. Also replaced mDNSResponder with JmDNS.
The file "biquadFilter.java" in the /src directory should be renamed to "BiquadFilter.java". The class names and the file names in Java should be exactly the same.
I'm not entirely sure how to reproduce. But sometimes the audio is delayed by 5-8 seconds when streaming to my NAS. Console reveals that volume change commands are instant, but the actual sound reveals the volume change up to 8 seconds later.
Could this be something with the audio decoding?
Does this have an ipv4 fallback?
my router doesn't support ipv6 and I keep getting a socketexception
Hi there
I'm attempting to run rplay on Ubuntu 10.04 (32-bit) under the Sun Java VM. I have built Apple mDNSResponder 107.1 and installed it (along with the Java libraries).
When I attempt to start the RPlay server by clicking on the button, I get the following:
Exception in thread "Thread-1" java.lang.NullPointerException
at LaunchThread.run(LaunchThread.java:97)
Looking at the code, I'm not sure why the error occurs here, since it appears the object shouldn't be null (you initialize the thing in line 75).
I'll debug some more if I get the chance... but if you know of some reason why things shouldn't be working with my setup (OS or dependency versions) then you'd save me some time by letting me know ;-).
I opened the JAR, gave it a name and hit "start", and the AirPlay icon appeared as expected on my iPhone. I was able to choose the speaker on my phone and hit the play button, but while the iPhone acted like it was playing to the remote speaker (the timeline was advancing), no sound actually came out on my computer. Here's what I saw in Console.app:
5/27/11 10:51:12 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Registered Name : 7c6d62902a74@icanhasairport
5/27/11 10:51:12 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Type : _raop._tcp.
5/27/11 10:51:12 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Domain: local.
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] REQUEST: OPTIONS
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] OPTIONS * RTSP/1.0
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] CSeq: 0
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Apple-Challenge: EXb16hCGgAbfAI0S0lpt9Q==
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] DACP-ID: E834A7B4C5AE1ED7
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Active-Remote: 2120622625
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] RTSP/1.0 200 OK
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Audio-Jack-Status: connected; type=analog
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] CSeq: 0
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Apple-Response: qrZngRMzkv64r4lta+7UdE/qYSacggkge6tS88PTt1dAsoFIHmGx3AW73aE+oiPoOU5O89FkUL0N43AkLpu5Byk5dILB2FTE/l3Oh+td2+u141GDiBFo+AQHCBW1YHiRuZRSy/eYPSY2FCX6Oi/dN2zKViJEAiKp1udI3HU4IO4a5+R8NpsKeMrwKKCfm9imald0ptFOoWA2hTiMoXigjEMXgesgWHFPKAiwyVnTl8fJMvCN7w7Rm+vjHAawZckRiJUt8xRNGatg55KCv/G/th/X5z4YXBGJcHwngFeJpo/tIRnQKAZwJ78U4k3ag2WtiJuwBjGX5SnjL6Djhiyk8Q
5/27/11 10:51:42 PM [0x0-0xe70e7].com.apple.JarLauncher[13522] Public: ANNOUNCE, SETUP, RECORD, PAUSE, FLUSH, TEARDOWN, OPTIONS, GET_PARAMETER, SET_PARAMETER
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.