You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Undoubtedly a lot of work has gone into this plugin, so thanks to @mrayy for all your hard work.
It has taken me a while to get this plugin (kind of) working. I thought I'd share a few points from my experience, and ask a few questions at the same time:
Edit: Ignore 1., turns out I had my firewall settings configured differently for different versions of Unity and that was causing the issue, not the compatibility of the plugin.
Unity version does matter - I started with 2019.4.28f1 (the closest I had to the version used in the last commit - 2019.2.13f1) and some things worked, but other things didn't (e.g. using udpsrc in Test 2 scene did not work). I finally got the udpsrc examples working when I switched back to 2019.2.13f1. For a variety of reasons, I would really like to build the project in Unity 2020+ though. If anyone has any ideas how to get it working for later versions of Unity then let me know. I think it might be related to Distributing GStreamer with an application using this library (some elements not found) #20 but I haven't yet figured out how to get it to work. @NoTuxNoBux if you have any suggestions then please let me know! I'm just trying get it to run in the editor as well, not in build, so I imagine it should be even simpler than your use case.
Get the correct gstreamer version (1.16.2 mentioned in the readme worked for me. I used the MSVC version and can't testify for or against the MinGW version). I installed both the base (i.e.. gstreamer-1.0-msvc-x86_64-1.16.2.msi) and devel (i.e. gstreamer-1.0-devel-msvc-x86_64-1.16.2.msi) versions in order to compile the plugin myself. I installed the "Complete" versions of both as well, just to be sure.
Remember to set all the two environment variables (PATH and GST_SDK_PATH) as specified in the readme.
I've now tested the plugin on Unity 2020.3.3 on my home computer, in my home network and the udpsrc example (Test 2 scene) works!
I'm guessing it's just a firewall issue, so I will close the issue now.
Thanks again for a very useful tool!
Edit: I can confirm that I've got it working in Unity 2020.3.14f1 on my Work PC and network now by tweaking the firewall settings - the firewall rules are configured for each unity version separately and only my 2019.2 version was allowing traffic through a Private network (the other versions were set to block all traffic on this type of network - doh). Can't rate this plugin highly enough!
Hi,
Undoubtedly a lot of work has gone into this plugin, so thanks to @mrayy for all your hard work.
It has taken me a while to get this plugin (kind of) working. I thought I'd share a few points from my experience, and ask a few questions at the same time:
Edit: Ignore 1., turns out I had my firewall settings configured differently for different versions of Unity and that was causing the issue, not the compatibility of the plugin.
Unity version does matter - I started with 2019.4.28f1 (the closest I had to the version used in the last commit - 2019.2.13f1) and some things worked, but other things didn't (e.g. using udpsrc in Test 2 scene did not work). I finally got the udpsrc examples working when I switched back to 2019.2.13f1. For a variety of reasons, I would really like to build the project in Unity 2020+ though. If anyone has any ideas how to get it working for later versions of Unity then let me know. I think it might be related to Distributing GStreamer with an application using this library (some elements not found) #20 but I haven't yet figured out how to get it to work. @NoTuxNoBux if you have any suggestions then please let me know! I'm just trying get it to run in the editor as well, not in build, so I imagine it should be even simpler than your use case.
Get the correct gstreamer version (1.16.2 mentioned in the readme worked for me. I used the MSVC version and can't testify for or against the MinGW version). I installed both the base (i.e.. gstreamer-1.0-msvc-x86_64-1.16.2.msi) and devel (i.e. gstreamer-1.0-devel-msvc-x86_64-1.16.2.msi) versions in order to compile the plugin myself. I installed the "Complete" versions of both as well, just to be sure.
Remember to set all the two environment variables (PATH and GST_SDK_PATH) as specified in the readme.
I can't work out how to get Gstreamer to output verbose debugging, as mentioned in Distributing GStreamer with an application using this library (some elements not found) #20, so I am finding it hard to figure out where the errors are occurring.
Any help on getting udpsrc to work with newer versions of Unity would be greatly appreciated!
The text was updated successfully, but these errors were encountered: