Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
155 stars 32 forks source link

Internal pid filtering for STREAM input #168

Closed lars18th closed 2 years ago

lars18th commented 2 years ago

Implementation of the internal pid filtering for the STREAM input. Now the writing of the packets isn't packed. Therefore if some (but not all) packets are filtered, then the writed buffer is less than the common 7 TS packets. This strategy isn't optimal but it works without errors.

lars18th commented 2 years ago

Hi @Barracuda09 ,

This is my first implementation for the STREAM input. Is not optimal because it flush all incomplete packets. However, it's fully functional. Futhermore, it illustrates the changes required to port this functionality to other devices. I'll try next for (FILE) TS Reader. And I'll optimize them after. You agree to merge it?

lars18th commented 2 years ago

Hi @Barracuda09 ,

Thank you for merging it. And I agree with your changes. However, I'll provide more refactorings. Please remain on hold. 😉