From ba99421e74dae38efc9992809c547c95a9fb2df8 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 18 Mar 2022 16:55:19 +0100 Subject: [PATCH] update docs --- examples/client-publish-aac/main.go | 4 ++-- examples/client-publish-h264/main.go | 4 ++-- examples/client-publish-options/main.go | 4 ++-- examples/client-publish-opus/main.go | 4 ++-- examples/client-publish-pause/main.go | 4 ++-- examples/client-publish-pcmu/main.go | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) 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)