rename package->packet

This commit is contained in:
notch
2021-01-08 13:18:30 +08:00
parent b8518fc3fd
commit 25877a2a81
5 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
package format
// Package 表示流媒体包
type Package interface {
// Packet 表示流媒体包
type Packet interface {
Size() int // 包长度
}

View File

@@ -7,4 +7,4 @@ package cache
import "github.com/cnotch/ipchub/av/format"
// Pack .
type Pack = format.Package
type Pack = format.Packet

View File

@@ -14,7 +14,7 @@ import (
)
// Pack .
type Pack = format.Package
type Pack = format.Packet
type packCache interface {
CachePack(pack Pack)

View File

@@ -7,4 +7,4 @@ package flv
import "github.com/cnotch/ipchub/av/format"
// Pack .
type Pack = format.Package
type Pack = format.Packet

View File

@@ -11,7 +11,7 @@ import (
)
// Pack .
type Pack = format.Package
type Pack = format.Packet
// .
var (