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

Added a note on srt bind acquire not working with connected UDP socket #2342

Merged
merged 3 commits into from
May 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/API/API-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,10 @@ int srt_bind_acquire(SRTSOCKET u, UDPSOCKET udpsock);

A version of [`srt_bind`](#srt_bind) that acquires a given UDP socket instead of creating one.

The UDP socket being acquired MUST NOT be a [connected socket](https://man7.org/linux/man-pages/man2/connect.2.html)
(not associated with the socket name of a peer),
because SRT needs to be able to set the destination address by itself.
See [#2178](https://github.com/Haivision/srt/issues/2178) for more information.

[:arrow_up:   Back to List of Functions & Structures](#srt-api-functions)

Expand Down