Skip to content

Commit 94ac779

Browse files
pengqisevenSean-Der
authored andcommitted
Fix gramatical errors in comments
Removes repetitive words
1 parent fda6c4f commit 94ac779

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

dtlsfingerprint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ package webrtc
66
// DTLSFingerprint specifies the hash function algorithm and certificate
77
// fingerprint as described in https://tools.ietf.org/html/rfc4572.
88
type DTLSFingerprint struct {
9-
// Algorithm specifies one of the the hash function algorithms defined in
9+
// Algorithm specifies one of the hash function algorithms defined in
1010
// the 'Hash function Textual Names' registry.
1111
Algorithm string `json:"algorithm"`
1212

examples/data-channels-detach/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# data-channels-detach
2-
data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
2+
data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
33

44
The example mirrors the data-channels example.
55

examples/data-channels-detach/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
22
// SPDX-License-Identifier: MIT
33

4-
// data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
4+
// data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
55
package main
66

77
import (

icecandidatetype.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323
// ones, such as ones obtained through VPNs.
2424
ICECandidateTypeHost
2525

26-
// ICECandidateTypeSrflx indicates the the candidate is of Server
26+
// ICECandidateTypeSrflx indicates the candidate is of Server
2727
// Reflexive type as described
2828
// https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A candidate type
2929
// whose IP address and port are a binding allocated by a NAT for an ICE
@@ -37,7 +37,7 @@ const (
3737
// NAT to its peer.
3838
ICECandidateTypePrflx
3939

40-
// ICECandidateTypeRelay indicates the the candidate is of Relay type as
40+
// ICECandidateTypeRelay indicates the candidate is of Relay type as
4141
// described in https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A
4242
// candidate type obtained from a relay server, such as a TURN server.
4343
ICECandidateTypeRelay

pkg/media/rtpdump/rtpdump.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ type Packet struct {
8181
Offset time.Duration
8282
// IsRTCP is true if the payload is RTCP, false if the payload is RTP
8383
IsRTCP bool
84-
// Payload is the binary RTP or or RTCP payload. The contents may not parse
84+
// Payload is the binary RTP or RTCP payload. The contents may not parse
8585
// as a valid packet if the contents have been truncated.
8686
Payload []byte
8787
}

0 commit comments

Comments
 (0)