Skip to content

Commit

Permalink
change Comcast to edgeware
Browse files Browse the repository at this point in the history
  • Loading branch information
tobbee committed Jan 22, 2024
1 parent 11cc503 commit 3225867
Show file tree
Hide file tree
Showing 34 changed files with 132 additions and 112 deletions.
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/edgeware/gots/v2.svg)](https://pkg.go.dev/github.com/edgeware/gots/v2)
[![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/edgeware/gots/v2/ebp"
"github.com/edgeware/gots/v2/packet"
"github.com/edgeware/gots/v2/packet/adaptationfield"
"github.com/edgeware/gots/v2/psi"
"github.com/edgeware/gots/v2/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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// EBP tags
Expand Down
4 changes: 2 additions & 2 deletions ebp/ebp_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright 2016 Comcast Cable Communications Management, LLC
# Copyright 2016 Comcast Cable Communications Management, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -27,7 +27,7 @@ import (
"testing"
"time"

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

var CableLabsEBPBytes = []byte{
Expand Down
2 changes: 1 addition & 1 deletion 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/edgeware/gots/v2

go 1.18
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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/packet"
)

// Length returns the length of the adaptation field in bytes
Expand Down
13 changes: 7 additions & 6 deletions 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/edgeware/gots/v2"
)

var (
Expand Down Expand Up @@ -74,11 +74,12 @@ var (

// Example usage
// pkt, _ = SetCC(
// Create(pid,
// WithHasPayloadFlag,
// WithContinuousAF,
// WithPUSI),
// cc)
//
// Create(pid,
// WithHasPayloadFlag,
// WithContinuousAF,
// WithPUSI),
// cc)
func Create(pid int, options ...func(*Packet)) *Packet {
var pkt Packet
setPid(&pkt, pid)
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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2/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/edgeware/gots/v2"
)

// stream_id possibilities
Expand Down
4 changes: 2 additions & 2 deletions pes/pesheader_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright 2016 Comcast Cable Communications Management, LLC
# Copyright 2016 Comcast Cable Communications Management, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -27,7 +27,7 @@ import (
"encoding/hex"
"testing"

"github.com/Comcast/gots/v2/packet"
"github.com/edgeware/gots/v2/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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/packet"
)

const (
Expand Down
8 changes: 5 additions & 3 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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/packet"
)

const PidNotFound int = 1<<16 - 1
Expand Down Expand Up @@ -277,7 +277,9 @@ func CanBuildPMT(payload []byte, sectionLength uint16) bool {

// FilterPMTPacketsToPids filters the PMT contents of the provided packet to the PIDs provided and returns a new packet(s).
// For example: if the provided PMT has PIDs 101, 102, and 103 and the provided PIDs are 101 and 102,
// the new PMT will have only descriptors for PID 101 and 102. The descriptor for PID 103 will be stripped from the new PMT packet.
//
// the new PMT will have only descriptors for PID 101 and 102. The descriptor for PID 103 will be stripped from the new PMT packet.
//
// Returns packets and nil error if all pids are present in the PMT.
// Returns packets and non-nil error if some pids are present in the PMT.
// Returns nil packets and non-nil error if none of the pids are present in the PMT.
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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// SetUPIDType will set the type of the UPID
Expand Down
21 changes: 11 additions & 10 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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/psi"
)

// SpliceCommandType is a type used to describe the types of splice commands.
Expand Down Expand Up @@ -482,14 +482,15 @@ type SegmentationDescriptor interface {
// example code is below.
// s := scte35.NewState()
// scte,_ := scte.ParseSCTE35(bytes)
// for _,d := range(scte.Descriptors()) {
// closed = s.ProcessDescriptor(d)
// ...handle closed signals appropriately here
// if d.HasDuration() {
// time.AfterFunc(d.Duration() + someFudgeDelta,
// func() { closed = s.Close(d) })
// }
// }
//
// for _,d := range(scte.Descriptors()) {
// closed = s.ProcessDescriptor(d)
// ...handle closed signals appropriately here
// if d.HasDuration() {
// time.AfterFunc(d.Duration() + someFudgeDelta,
// func() { closed = s.Close(d) })
// }
// }
type State interface {
// Open returns a list of open signals
Open() []SegmentationDescriptor
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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/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/edgeware/gots/v2"
"github.com/edgeware/gots/v2/psi"
)

// Descriptor tag types and identifiers - only segmentation descriptors are used for now
Expand Down
4 changes: 2 additions & 2 deletions scte35/scte35_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
MIT License
Copyright 2016 Comcast Cable Communications Management, LLC
# Copyright 2016 Comcast Cable Communications Management, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down Expand Up @@ -30,7 +30,7 @@ import (
"strings"
"testing"

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

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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// 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/edgeware/gots/v2"
)

// 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 @@ -25,7 +25,7 @@ SOFTWARE.
package scte35

import (
"github.com/Comcast/gots/v2"
"github.com/edgeware/gots/v2"
"strings"
)

Expand Down
Loading

0 comments on commit 3225867

Please sign in to comment.