mirror of
https://github.com/Monibuca/plugin-hdl.git
synced 2025-10-05 16:56:55 +08:00
修复传入WriteTimeout的单位
This commit is contained in:
4
pull.go
4
pull.go
@@ -84,9 +84,9 @@ func (puller *HDLPuller) Pull() (err error) {
|
||||
// println(t, puller.absTS)
|
||||
switch t {
|
||||
case codec.FLV_TAG_TYPE_AUDIO:
|
||||
puller.WriteAVCCAudio(puller.absTS, frame)
|
||||
puller.WriteAVCCAudio(puller.absTS, &frame)
|
||||
case codec.FLV_TAG_TYPE_VIDEO:
|
||||
puller.WriteAVCCVideo(puller.absTS, frame)
|
||||
puller.WriteAVCCVideo(puller.absTS, &frame)
|
||||
}
|
||||
}
|
||||
return
|
||||
|
Reference in New Issue
Block a user