diff --git a/dtlsfingerprint.go b/dtlsfingerprint.go index b0d06148..b1bf773b 100644 --- a/dtlsfingerprint.go +++ b/dtlsfingerprint.go @@ -6,7 +6,7 @@ package webrtc // DTLSFingerprint specifies the hash function algorithm and certificate // fingerprint as described in https://tools.ietf.org/html/rfc4572. type DTLSFingerprint struct { - // Algorithm specifies one of the the hash function algorithms defined in + // Algorithm specifies one of the hash function algorithms defined in // the 'Hash function Textual Names' registry. Algorithm string `json:"algorithm"` diff --git a/examples/data-channels-detach/README.md b/examples/data-channels-detach/README.md index 65b9385c..12bf8452 100644 --- a/examples/data-channels-detach/README.md +++ b/examples/data-channels-detach/README.md @@ -1,5 +1,5 @@ # data-channels-detach -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. +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. The example mirrors the data-channels example. diff --git a/examples/data-channels-detach/main.go b/examples/data-channels-detach/main.go index e6466df1..8e162451 100644 --- a/examples/data-channels-detach/main.go +++ b/examples/data-channels-detach/main.go @@ -1,7 +1,7 @@ // SPDX-FileCopyrightText: 2023 The Pion community // SPDX-License-Identifier: MIT -// 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. +// 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. package main import ( diff --git a/icecandidatetype.go b/icecandidatetype.go index e77098d5..ab17d2ba 100644 --- a/icecandidatetype.go +++ b/icecandidatetype.go @@ -23,7 +23,7 @@ const ( // ones, such as ones obtained through VPNs. ICECandidateTypeHost - // ICECandidateTypeSrflx indicates the the candidate is of Server + // ICECandidateTypeSrflx indicates the candidate is of Server // Reflexive type as described // https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A candidate type // whose IP address and port are a binding allocated by a NAT for an ICE @@ -37,7 +37,7 @@ const ( // NAT to its peer. ICECandidateTypePrflx - // ICECandidateTypeRelay indicates the the candidate is of Relay type as + // ICECandidateTypeRelay indicates the candidate is of Relay type as // described in https://tools.ietf.org/html/rfc8445#section-5.1.1.2. A // candidate type obtained from a relay server, such as a TURN server. ICECandidateTypeRelay diff --git a/pkg/media/rtpdump/rtpdump.go b/pkg/media/rtpdump/rtpdump.go index cc0b6a83..815b017a 100644 --- a/pkg/media/rtpdump/rtpdump.go +++ b/pkg/media/rtpdump/rtpdump.go @@ -81,7 +81,7 @@ type Packet struct { Offset time.Duration // IsRTCP is true if the payload is RTCP, false if the payload is RTP IsRTCP bool - // Payload is the binary RTP or or RTCP payload. The contents may not parse + // Payload is the binary RTP or RTCP payload. The contents may not parse // as a valid packet if the contents have been truncated. Payload []byte }