diff --git a/examples/ice-restart/README.md b/examples/ice-restart/README.md index fbde17a1235..3898d5b1479 100644 --- a/examples/ice-restart/README.md +++ b/examples/ice-restart/README.md @@ -18,7 +18,7 @@ Execute `go run *.go` Open [http://localhost:8080](http://localhost:8080). This will automatically start a PeerConnection. This page will now prints stats about the PeerConnection and allow you to do an ICE Restart at anytime. -* `ICE Restart` is the button that causes a new offer to be made wih `iceRestart: true`. +* `ICE Restart` is the button that causes a new offer to be made with `iceRestart: true`. * `ICE Connection States` will contain all the connection states the PeerConnection moves through. * `ICE Selected Pairs` will print the selected pair every 3 seconds. Note how the uFrag/uPwd/Port change everytime you start the Restart process. * `Inbound DataChannel Messages` containing the current time sent by the Pion process every 3 seconds. diff --git a/examples/whip-whep/main.go b/examples/whip-whep/main.go index 7f47a763532..b2cc83a591f 100644 --- a/examples/whip-whep/main.go +++ b/examples/whip-whep/main.go @@ -4,7 +4,7 @@ //go:build !js // +build !js -// whip-whep demonstrates how to use the WHIP/WHEP specifications to exhange SPD descriptions and stream media to a WebRTC client in the browser or OBS +// whip-whep demonstrates how to use the WHIP/WHEP specifications to exchange SPD descriptions and stream media to a WebRTC client in the browser or OBS package main import ( diff --git a/pkg/media/rtpdump/rtpdump.go b/pkg/media/rtpdump/rtpdump.go index 815b017a86d..e9361b01348 100644 --- a/pkg/media/rtpdump/rtpdump.go +++ b/pkg/media/rtpdump/rtpdump.go @@ -77,7 +77,7 @@ func (h *Header) Unmarshal(d []byte) error { // (relative to the Start of the recording in Header). The Payload may contain // truncated packets to support logging just the headers of RTP/RTCP packets. type Packet struct { - // Offset is the time since the start of recording in millseconds + // Offset is the time since the start of recording in milliseconds Offset time.Duration // IsRTCP is true if the payload is RTCP, false if the payload is RTP IsRTCP bool diff --git a/pkg/media/samplebuilder/samplebuilder_test.go b/pkg/media/samplebuilder/samplebuilder_test.go index 2d5a8fa17f3..3f888c79ec0 100644 --- a/pkg/media/samplebuilder/samplebuilder_test.go +++ b/pkg/media/samplebuilder/samplebuilder_test.go @@ -550,7 +550,7 @@ func TestSampleBuilder_Flush(t *testing.T) { }) // Valid packet if sample := s.Pop(); sample != nil { - t.Fatal("Unexpected sample is retuned. Test precondition may be broken") + t.Fatal("Unexpected sample is returned. Test precondition may be broken") } s.Flush()