Page 1 of 1

OSC streaming not working

Posted: Sun Apr 02, 2023 11:44 am
by travelmail26
I'm having difficulty getting the OSC streaming to work. Here's what I've tried:

I'm running Debian Linux on a Google ChromeOS device. I've tried running all of the python scripts in the github repo. The script runs and prints that it's listening on port 5000.

On the iphone app, I've put in my tablet's IP, which I obtain from using the hotspot on my phone (I've also tried running it on my local wifi, neither work).

The iphone app is receiving data from my Muse S, but nothing shows up on the terminal when I run any of the python osc receiving scripts. It just continues to listen.

How do I diagnose this problem? Thanks. love this software!

Re: OSC streaming not working

Posted: Sun Apr 02, 2023 5:12 pm
by James
Likely your firewall is blocking UDP 5000. Try temporarily turning it off.

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 7:32 am
by travelmail26
Would my phone tethering be blocking udp 5000? i thought i would get around my firewall by being on the same network with my mobile device. thanks!

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 1:29 pm
by James
The firewall (if the issue) would be on your receiving laptop not the phone.
Tether vs Local Wifi shouldn't make a difference, but if it's not working, try everything.
I've used Mind Monitor with tethering when demoing the app away from my home and it works fine, so I don't think tethering is the issue.

It's likely going to be your laptop setup, but I'm not familar enough with Linux to tell you how to fix it, sorry. I'd start by googling "debian linux disable firewall" and work from there.

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 2:04 pm
by Abb-e-rawan
HI James, I have experiencing the same problem. I am trying to stream the data on windows computer using MATLAB. I have taken care of changing IP addresses, port name and port number but it did not worked. I have also granted permission through firewall as well. I am using S10+. Is there a possibility that some mobile settings needs to be changed?

Thank you

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 2:39 pm
by James
The only other thing I can think of is that you may have accidentally denied the Network permission when it popped up.

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 4:21 pm
by Abb-e-rawan
You mean on the mobile phone?...If this is the case I allowed it afterwards.

Re: OSC streaming not working

Posted: Tue Apr 04, 2023 4:59 pm
by James
If you have a Windows machine, you can try checking if the data stream using this Windows app I wrote:
https://github.com/Enigma644/OSCMonitor/releases

Regarding the IP. Make sure you're using the local WiFi IP. It'll likely start with 192.168, or 10.10.
You can get it using the following commands:
Windows command line: ipconfig
Linux terminal: ifconfig