diff --git a/pull.go b/pull.go index 281abf1..17c796d 100644 --- a/pull.go +++ b/pull.go @@ -60,12 +60,16 @@ func (puller *HDLPuller) pull() { } } +var _ IPuller = (*HDLPuller)(nil) +var _ IPuller = (*FLVFile)(nil) + type HDLPuller struct { Puller absTS uint32 //绝对时间戳 at *track.UnknowAudio vt *track.UnknowVideo } + // 用于发布FLV文件 type FLVFile struct { HDLPuller