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

[BUG] Group socket without members always return default value of options #2887

Closed
IvanPysmenni opened this issue Feb 21, 2024 · 0 comments · Fixed by #2891
Closed

[BUG] Group socket without members always return default value of options #2887

IvanPysmenni opened this issue Feb 21, 2024 · 0 comments · Fixed by #2891
Assignees
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Milestone

Comments

@IvanPysmenni
Copy link

"Get" of socket option(for example SRTO_ENFORCEDENCRYPTION) from a group socket without members always return default value even if this option was set before
After set socket option to group socket without members(for example SRTO_ENFORCEDENCRYPTION=false).

Steps to reproduce the behavior:

  1. Call srt_create_group for create group socket
  2. Set SRTO_ENFORCEDENCRYPTION to "false"
  3. Get SRTO_ENFORCEDENCRYPTION from socket and check result

Expected behavior:
After set SRTO_ENFORCEDENCRYPTION to "false' I expect to get same value from socket but instead I got "true". Same problem applied and for other options. SRTO_ENFORCEDENCRYPTION is just an example.

OS: Ubuntu 20.04 focal (x86-64)
SRT version: 1.5.3

@IvanPysmenni IvanPysmenni added the Type: Bug Indicates an unexpected problem or unintended behavior label Feb 21, 2024
@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Feb 21, 2024
@maxsharabayko maxsharabayko added the [core] Area: Changes in SRT library core label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants