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

Moved socket group code to separate files #1483

Merged

Conversation

maxsharabayko
Copy link
Collaborator

@maxsharabayko maxsharabayko commented Aug 17, 2020

To split the logic of an individual SRT socket and a group of sockets the group-related code is moved to group.h and group.cpp.

  • CUDTGroup class moved to group.h and group.cpp
  • PacketMetric is moved to common.h
  • static bool getOptDefault(..) and related templates are moved to group.cpp
  • cast_optval<..> are moved to core.h and made inline
  • SRT_DEF_VERSION marked as extern to use it in group.cpp.

Fixes #1258

@maxsharabayko maxsharabayko added Type: Maintenance Work required to maintain or clean up the code [core] Area: Changes in SRT library core labels Aug 17, 2020
@maxsharabayko maxsharabayko added this to the v1.5.0 - Sprint 21 milestone Aug 17, 2020
@maxsharabayko maxsharabayko requested a review from ethouris August 17, 2020 16:20
@maxsharabayko maxsharabayko self-assigned this Aug 17, 2020
@maxsharabayko maxsharabayko marked this pull request as draft August 17, 2020 16:27
@maxsharabayko maxsharabayko marked this pull request as ready for review August 18, 2020 07:39
@maxsharabayko maxsharabayko modified the milestones: v1.5.0 - Sprint 21, v1.5.0 - Sprint 22 Aug 25, 2020
@maxsharabayko maxsharabayko force-pushed the develop/split-socket-group branch from d907ab6 to 99db85e Compare August 27, 2020 10:23
@maxsharabayko maxsharabayko force-pushed the develop/split-socket-group branch from 99db85e to 50a93e7 Compare August 27, 2020 10:23
@maxsharabayko maxsharabayko merged commit 6309f3e into Haivision:master Aug 27, 2020
@maxsharabayko maxsharabayko deleted the develop/split-socket-group branch August 27, 2020 14:00
@mbakholdina mbakholdina modified the milestones: v1.5.0 - Sprint 22, v1.4.2 Oct 14, 2020
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: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MAINTAIN] Move socket group code to a separate source file
3 participants