mirror of
https://github.com/cnotch/ipchub.git
synced 2025-09-26 19:41:18 +08:00
rename package->packet
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
package format
|
||||
|
||||
// Package 表示流媒体包
|
||||
type Package interface {
|
||||
// Packet 表示流媒体包
|
||||
type Packet interface {
|
||||
Size() int // 包长度
|
||||
}
|
2
media/cache/types.go
vendored
2
media/cache/types.go
vendored
@@ -7,4 +7,4 @@ package cache
|
||||
import "github.com/cnotch/ipchub/av/format"
|
||||
|
||||
// Pack .
|
||||
type Pack = format.Package
|
||||
type Pack = format.Packet
|
||||
|
@@ -14,7 +14,7 @@ import (
|
||||
)
|
||||
|
||||
// Pack .
|
||||
type Pack = format.Package
|
||||
type Pack = format.Packet
|
||||
|
||||
type packCache interface {
|
||||
CachePack(pack Pack)
|
||||
|
@@ -7,4 +7,4 @@ package flv
|
||||
import "github.com/cnotch/ipchub/av/format"
|
||||
|
||||
// Pack .
|
||||
type Pack = format.Package
|
||||
type Pack = format.Packet
|
||||
|
@@ -11,7 +11,7 @@ import (
|
||||
)
|
||||
|
||||
// Pack .
|
||||
type Pack = format.Package
|
||||
type Pack = format.Packet
|
||||
|
||||
// .
|
||||
var (
|
||||
|
Reference in New Issue
Block a user