Skip to content

Add: st40p add seq tracking, interlace auto-detect, and GST redundant support#1403

Open
moleksy wants to merge 6 commits intomainfrom
st40p_redundant_tests
Open

Add: st40p add seq tracking, interlace auto-detect, and GST redundant support#1403
moleksy wants to merge 6 commits intomainfrom
st40p_redundant_tests

Conversation

@moleksy
Copy link
Collaborator

@moleksy moleksy commented Jan 20, 2026

Add per-port and session-level RTP sequence tracking,
interlace auto-detection for ST40P RX, and redundant
GStreamer coverage for ST40 pipeline sessions.

Sequence tracking:

  • Track per-port seq discontinuity/loss in ST40 pipeline
    APIs and ancillary TX session structs
  • Implement per-port and session-level sequence tracking
    in the RTP handling path
  • Allow seq-gap test mode to keep real payloads; lift
    test packet cap; schedule per-port gap drops for
    redundant TX

Interlace auto-detection:

  • Implement interlace auto-detect for ST40P RX with
    frame_info field_num/interlaced propagation
  • Update frame-info structure and handling for sequence
    gaps ensuring accurate cadence re-learning and logging
  • Wire GST st40p RX auto-detect property; warn when
    cadence is unknown
  • Add validation harness and tests for auto-detect

GStreamer / validation:

  • Add GST redundant param helpers and redundant ST40p/i
    validation cases with frame-info checks
  • Change TX stats log level from notice to debug
  • Update interlace mismatch handling and test coverage

Documentation updated accordingly.

@moleksy moleksy force-pushed the st40p_redundant_tests branch 5 times, most recently from 29af0df to 5266578 Compare January 22, 2026 15:58
@awilczyns awilczyns force-pushed the st40p_redundant_tests branch from 5266578 to b0d84da Compare January 29, 2026 09:14
@moleksy moleksy force-pushed the st40p_redundant_tests branch 3 times, most recently from 593b058 to cd77691 Compare February 5, 2026 13:41
@moleksy moleksy force-pushed the st40p_redundant_tests branch from 8b24a03 to 92ee9b6 Compare February 11, 2026 10:07
@moleksy moleksy changed the title Add: track per-port seq gaps and add redundant GST coverage Add: st40p add seq tracking, interlace auto-detect, and GST redundant support Feb 13, 2026
  log per-port seq discontinuity/loss and session-level continuity
  in ST40 pipeline APIs and GST receiver

  allow seq-gap test mode to keep real payloads, lift test packet cap,
  and schedule per-port gap drops for redundant TX

  initialize new seq state in pipeline buffers and ancillary TX session structs

  add GST redundant param helpers and redundant ST40p/i validation cases
  with frame-info checks
…entation

  add ST40/ST40p API flag and frame_info field_num/interlaced propagation

  wire gst st40p rx auto-detect property and warn when cadence is unknown

  add validation harness + tests for auto-detect; document usage and signals
…d handling for sequence gaps, ensuring accurate cadence re-learning and logging.
… update interlace mismatch as well as test coverage description
@moleksy moleksy force-pushed the st40p_redundant_tests branch from 92ee9b6 to 5c64477 Compare February 13, 2026 10:48
@Sakoram
Copy link
Collaborator

Sakoram commented Feb 13, 2026

Why there is so many tests in test_anc_format.py‎? Usually we had tests split one per file

@moleksy
Copy link
Collaborator Author

moleksy commented Feb 13, 2026

They all share the same fixture setup (GStreamer pipeline, test vectors, and the same validation helpers). Keeping them together avoids repeating across many tiny files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants