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

@@ -57,13 +57,13 @@ func main() {
buf := make([]byte, 2048)
for {
// read RTP frames from the source
// read RTP packets from the source
n, _, err := pc.ReadFrom(buf)
if err != nil {
break
}
// write RTP frames
// write RTP packets
err = conn.WriteFrame(0, gortsplib.StreamTypeRTP, buf[:n])
if err != nil {
break