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
I tried this code and it is working well for unity-python communication when I ran both on my local machine. But since i need to run python in browser and send audio files to unity. Does this code work for that?
The text was updated successfully, but these errors were encountered:
That's a general question about ZeroMQ. The code works to show you the example how to send a text to Unity but there's nothing preventing you to extend it to work with images, audio, or arbitrary blob of data.
Just encode your audio file as a binary string and send it, then decode back to audio in unity.
Thanks for the response! I think the question was not clearly deliver to you. The issue was not about type of data. The issue is that i need to run python code in web browser (using Jupyter notebook). But i am not able to send data from browser to unity. Please give some guidance on that.
I tried this code and it is working well for unity-python communication when I ran both on my local machine. But since i need to run python in browser and send audio files to unity. Does this code work for that?
The text was updated successfully, but these errors were encountered: