streaming

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

commit ee99ace2ce39638619b8f0a4328edd2b8a6c574f
parent 62075fff1494e7d0497d6e3001df78b975fe2311
Author: Oliver Lowe <o@olowe.co>
Date:   Wed,  8 May 2024 15:56:33 +1000

internal/scte35: specify correct command types

I didn't understand iota :(

Diffstat:
Minternal/scte35/command.go | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/internal/scte35/command.go b/internal/scte35/command.go @@ -22,12 +22,12 @@ type Command struct { type CommandType uint8 const ( - SpliceNull CommandType = 0 - SpliceSchedule = 0x04 + iota - SpliceInsert - TimeSignal - BandwidthReservation - Private = 0xff + SpliceNull CommandType = 0 + SpliceSchedule = 0x04 + SpliceInsert = 0x05 + TimeSignal = 0x06 + BandwidthReservation = 0x07 + Private = 0xff ) func (t CommandType) String() string {