Skip to content

added new Request REQ_DISABLE_PID_FILTER#77

Open
rga-medix wants to merge 1 commit intosignalwareltd:masterfrom
rga-medix:reqdisablepidfilter
Open

added new Request REQ_DISABLE_PID_FILTER#77
rga-medix wants to merge 1 commit intosignalwareltd:masterfrom
rga-medix:reqdisablepidfilter

Conversation

@rga-medix
Copy link
Copy Markdown

@rga-medix rga-medix commented Apr 29, 2026

Current workflow is:

  • Connect to control and transfer sockets
  • REQ_TUNE (req=2)
  • REQ_GET_STATUS (req=3) polling, till Lock is confirmed
  • REQ_SET_PIDS (req=4) with all PIDs (must be known beforehand from somewhere..) to be able to parse PMT
  • REQ_SET_PIDS (req=4) use obtained PMT data to move from some sort of MPTS to some sort of SPTS
  • read the modified stream from transfer socket

issue: this only works if the PIDs are known. To parse PMT data we need passFullTsStream to be trueotherwise reset() in DvbDemux would always filter to PID 0. Setting passFullTsStream was not exposed as a Request, only active in debug view of the project.

I have added a new Request named REQ_DISABLE_PID_FILTER at the end of the enum to keep the existing Ordinal numbering stable.

Now we can use this workflow:

  • Connect to control and transfer sockets
  • REQ_DISABLE_PID_FILTER (req=6) to allow full MPTS
  • REQ_TUNE (req=2)
  • REQ_GET_STATUS (req=3) polling, till Lock is confirmed
  • parse PMT data from the MPTS stream
  • REQ_SET_PIDS (req=4) use obtained PMT data to move from real MPTS to some sort of SPTS
  • read the modified stream from transfer socket

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.

1 participant