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

[MAINT] Fixed example buildbreaks. Added examples for message mode transmission #2592

Merged
merged 1 commit into from
Dec 23, 2022

Conversation

ethouris
Copy link
Collaborator

@ethouris ethouris commented Dec 22, 2022

Changes:

  1. Fixed build breaks in the C examples. Broken in [examples] add wait 1 sec until receiver completes. #2572.
  2. Added building examples and testing (devel apps) to one of the CI builds.
  3. Added example files for simple testing the message mode.

The message mode testing can be done the following way:

  1. recvmsg hosts a listener and receives messages, then displays them one after another on the screen, or writes them to subsequent files.
  2. sendmsg reads messages each one with a single line. Optionally the line can start with + to additionally define a TTL for it. Optionally the input specification can start with + to define the input being a list of lines with filenames. Every line can also contain +N defining a TTL for this message, and the content is read from the given file. First 4 bytes of the message is an identifier, in case of direct line contents it's specified additionally, and for filenames they are ordinal numbers starting from 1.

@ethouris
Copy link
Collaborator Author

NOTE: these files for testing the message mode are necessary for a test-gate for the fix for the change in the code around message dropping. They are necessary to test how the message dropping is handled in the SRT code.

@ethouris ethouris added Type: Maintenance Work required to maintain or clean up the code [apps] Area: Test applications related improvements labels Dec 22, 2022
@maxsharabayko maxsharabayko added this to the v1.5.2 milestone Dec 23, 2022
@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior Type: Enhancement Indicates new feature requests labels Dec 23, 2022
@maxsharabayko maxsharabayko merged commit aba73de into Haivision:master Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[apps] Area: Test applications related improvements Type: Bug Indicates an unexpected problem or unintended behavior Type: Enhancement Indicates new feature requests Type: Maintenance Work required to maintain or clean up the code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants