update doc

This commit is contained in:
aler9
2021-09-23 20:02:51 +02:00
parent 78a613a034
commit b9042282ab
13 changed files with 20 additions and 20 deletions

View File

@@ -77,7 +77,7 @@ func main() {
})
mux.SetPCRPID(256)
// read RTP frames
// read RTP packets
err = conn.ReadFrames(func(trackID int, streamType gortsplib.StreamType, payload []byte) {
if trackID != h264TrackID {
return
@@ -94,7 +94,7 @@ func main() {
return
}
// convert RTP frames into H264 NALUs
// convert RTP packets into H264 NALUs
nalus, pts, err := dec.DecodeRTP(&pkt)
if err != nil {
return