-
-
Notifications
You must be signed in to change notification settings - Fork 140
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
the sample demo in waiting status forever #51
Comments
hi, it's front-end issue. I just fixed it, please try again. Thanks |
Please check if there are duplicate connections? It looks like there is already a connection in progress. |
This issue was introduced 2 days ago. The state is never changed. INFO /home/git/libpeer/src/agent.c 164 resolved_addr.ipv4: 108.177.110.127 It seems the cause might be related to some changes in signalling and ice handling Could you please help to fix it? thank you |
it seems like were thesame issue as in my previous post #40 it gives 0x0009 response im still working a way to decode its response code to get some clue |
I assume you mean STUN attribute type 0x0009? That's an error code attribute. It consists of a 32-bit error code integer (which is not the 0x0009 code itself), plus a human-readable error string. I have code to parse that response already, it's quite simple. (Warning: This code is debug-quality for my own WiP stuff, and is subject to buffer overflows and such!) I've added this bit in case STUN_ATTR_TYPE_ERROR_CODE:
LOGE("Error: %u - %.*s", (uint32_t)ntohl(*(uint32_t*)attr->value), attr->length - 4, attr->value + 4);
break; |
The text was updated successfully, but these errors were encountered: