diff --git a/examples/client-publish-aac/main.go b/examples/client-publish-aac/main.go index f434a880..e9b87fe2 100644 --- a/examples/client-publish-aac/main.go +++ b/examples/client-publish-aac/main.go @@ -52,13 +52,13 @@ func main() { buf = make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { panic(err) } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err) diff --git a/examples/client-publish-h264/main.go b/examples/client-publish-h264/main.go index 8602bc87..fdfc5468 100644 --- a/examples/client-publish-h264/main.go +++ b/examples/client-publish-h264/main.go @@ -54,13 +54,13 @@ func main() { buf := make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { panic(err) } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err) diff --git a/examples/client-publish-options/main.go b/examples/client-publish-options/main.go index 92067640..e04347c6 100644 --- a/examples/client-publish-options/main.go +++ b/examples/client-publish-options/main.go @@ -63,13 +63,13 @@ func main() { buf := make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { panic(err) } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err) diff --git a/examples/client-publish-opus/main.go b/examples/client-publish-opus/main.go index 54c59325..43482722 100644 --- a/examples/client-publish-opus/main.go +++ b/examples/client-publish-opus/main.go @@ -52,13 +52,13 @@ func main() { buf = make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { panic(err) } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err) diff --git a/examples/client-publish-pause/main.go b/examples/client-publish-pause/main.go index f781090d..9d808d83 100644 --- a/examples/client-publish-pause/main.go +++ b/examples/client-publish-pause/main.go @@ -58,13 +58,13 @@ func main() { buf := make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { break } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err) diff --git a/examples/client-publish-pcmu/main.go b/examples/client-publish-pcmu/main.go index 4a90b6ba..1c02530e 100644 --- a/examples/client-publish-pcmu/main.go +++ b/examples/client-publish-pcmu/main.go @@ -49,13 +49,13 @@ func main() { buf = make([]byte, 2048) var pkt rtp.Packet for { - // read packets from the source + // read RTP packets from the source n, _, err := pc.ReadFrom(buf) if err != nil { panic(err) } - // marshal RTP packets + // parse RTP packets err = pkt.Unmarshal(buf[:n]) if err != nil { panic(err)