Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Destination IP confusion #13

Open
adastx opened this issue Oct 9, 2022 · 3 comments
Open

Destination IP confusion #13

adastx opened this issue Oct 9, 2022 · 3 comments

Comments

@adastx
Copy link

adastx commented Oct 9, 2022

I wasn't able to get any sound until I used the phones IP as RTP module destination, and 0.0.0.0 as the IP in the app.

I also tried the reverse case with destination=localhost, and IP set to my PC's address, but no sound.

So I got the app to work but I'm not sure this is the intended way?
The readme and the app's default values make it look like I should be able to use RTP's 224.0.0.56 IP?

@allan-null
Copy link

Looks like the "IP" field on the Android app is the IP the app will be listening for incoming connections, so if you set it to 0.0.0.0 it will listen to all IPs of your Android device (even mobile data, I suppose, which is not secure). And the "destination" argument on the RTP module setup is your Android device IP which the module should connect to.
I also found the instructions confusing, and made it work only thanks to this issue.

@adastx
Copy link
Author

adastx commented Jan 8, 2023 via email

@ghistes
Copy link

ghistes commented Aug 3, 2023

Same for me. Multicast addresses do not work, probably due to a router not forwarding multicast packets or something like that.
I found the workaround to use the ip of the device by experimentation, but it would have saved me some time if it was mentioned somewhere in the docs.

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

No branches or pull requests

3 participants