Cast Android screen via WiFi or USB
Demo video: https://youtu.be/D_DSuvFz_sg
- Gstreamer 1.0 with H264 decoder (h264parse, avdec_h264)
- adb for mirror via USB
- If you are not on an ARM machine, ignore outputs from *_arm targets, or remove them from the Makefile.
- Compile the receiver
$ cd receiver
$ make
- Launch receiver
$ cd receiver
$ ./cs_receiver autovideosink
- Open CastScreen APP
- Wait the receiver to appear on the list
- Select the receiver
- Tap Start on right corner
- Enable debug mode on the Android device
- Make sure adb is available on your PC
- Open CastScreen APP
- Select Server mode
- Tap Start on right corner
- Launch receiver
$ cd receiver
$ ./wait_adb.sh
- Launch receiver
$ cd receiver
$ python cs_receiver.py
- Open CastScreen APP
- Wait the receiver to appear on the list
- Select the receiver
- Tap Start on right corner
- Enable debug mode on the Android device
- Make sure adb is available on your PC
- Open CastScreen APP
- Select Server mode
- Tap Start on right corner
- Launch receiver
$ cd receiver
$ adb forward tcp:53516 tcp:53515
$ python cs_receiver_conn.py
Open system monitor, look up using the word receiver, and kill the process.
You can use the receiver with the All Cast Receiver App as well. Just start a receiver as described above (the native receiver is faster than the python one).
Copyright (c) 2015-2016 Jones Chi. Code released under the Apache License.