Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"github.com/kr/pty"
"github.com/maxmcd/webtty/pkg/sd"
"github.com/mitchellh/colorstring"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
"golang.org/x/crypto/ssh/terminal"
)

Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/kr/pty"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
"golang.org/x/crypto/ssh/terminal"
)

Expand Down
36 changes: 31 additions & 5 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,11 +1,37 @@
module github.com/maxmcd/webtty

go 1.12
go 1.23.0

toolchain go1.24.3

require (
github.com/btcsuite/btcutil v0.0.0-20190316010144-3ac1210f4b38
github.com/kr/pty v1.1.4
github.com/btcsuite/btcutil v1.0.2
github.com/kr/pty v1.1.8
github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db
github.com/pion/webrtc/v3 v3.1.29
golang.org/x/crypto v0.0.0-20220411220226-7b82a4e95df4
github.com/pion/webrtc/v4 v4.1.1
golang.org/x/crypto v0.38.0
)

require (
github.com/creack/pty v1.1.24 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/pion/datachannel v1.5.10 // indirect
github.com/pion/dtls/v3 v3.0.6 // indirect
github.com/pion/ice/v4 v4.0.10 // indirect
github.com/pion/interceptor v0.1.38 // indirect
github.com/pion/logging v0.2.3 // indirect
github.com/pion/mdns/v2 v2.0.7 // indirect
github.com/pion/randutil v0.1.0 // indirect
github.com/pion/rtcp v1.2.15 // indirect
github.com/pion/rtp v1.8.16 // indirect
github.com/pion/sctp v1.8.39 // indirect
github.com/pion/sdp/v3 v3.0.13 // indirect
github.com/pion/srtp/v3 v3.0.4 // indirect
github.com/pion/stun/v3 v3.0.0 // indirect
github.com/pion/transport/v3 v3.0.7 // indirect
github.com/pion/turn/v4 v4.0.2 // indirect
github.com/wlynxg/anet v0.0.5 // indirect
golang.org/x/net v0.40.0 // indirect
golang.org/x/sys v0.33.0 // indirect
golang.org/x/term v0.32.0 // indirect
)
211 changes: 71 additions & 140 deletions go.sum

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion host.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"github.com/kr/pty"
"github.com/maxmcd/webtty/pkg/sd"
"github.com/mitchellh/colorstring"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
)

type hostSession struct {
Expand Down
2 changes: 1 addition & 1 deletion host_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"testing"

"github.com/kr/pty"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
)

func TestHosttDataChannelOnMessage(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion session.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"

"github.com/maxmcd/webtty/pkg/sd"
"github.com/pion/webrtc/v3"
"github.com/pion/webrtc/v4"
"golang.org/x/crypto/ssh/terminal"
)

Expand Down