mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-05 08:47:00 +08:00
增加接口约束
This commit is contained in:
4
pull.go
4
pull.go
@@ -60,12 +60,16 @@ func (puller *HDLPuller) pull() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ IPuller = (*HDLPuller)(nil)
|
||||||
|
var _ IPuller = (*FLVFile)(nil)
|
||||||
|
|
||||||
type HDLPuller struct {
|
type HDLPuller struct {
|
||||||
Puller
|
Puller
|
||||||
absTS uint32 //绝对时间戳
|
absTS uint32 //绝对时间戳
|
||||||
at *track.UnknowAudio
|
at *track.UnknowAudio
|
||||||
vt *track.UnknowVideo
|
vt *track.UnknowVideo
|
||||||
}
|
}
|
||||||
|
|
||||||
// 用于发布FLV文件
|
// 用于发布FLV文件
|
||||||
type FLVFile struct {
|
type FLVFile struct {
|
||||||
HDLPuller
|
HDLPuller
|
||||||
|
Reference in New Issue
Block a user