remove candidate, add limit frame, add multi game

This commit is contained in:
trichimtrich 2019-04-06 05:21:16 +08:00
parent 81444a405b
commit 1048846266
22 changed files with 1214 additions and 1164 deletions

View file

@ -1,16 +1,16 @@
From golang:1.12
RUN mkdir -p /go/src/github.com/giongto35/game-online
COPY . /go/src/github.com/giongto35/game-online/
WORKDIR /go/src/github.com/giongto35/game-online
# Install server dependencies
RUN apt-get update
#RUN apt-get install portaudio19-dev -y
RUN apt-get install libvpx-dev -y
RUN go get github.com/pions/webrtc
#RUN go get github.com/gordonklaus/portaudio
RUN go get github.com/gorilla/mux
RUN go install github.com/giongto35/game-online
EXPOSE 8000
From golang:1.12
RUN mkdir -p /go/src/github.com/giongto35/game-online
COPY . /go/src/github.com/giongto35/game-online/
WORKDIR /go/src/github.com/giongto35/game-online
# Install server dependencies
RUN apt-get update
#RUN apt-get install portaudio19-dev -y
RUN apt-get install libvpx-dev -y
RUN go get github.com/pions/webrtc
#RUN go get github.com/gordonklaus/portaudio
RUN go get github.com/gorilla/mux
RUN go install github.com/giongto35/game-online
EXPOSE 8000