mirror of
https://github.com/giongto35/cloud-game.git
synced 2026-07-20 16:54:25 +00:00
Use different uuid package
This commit is contained in:
parent
3c96be3db7
commit
2b7671c26b
5 changed files with 5 additions and 5 deletions
2
Dockerfile
vendored
2
Dockerfile
vendored
|
|
@ -12,7 +12,7 @@ RUN apt-get install pkg-config libvpx-dev libopus-dev libopusfile-dev -y
|
|||
RUN go get gopkg.in/hraban/opus.v2
|
||||
RUN go get github.com/pion/webrtc
|
||||
RUN go get github.com/gorilla/websocket
|
||||
RUN go get github.com/satori/go.uuid
|
||||
RUN go get github.com/gofrs/uuid
|
||||
RUN go get cloud.google.com/go/storage
|
||||
RUN go install github.com/giongto35/cloud-game/cmd
|
||||
|
||||
|
|
|
|||
2
README.md
vendored
2
README.md
vendored
|
|
@ -46,7 +46,7 @@ And golang dependencies
|
|||
* `go get github.com/pion/webrtc/`
|
||||
* `go get github.com/gorilla/websocket`
|
||||
* `go get gopkg.in/hraban/opus.v2`
|
||||
* `go get github.com/satori/go.uuid`
|
||||
* `go get github.com/gofrs/uuid`
|
||||
* `go get cloud.google.com/go/storage`
|
||||
|
||||
And run
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/giongto35/cloud-game/config"
|
||||
"github.com/gofrs/uuid"
|
||||
"github.com/gorilla/websocket"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
type Client struct {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import (
|
|||
|
||||
"github.com/giongto35/cloud-game/cws"
|
||||
"github.com/giongto35/cloud-game/overlord/gamelist"
|
||||
"github.com/gofrs/uuid"
|
||||
"github.com/gorilla/websocket"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import (
|
|||
|
||||
"github.com/giongto35/cloud-game/config"
|
||||
vpxEncoder "github.com/giongto35/cloud-game/vpx-encoder"
|
||||
"github.com/gofrs/uuid"
|
||||
"github.com/pion/webrtc"
|
||||
"github.com/pion/webrtc/pkg/media"
|
||||
uuid "github.com/satori/go.uuid"
|
||||
)
|
||||
|
||||
var webrtcconfig = webrtc.Configuration{ICEServers: []webrtc.ICEServer{{URLs: []string{"stun:159.65.141.209:3478", "stun:stun.l.google.com:19302", "stun:stun1.l.google.com:19302"}}}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue