1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

Merge pull request #4 from iroh-eh/readme

updated readme and install.sh
This commit is contained in:
avinash-iroh 2023-09-22 14:42:15 +05:30 committed by GitHub
commit d33b7e79b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -16,8 +16,9 @@ On the other hand, the Display-Sink side allows you to create wifi-capable exter
In the root of the project directory, run `sudo ./install.sh` In the root of the project directory, run `sudo ./install.sh`
Steps to run: Steps to run:
1. Run `sudo miracle-wifid --log-level trace --log-date-time` in a terminal. 1. Disable NetworkManager and ap: `sudo systemctl stop NetworkManager.service ap.service`.
2. Run `sudo miracle-sinkctl -e run-vlc.sh --log-level trace --log-journal-level trace --log-date-time -- set-friendly-name VingMiracle` in a separate terminal. 2. Run `sudo miracle-wifid --log-level trace --log-date-time` in a terminal.
3. Run `sudo miracle-sinkctl -e run-vlc.sh --log-level trace --log-journal-level trace --log-date-time -- set-friendly-name VingMiracle` in a separate terminal.
Now you should be able to cast your Windows 10/11 devices on Ving NUC. Now you should be able to cast your Windows 10/11 devices on Ving NUC.

View file

@ -1,15 +1,14 @@
#!/bin/bash #!/bin/bash
apt install cmake libglib2.0-dev libudev-dev libsystemd-dev libreadline-dev check libtool -y apt install cmake libglib2.0-dev libudev-dev libsystemd-dev libreadline-dev check libtool -y
apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-tools -y apt install gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-tools -y
rm -rf build/
mkdir build mkdir build
cd build cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr .. cmake -DCMAKE_INSTALL_PREFIX=/usr ..
make make
make install make install
cd .. cd ..
echo "-- Installing: /root/.miraclecast" echo "-- Installing: /root/.miraclecast"