fix audio

This commit is contained in:
Andrey Semochkin
2021-01-09 17:24:48 +03:00
parent 33b07c6a20
commit f16439f7ef
4 changed files with 51 additions and 16 deletions

View File

@@ -238,6 +238,7 @@ type Packet struct {
Idx int8 // stream index in container format
CompositionTime time.Duration // packet presentation time minus decode time for H264 B-Frame
Time time.Duration // packet decode time
Duration time.Duration //packet duration
Data []byte // packet data
}