If you intend to embed user data in a transport stream, the easiest solution is to find it in a PID that does not overlap with any of the existing PIDs in the stream — where you don’t have to worry about setting up a continuity counter for the source stream packets following the dots insertion.
, PID TS, - TS PID.