Closed Jalle19 closed 1 year ago
That would be probably be best
Your analysis is correct. The only question is why pid 17 is getting mapped twice because mapping pid 17 should happen just with the first PMT: https://github.com/catalinii/minisatip/blob/master/src/ddci.c#L425
But yeah, let's create the SDT too. I needed SDT mapped for my CAM which would not update without it
https://github.com/Jalle19/minisatip/commit/fd97161657dae5d05e0be46f1f553b5609b45ad7
@catalinii I started implementing ddci_create_sdt()
here but I'm stuck on the CRC check in the tests. Do you think you could help me out? I'm in a bit over my head here :D
On position 0, it should be a 0. That should be followed by 0x42. See this: https://github.com/catalinii/minisatip/blob/master/src/ddci.c#L606
Closed by #1084
https://github.com/catalinii/minisatip/issues/1068#issuecomment-1465290449
Imagine the following scenario:
ddci_create_epg()
writes a virtual EIT to PID 18ddci_create_epg()
writes a virtual EIT to PID 18The end result is that PID 18 becomes a mix of an SDT and an EIT.
The best solution would be to stop mapping PID 17 and instead create a virtual SDT table, just like we do for PAT, PMT and EIT.