Code Monkey home page Code Monkey logo

castscreen's Introduction

CastScreen

Cast Android screen via WiFi or USB

Demo video: https://youtu.be/D_DSuvFz_sg

Requirments

  • Gstreamer 1.0 with H264 decoder (h264parse, avdec_h264)
  • adb for mirror via USB

With native receiver

  • 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

Via WiFi

  1. Launch receiver
$ cd receiver
$ ./cs_receiver autovideosink
  1. Open CastScreen APP
  2. Wait the receiver to appear on the list
  3. Select the receiver
  4. Tap Start on right corner

Via USB

  1. Enable debug mode on the Android device
  2. Make sure adb is available on your PC
  3. Open CastScreen APP
  4. Select Server mode
  5. Tap Start on right corner
  6. Launch receiver
$ cd receiver
$ ./wait_adb.sh

With python receiver

Via WiFi

  1. Launch receiver
$ cd receiver
$ python cs_receiver.py
  1. Open CastScreen APP
  2. Wait the receiver to appear on the list
  3. Select the receiver
  4. Tap Start on right corner

Via USB

  1. Enable debug mode on the Android device
  2. Make sure adb is available on your PC
  3. Open CastScreen APP
  4. Select Server mode
  5. Tap Start on right corner
  6. Launch receiver
$ cd receiver
$ adb forward tcp:53516 tcp:53515
$ python cs_receiver_conn.py

Closing receivers

Ubuntu

Open system monitor, look up using the word receiver, and kill the process.

Using an alternative app.

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).

License

Copyright (c) 2015-2016 Jones Chi. Code released under the Apache License.

castscreen's People

Contributors

botcyborg avatar chris-hatton avatar joneschi avatar vvasuki avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.