Skip to content

Commit

Permalink
Update docs to use go install
Browse files Browse the repository at this point in the history
`go get` is not a supported method to install binaries anymore
  • Loading branch information
Sean-Der committed Sep 5, 2023
1 parent 5aa5fac commit 50301ea
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion examples/bandwidth-estimation-from-disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -g 30 -b:v 2.5M -s 1280x720 high.ivf
### Download bandwidth-estimation-from-disk

```
go get github.com/pion/webrtc/v4/examples/bandwidth-estimation-from-disk
go install github.com/pion/webrtc/v4/examples/bandwidth-estimation-from-disk@latest
```

### Open bandwidth-estimation-from-disk example page
Expand Down
2 changes: 1 addition & 1 deletion examples/broadcast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This could serve as the building block to building conferencing software, and ot
## Instructions
### Download broadcast
```
go get github.com/pion/webrtc/v4/examples/broadcast
go install github.com/pion/webrtc/v4/examples/broadcast@latest
```

### Open broadcast example page
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ users to override this and process messages however they want.
## Instructions
### Download custom-logger
```
go get github.com/pion/webrtc/v4/examples/custom-logger
go install github.com/pion/webrtc/v4/examples/custom-logger@latest
```

### Run custom-logger
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-detach/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The example mirrors the data-channels example.

## Install
```
go get github.com/pion/webrtc/v4/examples/data-channels-detach
go install github.com/pion/webrtc/v4/examples/data-channels-detach@latest
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data-channels is a Pion WebRTC application that shows how you can send/recv Data
## Instructions
### Download data-channels
```
go get github.com/pion/webrtc/v4/examples/data-channels
go install github.com/pion/webrtc/v4/examples/data-channels@latest
```

### Open data-channels example page
Expand Down
2 changes: 1 addition & 1 deletion examples/insertable-streams/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf

### Download insertable-streams
```
go get github.com/pion/webrtc/v4/examples/insertable-streams
go install github.com/pion/webrtc/v4/examples/insertable-streams@latest
```

### Open insertable-streams example page
Expand Down
2 changes: 1 addition & 1 deletion examples/ortc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ In this example we have defined a simple JSON based signaling protocol.
## Instructions
### Download ortc
```
go get github.com/pion/webrtc/v4/examples/ortc
go install github.com/pion/webrtc/v4/examples/ortc@latest
```

### Run first client as offerer
Expand Down
2 changes: 1 addition & 1 deletion examples/play-from-disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -c:a libopus -page_duration 20000 -vn output.ogg
### Download play-from-disk

```
go get github.com/pion/webrtc/v4/examples/play-from-disk
go install github.com/pion/webrtc/v4/examples/play-from-disk@latest
```

### Open play-from-disk example page
Expand Down
2 changes: 1 addition & 1 deletion examples/reflect/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and
## Instructions
### Download reflect
```
go get github.com/pion/webrtc/v4/examples/reflect
go install github.com/pion/webrtc/v4/examples/reflect@latest
```

### Open reflect example page
Expand Down
2 changes: 1 addition & 1 deletion examples/rtcp-processing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ also craft messages to influence the media quality.
## Instructions
### Download rtcp-processing
```
go get github.com/pion/webrtc/v4/examples/rtcp-processing
go install github.com/pion/webrtc/v4/examples/rtcp-processing@latest
```

### Open rtcp-processing example page
Expand Down
2 changes: 1 addition & 1 deletion examples/rtp-forwarder/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rtp-forwarder is a simple application that shows how to forward your webcam/micr
## Instructions
### Download rtp-forwarder
```
go get github.com/pion/webrtc/v4/examples/rtp-forwarder
go install github.com/pion/webrtc/v4/examples/rtp-forwarder@latest
```

### Open rtp-forwarder example page
Expand Down
2 changes: 1 addition & 1 deletion examples/rtp-to-webrtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ With this example we have pre-made GStreamer and ffmpeg pipelines, but you can u
## Instructions
### Download rtp-to-webrtc
```
go get github.com/pion/webrtc/v4/examples/rtp-to-webrtc
go install github.com/pion/webrtc/v4/examples/rtp-to-webrtc@latest
```

### Open jsfiddle example page
Expand Down
2 changes: 1 addition & 1 deletion examples/save-to-disk-av1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can then send this video back to your browser using [play-from-disk](https:/
## Instructions
### Download save-to-disk-av1
```
go get github.com/pion/webrtc/v4/examples/save-to-disk-av1
go install github.com/pion/webrtc/v4/examples/save-to-disk-av1@latest
```

### Open save-to-disk-av1 example page
Expand Down
2 changes: 1 addition & 1 deletion examples/save-to-disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ You can then send this video back to your browser using [play-from-disk](https:/
## Instructions
### Download save-to-disk
```
go get github.com/pion/webrtc/v4/examples/save-to-disk
go install github.com/pion/webrtc/v4/examples/save-to-disk@latest
```

### Open save-to-disk example page
Expand Down
2 changes: 1 addition & 1 deletion examples/simulcast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ is selected.
## Instructions
### Download simulcast
```
go get github.com/pion/webrtc/v4/examples/simulcast
go install github.com/pion/webrtc/v4/examples/simulcast@latest
```

### Open simulcast example page
Expand Down
2 changes: 1 addition & 1 deletion examples/stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ during a session and why.
## Instructions
### Download stats
```
go get github.com/pion/webrtc/v4/examples/stats
go install github.com/pion/webrtc/v4/examples/stats@latest
```

### Open stats example page
Expand Down
2 changes: 1 addition & 1 deletion examples/swap-tracks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ swap-tracks demonstrates how to swap multiple incoming tracks on a single outgoi
## Instructions
### Download swap-tracks
```
go get github.com/pion/webrtc/v4/examples/swap-tracks
go install github.com/pion/webrtc/v4/examples/swap-tracks@latest
```

### Open swap-tracks example page
Expand Down

0 comments on commit 50301ea

Please sign in to comment.