1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-14 18:41:54 +00:00
No description
Find a file
albfan 028bfc3e34 Local helpers
helpers to start/stop wpa_supplicant
2015-03-05 23:34:07 +01:00
res Local helpers 2015-03-05 23:34:07 +01:00
src avoid miracle filter on wifi devices 2014-09-09 12:16:12 +02:00
test rtsp: add rtsp bus 2014-05-08 11:39:02 +02:00
.gitignore ctl: add sinkctl 2014-05-08 15:29:46 +02:00
autogen.sh Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
configure.ac build: fix required package to libsystemd 2014-09-03 07:54:24 +02:00
COPYING Change license to LGPL 2014-03-19 13:01:23 +01:00
LICENSE_gdhcp Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
LICENSE_htable Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
LICENSE_lgpl Change license to LGPL 2014-03-19 13:01:23 +01:00
Makefile.am sink: move GST pipeline construction to bash script 2014-09-03 08:11:03 +02:00
NEWS Initial MiracleCast Implementation 2014-02-09 18:36:06 +01:00
README.md quickstart 2015-01-27 06:50:07 +01:00
test.supp test: add valgrind memory checks 2014-03-28 12:48:10 +01:00

MiracleCast - Wifi-Display/Miracast Implementation

The MiracleCast project provides software to connect external monitors to your system via Wifi. It is compatible to the Wifi-Display specification also known as Miracast. MiracleCast implements the Display-Source as well as Display-Sink side.

The Display-Source side allows you to connect external displays to your system and stream local content to the device. A lot of effort is put into making this as easy as connecting external displays via HDMI.

On the other hand, the Display-Sink side allows you to create wifi-capable external displays yourself. You can use it on your embedded devices or even on full desktops to allow other systems to use your device as external display.

Website: http://www.freedesktop.org/wiki/Software/miracle

Requirements

The MiracleCast projects requires the following software to be installed:

  • systemd: A system management daemon. It is used for device-management (udev), dbus management (sd-bus) and service management.

    Systemd must be compiled with --enable-kdbus, even though kdbus isn't used, but only the independent, experimental sd-libraries.

    required: >=systemd-213

  • glib: A utility library. Used by the current DHCP implementation. Will be removed once sd-dns gains DHCP-server capabilities.

    required: ~=glib2-2.38 (might work with older releases, untested..)

  • check: Test-suite for C programs. Used for optional tests of the MiracleCast code base.

    optional: ~=check-0.9.11 (might work with older releases, untested..)

  • gstreamer: MiracleCast relay on gstreamer to show cast its output. You can test if all needed is installed launching res/test_viewer.sh

Download

Released tarballs can be found at: http://www.freedesktop.org/software/miracle/releases

Install

To compile MiracleCast, run the standard autotools commands:

    $ test -f ./configure || NOCONFIGURE=1 ./autogen.sh
    $ ./configure --prefix=/usr/local
    $ make
    $ sudo make install
  To compile and run the test applications, use:
    $ make check

Documentation

Steps to use it as sink:

  1. shutdown wpa_supplicant

    $ sudo kill -9 $(ps -ef | grep wpa_supplicant | awk "{print $1}")
    
  2. launch wifi daemon

    $ sudo miracle-wifid &
    
  3. launch sink control

    $ sudo miracle-sinkctl
    [ADD]  Link: 3
    
  4. run WiFi Display on link:

    > run 3
    
  5. Discover your machine with other miracast device (mirroring)

  6. See your device on this machine

Steps to use it as peer:

  1. Repeat steps 1 and 2 from "use as sink"

  2. launch wifi control

    $ sudo miracle-wifictl
    
  3. Enable visibility for other devices

  4. Locate them using scanning

    > psp-scan
    
  5. Apart from list, or show info with peer there's nothing useful here by now.

License

This software is licensed under the terms of the GNU-LGPL license. Please see ./COPYING for further information.

Contact

This software is maintained by: David Herrmann dh.herrmann@gmail.com If you have any questions, do not hesitate to contact one of the maintainers.