Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commit reliability on client after receiving ACK #227

Merged
merged 1 commit into from
Aug 16, 2024

Conversation

boks1971
Copy link
Contributor

From RFC 8832
https://www.rfc-editor.org/rfc/rfc8832.html#name-procedures, messages should be ordered till dialing/opening side receives ACK.

After the DATA_CHANNEL_OPEN message has been sent,
the sender of that message MAY start sending messages
containing user data without waiting for the reception
of the corresponding DATA_CHANNEL_ACK message. However,
before the DATA_CHANNEL_ACK message or any other message
has been received on a data channel, all other messages
containing user data and belonging to this data channel
MUST be sent ordered, no matter whether the data channel
is ordered or not. After the DATA_CHANNEL_ACK or any
other message has been received on the data channel,
messages containing user data MUST be sent ordered on
ordered data channels and MUST be sent unordered on
unordered data channels. Therefore, receiving a message
containing user data on an unused stream indicates an error.
In that case, the corresponding data channel MUST be closed,
as described in [RFC8831].

Without waiting, the data channel open failed on Accept side as the first message did not have PPI of DCEP. It got a user message and that caused the Accept to fail.

Description

Reference issue

Fixes #...

From RFC 8832
https://www.rfc-editor.org/rfc/rfc8832.html#name-procedures, messages
should be ordered till dialing/opening side receives ACK.

```
After the DATA_CHANNEL_OPEN message has been sent,
the sender of that message MAY start sending messages
containing user data without waiting for the reception
of the corresponding DATA_CHANNEL_ACK message. However,
before the DATA_CHANNEL_ACK message or any other message
has been received on a data channel, all other messages
containing user data and belonging to this data channel
MUST be sent ordered, no matter whether the data channel
is ordered or not. After the DATA_CHANNEL_ACK or any
other message has been received on the data channel,
messages containing user data MUST be sent ordered on
ordered data channels and MUST be sent unordered on
unordered data channels. Therefore, receiving a message
containing user data on an unused stream indicates an error.
In that case, the corresponding data channel MUST be closed,
as described in [RFC8831].
```

Without waiting, the data channel open failed on Accept side as the
first message did not have PPI of DCEP. It got a user message
and that caused the Accept to fail.
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes missing coverage. Please review.

Project coverage is 67.66%. Comparing base (0ac5cf6) to head (769b573).
Report is 1 commits behind head on master.

Files Patch % Lines
datachannel.go 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #227      +/-   ##
==========================================
- Coverage   67.79%   67.66%   -0.13%     
==========================================
  Files           4        4              
  Lines         267      266       -1     
==========================================
- Hits          181      180       -1     
  Misses         61       61              
  Partials       25       25              
Flag Coverage Δ
go 67.66% <33.33%> (?)
wasm 67.66% <33.33%> (-0.13%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sean-Der
Copy link
Member

Thank you @boks1971 !

wanna tag and put in /v3 and /v4 I believe we have an open issue because of this.

You can override the CI failure. I’m not sure why it started falling yesterday will fix today

@boks1971
Copy link
Contributor Author

Thank you @boks1971 !

wanna tag and put in /v3 and /v4 I believe we have an open issue because of this.

You can override the CI failure. I’m not sure why it started falling yesterday will fix today

Can do that @Sean-Der . But, GH is not allowing me to override (greyed out button). Lint is failing on deps.

@Sean-Der Sean-Der merged commit d31efd0 into master Aug 16, 2024
13 of 15 checks passed
@Sean-Der Sean-Der deleted the raja_client_commit branch August 16, 2024 12:59
@boks1971
Copy link
Contributor Author

@Sean-Der Renovate PR updated the tag (I created v1.5.9 with this change) in master of pion/webrtc.

I am trying to update /v3 and getting the following

% go get -u github.com/pion/datachannel
go: upgraded github.com/pion/datachannel v1.5.8 => v1.5.9
go: upgraded github.com/pion/sctp v1.8.19 => v1.8.33
raja@Rajas-MacBook-Pro webrtc % go mod tidy
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/examples/trickle-ice imports
	golang.org/x/net/websocket loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2/pkg/crypto/elliptic imports
	golang.org/x/crypto/curve25519 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy imports
	golang.org/x/net/internal/socks loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/dtls/v2/pkg/protocol/extension imports
	golang.org/x/crypto/cryptobyte loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/transport/v2/udp imports
	golang.org/x/net/ipv6 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 tested by
	github.com/pion/dtls/v2.test imports
	golang.org/x/net/nettest loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2/pkg/crypto/elliptic imports
	golang.org/x/crypto/curve25519 imports
	golang.org/x/crypto/curve25519/internal/field loaded from golang.org/x/[email protected],
	but go 1.16 would fail to locate it in golang.org/x/[email protected]
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	github.com/pion/mdns imports
	golang.org/x/net/dns/dnsmessage loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/bpf loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/internal/iana loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/internal/socket loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/sys/unix loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/sys/windows loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/srtp/v2 imports
	github.com/pion/transport/v2/utils/xor imports
	golang.org/x/sys/cpu loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy tested by
	golang.org/x/net/proxy.test imports
	golang.org/x/net/internal/sockstest loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/dtls/v2/pkg/protocol/extension imports
	golang.org/x/crypto/cryptobyte imports
	golang.org/x/crypto/cryptobyte/asn1 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 tested by
	golang.org/x/net/ipv4.test imports
	golang.org/x/net/icmp loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/net/html loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/charmap loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/transform loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/net/html imports
	golang.org/x/net/html/atom loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding imports
	golang.org/x/text/encoding/internal/identifier loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/charmap imports
	golang.org/x/text/encoding/internal loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/japanese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/korean loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/simplifiedchinese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/traditionalchinese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode imports
	golang.org/x/text/internal/utf8internal loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode imports
	golang.org/x/text/runes loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language/compact loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language imports
	golang.org/x/text/internal/tag loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0

To upgrade to the versions selected by go 1.16, leaving some packages unresolved:
	go mod tidy -e -go=1.16 && go mod tidy -e -go=1.17
If reproducibility with go 1.16 is not needed:
	go mod tidy -compat=1.17
For other options, see:
	https://golang.org/doc/modules/pruning
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/examples/trickle-ice imports
	golang.org/x/net/websocket loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2/pkg/crypto/elliptic imports
	golang.org/x/crypto/curve25519 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy imports
	golang.org/x/net/internal/socks loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/dtls/v2/pkg/protocol/extension imports
	golang.org/x/crypto/cryptobyte loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/transport/v2/udp imports
	golang.org/x/net/ipv6 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 tested by
	github.com/pion/dtls/v2.test imports
	golang.org/x/net/nettest loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2/pkg/crypto/elliptic imports
	golang.org/x/crypto/curve25519 imports
	golang.org/x/crypto/curve25519/internal/field loaded from golang.org/x/[email protected],
	but go 1.16 would fail to locate it in golang.org/x/[email protected]
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	github.com/pion/mdns imports
	golang.org/x/net/dns/dnsmessage loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/bpf loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/internal/iana loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/net/internal/socket loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/sys/unix loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 imports
	golang.org/x/sys/windows loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/srtp/v2 imports
	github.com/pion/transport/v2/utils/xor imports
	golang.org/x/sys/cpu loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.22.0
go: github.com/pion/webrtc/v3 imports
	golang.org/x/net/proxy tested by
	golang.org/x/net/proxy.test imports
	golang.org/x/net/internal/sockstest loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/dtls/v2 imports
	github.com/pion/dtls/v2/pkg/protocol/extension imports
	golang.org/x/crypto/cryptobyte imports
	golang.org/x/crypto/cryptobyte/asn1 loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.25.0
go: github.com/pion/webrtc/v3 imports
	github.com/pion/ice/v2 imports
	golang.org/x/net/ipv4 tested by
	golang.org/x/net/ipv4.test imports
	golang.org/x/net/icmp loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/net/html loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/charmap loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/transform loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/net/html imports
	golang.org/x/net/html/atom loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.27.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding imports
	golang.org/x/text/encoding/internal/identifier loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/charmap imports
	golang.org/x/text/encoding/internal loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/japanese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/korean loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/simplifiedchinese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/traditionalchinese loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode imports
	golang.org/x/text/internal/utf8internal loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/encoding/unicode imports
	golang.org/x/text/runes loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language/compact loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0
go: github.com/pion/webrtc/v3/e2e tested by
	github.com/pion/webrtc/v3/e2e.test imports
	github.com/sclevine/agouti tested by
	github.com/sclevine/agouti.test imports
	github.com/onsi/gomega imports
	github.com/onsi/gomega/matchers imports
	golang.org/x/net/html/charset imports
	golang.org/x/text/encoding/htmlindex imports
	golang.org/x/text/language imports
	golang.org/x/text/internal/language imports
	golang.org/x/text/internal/tag loaded from golang.org/x/[email protected],
	but go 1.16 would select v0.16.0

Can you advise what we should do here?

@boks1971
Copy link
Contributor Author

Tests do work though although go mod tidy output the ☝️ . go.sum has both new and old versions of datachannel and sctp. It does not get tidied up. The diff looks like this

 % git diff
diff --git a/go.mod b/go.mod
index 91dc415..80f2d42 100644
--- a/go.mod
+++ b/go.mod
@@ -3,7 +3,7 @@ module github.com/pion/webrtc/v3
 go 1.17
 
 require (
-       github.com/pion/datachannel v1.5.8
+       github.com/pion/datachannel v1.5.9
        github.com/pion/dtls/v2 v2.2.12
        github.com/pion/ice/v2 v2.3.34
        github.com/pion/interceptor v0.1.29
@@ -11,7 +11,7 @@ require (
        github.com/pion/randutil v0.1.0
        github.com/pion/rtcp v1.2.14
        github.com/pion/rtp v1.8.7
-       github.com/pion/sctp v1.8.19
+       github.com/pion/sctp v1.8.33
        github.com/pion/sdp/v3 v3.0.9
        github.com/pion/srtp/v2 v2.0.20
        github.com/pion/stun v0.6.1
diff --git a/go.sum b/go.sum
index 7127195..f0f04fb 100644
--- a/go.sum
+++ b/go.sum
@@ -42,6 +42,8 @@ github.com/onsi/gomega v1.17.0 h1:9Luw4uT5HTjHTN8+aNcSThgH1vdXnmdJ8xIfZ4wyTRE=
 github.com/onsi/gomega v1.17.0/go.mod h1:HnhC7FXeEQY45zxNK3PPoIUhzk/80Xly9PcubAlGdZY=
 github.com/pion/datachannel v1.5.8 h1:ph1P1NsGkazkjrvyMfhRBUAWMxugJjq2HfQifaOoSNo=
 github.com/pion/datachannel v1.5.8/go.mod h1:PgmdpoaNBLX9HNzNClmdki4DYW5JtI7Yibu8QzbL3tI=
+github.com/pion/datachannel v1.5.9 h1:LpIWAOYPyDrXtU+BW7X0Yt/vGtYxtXQ8ql7dFfYUVZA=
+github.com/pion/datachannel v1.5.9/go.mod h1:kDUuk4CU4Uxp82NH4LQZbISULkX/HtzKa4P7ldf9izE=
 github.com/pion/dtls/v2 v2.2.7/go.mod h1:8WiMkebSHFD0T+dIU+UeBaoV7kDhOW5oDCzZ7WZ/F9s=
 github.com/pion/dtls/v2 v2.2.12 h1:KP7H5/c1EiVAAKUmXyCzPiQe5+bCJrpOeKg/L05dunk=
 github.com/pion/dtls/v2 v2.2.12/go.mod h1:d9SYc9fch0CqK90mRk1dC7AkzzpwJj6u2GU3u+9pqFE=
@@ -65,6 +67,8 @@ github.com/pion/rtp v1.8.7/go.mod h1:pBGHaFt/yW7bf1jjWAoUjpSNoDnw98KTMg+jWWvziqU
 github.com/pion/sctp v1.8.18/go.mod h1:P6PbDVA++OJMrVNg2AL3XtYHV4uD6dvfyOovCgMs0PE=
 github.com/pion/sctp v1.8.19 h1:2CYuw+SQ5vkQ9t0HdOPccsCz1GQMDuVy5PglLgKVBW8=
 github.com/pion/sctp v1.8.19/go.mod h1:P6PbDVA++OJMrVNg2AL3XtYHV4uD6dvfyOovCgMs0PE=
+github.com/pion/sctp v1.8.33 h1:dSE4wX6uTJBcNm8+YlMg7lw1wqyKHggsP5uKbdj+NZw=
+github.com/pion/sctp v1.8.33/go.mod h1:beTnqSzewI53KWoG3nqB282oDMGrhNxBdb+JZnkCwRM=
 github.com/pion/sdp/v3 v3.0.9 h1:pX++dCHoHUwq43kuwf3PyJfHlwIj4hXA7Vrifiq0IJY=
 github.com/pion/sdp/v3 v3.0.9/go.mod h1:B5xmvENq5IXJimIO4zfp6LAe1fD9N+kFv+V/1lOdz8M=
 github.com/pion/srtp/v2 v2.0.20 h1:HNNny4s+OUmG280ETrCdgFndp4ufx3/uy85EawYEhTk=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants