albfan / miraclecast

Connect external monitors to your system via Wifi-Display specification also known as Miracast
Other
3.68k stars 408 forks source link

Using android device as source on real machine (Linux Ubuntu 20.04) #430

Closed OliveiraICTS closed 2 years ago

OliveiraICTS commented 2 years ago

If used Android Device with this feature, shows connected and it configuration okay. Everithing looks okay, but, the GUI did not open on Sink side.

albfan commented 2 years ago

Probably you miss to installed needed gstreamer plugins for basic viewer. See you can customize and use VLC or your desired app

https://github.com/albfan/miraclecast/wiki/FAQ#do-i-have-all-needed-software-installed

OliveiraICTS commented 2 years ago

Hi Albfan,

You was right!

See what I got when ran test-viewer.sh at folder res as root:

./test-viewer.sh
            testing plugins required:
            test udpsrc... (passed)
            test rtpjitterbuffer... (passed)
            test rtpmp2tdepay... (passed)
            test tsdemux...                  
                    gst plugin "tsdemux" not available
            test h264parse...                
                    gst plugin "h264parse" not available
            test avdec_h264... (passed)
            test autovideosink... (passed)
              Some plugins required for visualization are missed

              Try installing packages "gst-plugins-bad, gst-plugins-base, gst-plugins-base-libs, gst-plugins-good, gst-plugins-ugly, gst-libav, gstreamer".
              If that fails too, try:

$ vlc rtp://@:1991

I will do it and reply the results okay!

Well, I made some changes at README.md

I think it will help.

Regards, and thank you!

albfan commented 2 years ago

PR welcome

OliveiraICTS commented 2 years ago

After install the GUI dependencies MiracleCast worked Propperly as Sink

Thank you by your support!