-
Notifications
You must be signed in to change notification settings - Fork 866
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
[FIX] Changed conditions for setting callbacks #2683
[FIX] Changed conditions for setting callbacks #2683
Conversation
The conditions for `srt_listen_callback` and `srt_connect_callback` are that they can only be modified prior to listening or connecting, simultaneously they can be also set to NULL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add this new error code (SRT_ECONNSOCK
?) to the srt_listen_callback
and srt_connect_callback
error codes.
…back-should-require-pre-or-pre-bind-condition
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## master #2683 +/- ##
==========================================
- Coverage 67.05% 66.82% -0.23%
==========================================
Files 102 102
Lines 20277 20280 +3
==========================================
- Hits 13597 13553 -44
- Misses 6680 6727 +47
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
This change Haivision/srt#2683 forces us to call `srt_listen_callback` before `srt_listen`. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7628>
This change Haivision/srt#2683 forces us to call `srt_listen_callback` before `srt_listen`. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7687>
This change Haivision/srt#2683 forces us to call `srt_listen_callback` before `srt_listen`. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7688>
The conditions for
srt_listen_callback
andsrt_connect_callback
are that they can only be modified prior to listening or connecting, simultaneously they can be also set to NULL.