AllCast provides media routes to all other applications on your system via the MediaRouter API.
Any application that uses the MediaRouter APIs can leverage AllCast to stream video and audio files to various devices.
Setup:
Install AllCast
Checkout Source:
git clone https://github.com/koush/MediaRouterSample.git
Build the project using gradle in Android Studio.