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

IOS uses usrsctp data transmission, usrsctp_bind returns an error. #1197

Open
LiuAriel opened this issue May 28, 2024 · 3 comments
Open

IOS uses usrsctp data transmission, usrsctp_bind returns an error. #1197

LiuAriel opened this issue May 28, 2024 · 3 comments

Comments

@LiuAriel
Copy link

LiuAriel commented May 28, 2024

When IOS uses usrsctp data transmission, usrsctp_bind returns an errno. The errno code is 49. The errno message is that the requested address cannot be allocated. The library used is the latest version and there is no ip/port occupation.

@LiuAriel LiuAriel changed the title OS uses usrsctp data transmission, usrsctp_bind returns an error. IOS uses usrsctp data transmission, usrsctp_bind returns an error. May 28, 2024
@paullouisageneau
Copy link
Owner

Does it happen immediately on the first peer connection? Do you build the usrsctp submodule or do you link an external library? If you build the submodule, does updating deps/usrsctp to last master fix the issue?

@LiuAriel
Copy link
Author

At present, every time ICE succeeds, it will fail. I took out the sctp calling code separately, including directly using the official example to directly initialize and call the sctp corresponding interface. usrsctp_bind will also fail. I used the latest sctp master version, and before Neither does the version. Can you confirm the problem? The iOS version is 16.5. I wonder if it is a problem with the sctp permissions of the iOS system itself. I transplanted it to the Android version and the Linux system and it can run normally.

@paullouisageneau
Copy link
Owner

I can't reproduce as I don't have any Apple device. This sounds more like an issue with usrsctp on iOS then, I think you should report it there.

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