update examples

This commit is contained in:
aler9
2021-11-01 10:36:45 +01:00
parent a59f840d81
commit 7e978595b5
11 changed files with 15 additions and 15 deletions

View File

@@ -17,9 +17,9 @@ func main() {
}
defer conn.Close()
// read RTP packets
// read 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))
fmt.Printf("packet from track %d, type %v, size %d\n", trackID, streamType, len(payload))
})
panic(err)
}