修复传入WriteTimeout的单位

This commit is contained in:
dexter
2023-02-08 22:34:57 +08:00
parent 14fd31f7c0
commit a1425f7b97
5 changed files with 106 additions and 50 deletions

View File

@@ -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