Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

udpsrc scene doesn't work with Unity > 2019.2 #30

Closed
Gregory-Baker opened this issue Nov 23, 2021 · 1 comment
Closed

udpsrc scene doesn't work with Unity > 2019.2 #30

Gregory-Baker opened this issue Nov 23, 2021 · 1 comment

Comments

@Gregory-Baker
Copy link

Gregory-Baker commented Nov 23, 2021

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.

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

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

  3. Remember to set all the two environment variables (PATH and GST_SDK_PATH) as specified in the readme.

  4. 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!

@Gregory-Baker Gregory-Baker changed the title updsrc scene doesn't work with Unity > 2019.2 udpsrc scene doesn't work with Unity > 2019.2 Nov 23, 2021
@Gregory-Baker
Copy link
Author

Gregory-Baker commented Nov 23, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant