streaming

Media streaming and broadcast systems in Go
Log | Files | Refs | README | LICENSE

commit 72d4eb8cad89c322ca13cd7be7656f83d7ca33a2
parent a805cd1b836e6549099a0ad8c3a88af6404af9bb
Author: Oliver Lowe <o@olowe.co>
Date:   Thu, 27 Jun 2024 16:34:21 +1000

mpegts: document important constants

Users will want to know these as they could be used for jobs like
packet analysis.

Diffstat:
Mmpegts/mpegts.go | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/mpegts/mpegts.go b/mpegts/mpegts.go @@ -3,8 +3,10 @@ package mpegts import "fmt" +// PacketSize is the length of a MPEG-TS packet in bytes. const PacketSize int = 188 +// Sync is the first byte of a MPEG-TS packet. const Sync byte = 'G' type Packet struct {