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

mdns? #46

Open
richlegrand opened this issue Oct 18, 2023 · 3 comments
Open

mdns? #46

richlegrand opened this issue Oct 18, 2023 · 3 comments

Comments

@richlegrand
Copy link

richlegrand commented Oct 18, 2023

Hello,
I'm using an esp32-s3 with OV2640 camera. I have the demo working when I connect from within the local network. (pointing browser to https://sepfy.github.io/webrtc/?deviceId=esp32-xxxxxxxxxxxxxxxxxx) --- awesome :)

One problem I'm having is when I try to connect from outside the local network, I get the console message:

WARN /home/rich/ringtail/libpeer/src/ports.c 118 ESP_ERR_NOT_FOUND: Host was not found!

Which says that it's having trouble resolving the mdns address, which I guess isn't too surprising... I'm wondering the best way to try to track down what's going wrong in the connection (?)

thanks!

@sepfy
Copy link
Owner

sepfy commented Oct 22, 2023

Yes. when you are using the different local area network, mdns is not available. In your case, was the connection successful? the ice candidate paring (connection of peer to peer) is through the STUN protocol. I will monitor STUN packets to check the connection status

@richlegrand
Copy link
Author

It wasn't able to connect. What is the best way to debug?
By the way, did you write your own ICE and SCTP code?

thanks

@sepfy
Copy link
Owner

sepfy commented Nov 5, 2023

yes. I just implemented ice and sctp simply. For Linux os, i am using the USRSCTP. I think the best way is using the wireshark to check the STUN packet has been received and whether the packet is blocked

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

2 participants