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

@@ -17,7 +17,7 @@ func main() {
}
defer conn.Close()
// read RTP frames
// read RTP packets
err = conn.ReadFrames(func(trackID int, streamType gortsplib.StreamType, payload []byte) {
fmt.Printf("frame from track %d, type %v, size %d\n", trackID, streamType, len(payload))
})