mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 15:16:52 +08:00
Remove GO111MODULE from docs
This commit is contained in:
@@ -40,7 +40,6 @@ We've made it easy to run the browser based examples on your local machine.
|
|||||||
|
|
||||||
1. Build and run the example server:
|
1. Build and run the example server:
|
||||||
``` sh
|
``` sh
|
||||||
GO111MODULE=on go get github.com/pion/webrtc/v4
|
|
||||||
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
|
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
|
||||||
cd $GOPATH/src/github.com/pion/webrtc/examples
|
cd $GOPATH/src/github.com/pion/webrtc/examples
|
||||||
go run examples.go
|
go run examples.go
|
||||||
|
@@ -6,7 +6,6 @@ This could serve as the building block to building conferencing software, and ot
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download broadcast
|
### Download broadcast
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/broadcast
|
go get github.com/pion/webrtc/v4/examples/broadcast
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -6,7 +6,6 @@ users to override this and process messages however they want.
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download custom-logger
|
### Download custom-logger
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/custom-logger
|
go get github.com/pion/webrtc/v4/examples/custom-logger
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -5,7 +5,6 @@ The example mirrors the data-channels example.
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/data-channels-detach
|
go get github.com/pion/webrtc/v4/examples/data-channels-detach
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@ data-channels is a Pion WebRTC application that shows how you can send/recv Data
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download data-channels
|
### Download data-channels
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/data-channels
|
go get github.com/pion/webrtc/v4/examples/data-channels
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -14,7 +14,6 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf
|
|||||||
|
|
||||||
### Download insertable-streams
|
### Download insertable-streams
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/insertable-streams
|
go get github.com/pion/webrtc/v4/examples/insertable-streams
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@ In this example we have defined a simple JSON based signaling protocol.
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download ortc
|
### Download ortc
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/ortc
|
go get github.com/pion/webrtc/v4/examples/ortc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -7,7 +7,6 @@ The `answer` side acts like a HTTP server and should therefore be ran first.
|
|||||||
## Instructions
|
## Instructions
|
||||||
First run `answer`:
|
First run `answer`:
|
||||||
```sh
|
```sh
|
||||||
export GO111MODULE=on
|
|
||||||
go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer
|
go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer
|
||||||
answer
|
answer
|
||||||
```
|
```
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
FROM golang:1.21
|
FROM golang:1.21
|
||||||
|
|
||||||
ENV GO111MODULE=on
|
|
||||||
RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer@latest
|
RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/answer@latest
|
||||||
|
|
||||||
CMD ["answer"]
|
CMD ["answer"]
|
||||||
|
@@ -3,7 +3,6 @@
|
|||||||
|
|
||||||
FROM golang:1.21
|
FROM golang:1.21
|
||||||
|
|
||||||
ENV GO111MODULE=on
|
|
||||||
RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/offer@latest
|
RUN go install github.com/pion/webrtc/v4/examples/pion-to-pion/offer@latest
|
||||||
|
|
||||||
CMD ["offer"]
|
CMD ["offer"]
|
||||||
|
@@ -15,7 +15,6 @@ ffmpeg -i $INPUT_FILE -c:a libopus -page_duration 20000 -vn output.ogg
|
|||||||
### Download play-from-disk
|
### Download play-from-disk
|
||||||
|
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/play-from-disk
|
go get github.com/pion/webrtc/v4/examples/play-from-disk
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download reflect
|
### Download reflect
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/reflect
|
go get github.com/pion/webrtc/v4/examples/reflect
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -11,7 +11,6 @@ also craft messages to influence the media quality.
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download rtcp-processing
|
### Download rtcp-processing
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/rtcp-processing
|
go get github.com/pion/webrtc/v4/examples/rtcp-processing
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@ rtp-forwarder is a simple application that shows how to forward your webcam/micr
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download rtp-forwarder
|
### Download rtp-forwarder
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/rtp-forwarder
|
go get github.com/pion/webrtc/v4/examples/rtp-forwarder
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -6,7 +6,6 @@ With this example we have pre-made GStreamer and ffmpeg pipelines, but you can u
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download rtp-to-webrtc
|
### Download rtp-to-webrtc
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/rtp-to-webrtc
|
go get github.com/pion/webrtc/v4/examples/rtp-to-webrtc
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -10,7 +10,6 @@ You can then send this video back to your browser using [play-from-disk](https:/
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download save-to-disk-av1
|
### Download save-to-disk-av1
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/save-to-disk-av1
|
go get github.com/pion/webrtc/v4/examples/save-to-disk-av1
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -10,7 +10,6 @@ You can then send this video back to your browser using [play-from-disk](https:/
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download save-to-disk
|
### Download save-to-disk
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/save-to-disk
|
go get github.com/pion/webrtc/v4/examples/save-to-disk
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -8,7 +8,6 @@ is selected.
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download simulcast
|
### Download simulcast
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/simulcast
|
go get github.com/pion/webrtc/v4/examples/simulcast
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -7,7 +7,6 @@ during a session and why.
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download stats
|
### Download stats
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/stats
|
go get github.com/pion/webrtc/v4/examples/stats
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@@ -4,7 +4,6 @@ swap-tracks demonstrates how to swap multiple incoming tracks on a single outgoi
|
|||||||
## Instructions
|
## Instructions
|
||||||
### Download swap-tracks
|
### Download swap-tracks
|
||||||
```
|
```
|
||||||
export GO111MODULE=on
|
|
||||||
go get github.com/pion/webrtc/v4/examples/swap-tracks
|
go get github.com/pion/webrtc/v4/examples/swap-tracks
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user