test hls ll
This commit is contained in:
23
format/fmp4/fragment/fragment.go
Normal file
23
format/fmp4/fragment/fragment.go
Normal file
@@ -0,0 +1,23 @@
|
||||
package fragment
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/deepch/vdk/av"
|
||||
)
|
||||
|
||||
type Fragment struct {
|
||||
Bytes []byte
|
||||
Length int
|
||||
Independent bool
|
||||
Duration time.Duration
|
||||
}
|
||||
|
||||
type Fragmenter interface {
|
||||
av.PacketWriter
|
||||
Fragment() (Fragment, error)
|
||||
Duration() time.Duration
|
||||
TimeScale() uint32
|
||||
MovieHeader() (filename, contentType string, contents []byte)
|
||||
NewSegment()
|
||||
}
|
||||
Reference in New Issue
Block a user