Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.14.x, 1.15.x, 1.16.x, 1.17.x, 1.18.x, 1.19.x]
go-version: [1.24.x, 1.25.x, 1.26.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Go Reference](https://pkg.go.dev/badge/github.com/Comcast/gots/v2.svg)](https://pkg.go.dev/github.com/Comcast/gots/v2)
[![Go Reference](https://pkg.go.dev/badge/github.com/Comcast/gots/v3.svg)](https://pkg.go.dev/github.com/Comcast/gots/v3)
[![Build Status](https://travis-ci.org/Comcast/gots.svg?branch=master)](https://travis-ci.org/Comcast/gots)
[![Go Report Card](https://goreportcard.com/badge/github.com/Comcast/gots)](https://goreportcard.com/report/github.com/Comcast/gots)
[![Coverage Status](https://coveralls.io/repos/github/Comcast/gots/badge.svg?branch=master)](https://coveralls.io/github/Comcast/gots?branch=master)
Expand Down
10 changes: 5 additions & 5 deletions cli/parsefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ import (
"io"
"os"

"github.com/Comcast/gots/v2/ebp"
"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v2/packet/adaptationfield"
"github.com/Comcast/gots/v2/psi"
"github.com/Comcast/gots/v2/scte35"
"github.com/Comcast/gots/v3/ebp"
"github.com/Comcast/gots/v3/packet"
"github.com/Comcast/gots/v3/packet/adaptationfield"
"github.com/Comcast/gots/v3/psi"
"github.com/Comcast/gots/v3/scte35"
)

// main parses a ts file that is provided with the -f flag
Expand Down
2 changes: 1 addition & 1 deletion ebp/cablelabsebp.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"encoding/binary"
"time"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// cableLabsEbp is an encoder boundary point
Expand Down
2 changes: 1 addition & 1 deletion ebp/comcastebp.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"encoding/binary"
"time"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// cableLabsEbp is an encoder boundary point
Expand Down
2 changes: 1 addition & 1 deletion ebp/ebp.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"encoding/binary"
"time"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// EBP tags
Expand Down
2 changes: 1 addition & 1 deletion ebp/ebp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"testing"
"time"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

var CableLabsEBPBytes = []byte{
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/Comcast/gots/v2
module github.com/Comcast/gots/v3

go 1.18
go 1.26
2 changes: 1 addition & 1 deletion packet/accumulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package packet
import (
"bytes"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// Iotas to track the state of the accumulator
Expand Down
2 changes: 1 addition & 1 deletion packet/accumulator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"encoding/hex"
"testing"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// PacketAccumulator is not thread safe
Expand Down
2 changes: 1 addition & 1 deletion packet/adaptationfield.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package packet

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions packet/adaptationfield/adaptationfield.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package adaptationfield

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/packet"
)

// Length returns the length of the adaptation field in bytes
Expand Down
2 changes: 1 addition & 1 deletion packet/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package packet

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion packet/io.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"encoding/binary"
"io"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// Peeker wraps the Peek method.
Expand Down
2 changes: 1 addition & 1 deletion packet/modify.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package packet

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// flags that are reserved and should not be used.
Expand Down
2 changes: 1 addition & 1 deletion packet/packet.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package packet

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion packet/packetwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package packet
import (
"io"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// PacketWriter is subject to all rules governing implementations of io.Writer
Expand Down
2 changes: 1 addition & 1 deletion pes/pes.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ SOFTWARE.

package pes

import "github.com/Comcast/gots/v2/packet"
import "github.com/Comcast/gots/v3/packet"

// AlignedPUSI checks for a PUSI with aligned flag set and returns a bool
// indicating a match when true, as well as the bytes for the PES data
Expand Down
2 changes: 1 addition & 1 deletion pes/pesheader.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"errors"
"fmt"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// stream_id possibilities
Expand Down
2 changes: 1 addition & 1 deletion pes/pesheader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"encoding/hex"
"testing"

"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v3/packet"
)

func parseHexString(h string) *packet.Packet {
Expand Down
4 changes: 2 additions & 2 deletions psi/pat.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
"errors"
"io"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/packet"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions psi/pmt.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"fmt"
"io"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/packet"
)

const PidNotFound int = 1<<16 - 1
Expand Down
4 changes: 2 additions & 2 deletions psi/pmt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ import (
"fmt"
"testing"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/packet"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/packet"
)

func parseHexString(h string) *packet.Packet {
Expand Down
2 changes: 1 addition & 1 deletion psi/psi.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package psi

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// TableHeader struct represents operations available on all PSI
Expand Down
2 changes: 1 addition & 1 deletion scte35/descriptormodify.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package scte35

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// SetUPIDType will set the type of the UPID
Expand Down
4 changes: 2 additions & 2 deletions scte35/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ SOFTWARE.
package scte35

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/psi"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/psi"
)

// SpliceCommandType is a type used to describe the types of splice commands.
Expand Down
4 changes: 2 additions & 2 deletions scte35/modify.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ SOFTWARE.
package scte35

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/psi"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/psi"
)

// CreateSCTE35 creates a default SCTE35 message and returns it.
Expand Down
4 changes: 2 additions & 2 deletions scte35/modify_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ package scte35

import (
"bytes"
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/psi"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/psi"
"testing"
)

Expand Down
4 changes: 2 additions & 2 deletions scte35/scte35.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"encoding/binary"
"fmt"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v2/psi"
"github.com/Comcast/gots/v3"
"github.com/Comcast/gots/v3/psi"
)

// Descriptor tag types and identifiers - only segmentation descriptors are used for now
Expand Down
2 changes: 1 addition & 1 deletion scte35/scte35_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (
"strings"
"testing"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

var testScte = []byte{
Expand Down
2 changes: 1 addition & 1 deletion scte35/segmentationdescriptor.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"encoding/binary"
"strings"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// upidSt is the struct used for creating a Multiple UPID (MID)
Expand Down
2 changes: 1 addition & 1 deletion scte35/splicecommand.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"bytes"
"encoding/binary"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// timeSignal is a struct that represents a time signal splice command in SCTE35
Expand Down
2 changes: 1 addition & 1 deletion scte35/splicecommandmodify.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
package scte35

import (
"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// CreateSpliceInsertCommand will create a default SpliceInsertCommand.
Expand Down
2 changes: 1 addition & 1 deletion scte35/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package scte35
import (
"strings"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

const receivedRingLen = 10
Expand Down
2 changes: 1 addition & 1 deletion scte35/state_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"fmt"
"testing"

"github.com/Comcast/gots/v2"
"github.com/Comcast/gots/v3"
)

// All signal data generated with scte_creator: https://github.comcast.com/mniebu200/scte_creator
Expand Down
Loading