@@ -252,6 +252,12 @@ that each track contains only:
252252* All packets whose PID is listed in the Program Map Table of the selected
253253 program, including the PCR_PID and the PIDs of all elementary streams.
254254
255+ Removing null packets changes the inter-packet byte spacing that
256+ constant-bit-rate receivers use to recover the mux clock. A subscriber
257+ wishing to reconstruct a constant-bit-rate output stream cannot derive the
258+ original rate from the stream alone; publishers that remove null packets
259+ SHOULD declare the source mux rate using `m2tsMuxRate` ({{m2ts-mux-rate}}).
260+
255261These rules apply to unscrambled transport stream sources. Publishers filtering
256262scrambled transport streams MUST also retain the conditional access packets
257263required for descrambling; conditional access integration is application-specific
@@ -325,6 +331,7 @@ Table 1 lists the m2ts-specific fields defined within a track object.
325331| M2TS PMT PID | m2tsPmtPid | {{m2ts-pmt-pid}} |
326332| M2TS PCR PID | m2tsPcrPid | {{m2ts-pcr-pid}} |
327333| M2TS PSI interval | m2tsPsiInterval | {{m2ts-psi-interval}} |
334+ | M2TS mux rate | m2tsMuxRate | {{m2ts-mux-rate}} |
328335| M2TS random access | m2tsRandomAccess | {{m2ts-random-access}} |
329336| M2TS timestamp mode | m2tsTimestampMode | {{m2ts-timestamp-mode}} |
330337| M2TS SCTE-35 PID | m2tsScte35Pid | {{m2ts-scte35-pid}} |
@@ -387,6 +394,15 @@ does not control PSI injection; when present, this field describes the source
387394multiplex PSI repetition rate and is advisory only. Subscribers MAY use this
388395value to estimate join latency in both modes.
389396
397+ # # M2TS Mux Rate {#m2ts-mux-rate}
398+
399+ Required : Optional JSON Type: Number Location: Track Object
400+
401+ The nominal source mux rate of the transport stream in bits per second.
402+ This field is advisory. A subscriber reconstructing a constant-bit-rate
403+ output stream MAY use this value to restore the original mux rate when null
404+ packets have been removed.
405+
390406# # M2TS Random Access {#m2ts-random-access}
391407
392408Required : Optional JSON Type: Boolean Location: Track Object
0 commit comments