Skip to content

Commit bd25613

Browse files
HongKuangSean-Der
authored andcommitted
Fix typos across the project
1 parent 371515b commit bd25613

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/ice-restart/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Execute `go run *.go`
1818
Open [http://localhost:8080](http://localhost:8080). This will automatically start a PeerConnection. This page will now prints stats about the PeerConnection
1919
and allow you to do an ICE Restart at anytime.
2020

21-
* `ICE Restart` is the button that causes a new offer to be made wih `iceRestart: true`.
21+
* `ICE Restart` is the button that causes a new offer to be made with `iceRestart: true`.
2222
* `ICE Connection States` will contain all the connection states the PeerConnection moves through.
2323
* `ICE Selected Pairs` will print the selected pair every 3 seconds. Note how the uFrag/uPwd/Port change everytime you start the Restart process.
2424
* `Inbound DataChannel Messages` containing the current time sent by the Pion process every 3 seconds.

examples/whip-whep/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//go:build !js
55
// +build !js
66

7-
// 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
7+
// 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
88
package main
99

1010
import (

pkg/media/rtpdump/rtpdump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (h *Header) Unmarshal(d []byte) error {
7777
// (relative to the Start of the recording in Header). The Payload may contain
7878
// truncated packets to support logging just the headers of RTP/RTCP packets.
7979
type Packet struct {
80-
// Offset is the time since the start of recording in millseconds
80+
// Offset is the time since the start of recording in milliseconds
8181
Offset time.Duration
8282
// IsRTCP is true if the payload is RTCP, false if the payload is RTP
8383
IsRTCP bool

pkg/media/samplebuilder/samplebuilder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ func TestSampleBuilder_Flush(t *testing.T) {
550550
}) // Valid packet
551551

552552
if sample := s.Pop(); sample != nil {
553-
t.Fatal("Unexpected sample is retuned. Test precondition may be broken")
553+
t.Fatal("Unexpected sample is returned. Test precondition may be broken")
554554
}
555555

556556
s.Flush()

0 commit comments

Comments
 (0)