OSC streaming not working

Post Reply
travelmail26
Posts: 16
Joined: Mon Feb 06, 2023 12:52 pm

OSC streaming not working

Post 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!
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC streaming not working

Post by James »

Likely your firewall is blocking UDP 5000. Try temporarily turning it off.
travelmail26
Posts: 16
Joined: Mon Feb 06, 2023 12:52 pm

Re: OSC streaming not working

Post 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!
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC streaming not working

Post 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.
Abb-e-rawan
Posts: 2
Joined: Tue Apr 04, 2023 1:49 pm

Re: OSC streaming not working

Post 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
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC streaming not working

Post by James »

The only other thing I can think of is that you may have accidentally denied the Network permission when it popped up.
Abb-e-rawan
Posts: 2
Joined: Tue Apr 04, 2023 1:49 pm

Re: OSC streaming not working

Post by Abb-e-rawan »

You mean on the mobile phone?...If this is the case I allowed it afterwards.
User avatar
James
Site Admin
Posts: 1103
Joined: Wed Jan 02, 2013 9:06 pm

Re: OSC streaming not working

Post 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
Post Reply