-
Notifications
You must be signed in to change notification settings - Fork 14
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 RDMA support in sample apps #241
Conversation
9b4bb04
to
c0b6bb6
Compare
Commit a4f5e3d ("Refactor MCM Data Plane SDK API + upgrade FFmpeg plugins and sample apps (OpenVisualCloud#213)") introduced a new MCM SDK API but occassionally removed RDMA support from sample apps. Add support of RDMA in sample apps with the new API. Fixes: a4f5e3d ("Refactor MCM Data Plane SDK API + upgrade FFmpeg plugins and sample apps (OpenVisualCloud#213)") Signed-off-by: Konstantin Ilichev <konstantin.ilichev@intel.com> Change-type: DefectResolution
c0b6bb6
to
dffddf8
Compare
Signed-off-by: Kasiewicz, Marek <marek.kasiewicz@intel.com>
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.
I see some imperfections in the design as we are forced to create a big if statement to switch between payload types and set exactly the same fields (ip and ports) in almost identical structures.
I guess it should be done differently for example with some inheritance ( translated into C: placing common structure at the front of the specific structure) then we could set common parameters ones, and branch only to do things that are different.
Anyway, the code works. The design improvements can be done in the future.
Yeah, it will be reworked shortly since we've already planned to move to the JSON-based configuration. |
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.
LGTM
This pull request includes the following commits: