Update docs to use go install

`go get` is not a supported method to install binaries anymore
This commit is contained in:
Sean DuBois
2023-09-05 13:17:23 -04:00
parent 5aa5fac6ea
commit 50301ea73c
17 changed files with 17 additions and 17 deletions

View File

@@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -g 30 -b:v 2.5M -s 1280x720 high.ivf
### Download bandwidth-estimation-from-disk ### 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 ### Open bandwidth-estimation-from-disk example page

View File

@@ -6,7 +6,7 @@ This could serve as the building block to building conferencing software, and ot
## Instructions ## Instructions
### Download broadcast ### 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 ### Open broadcast example page

View File

@@ -6,7 +6,7 @@ users to override this and process messages however they want.
## Instructions ## Instructions
### Download custom-logger ### 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 ### Run custom-logger

View File

@@ -5,7 +5,7 @@ The example mirrors the data-channels example.
## Install ## 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 ## Usage

View File

@@ -4,7 +4,7 @@ data-channels is a Pion WebRTC application that shows how you can send/recv Data
## Instructions ## Instructions
### Download data-channels ### 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 ### Open data-channels example page

View File

@@ -14,7 +14,7 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf
### Download insertable-streams ### 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 ### Open insertable-streams example page

View File

@@ -9,7 +9,7 @@ In this example we have defined a simple JSON based signaling protocol.
## Instructions ## Instructions
### Download ortc ### 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 ### Run first client as offerer

View File

@@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -c:a libopus -page_duration 20000 -vn output.ogg
### Download play-from-disk ### 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 ### Open play-from-disk example page

View File

@@ -4,7 +4,7 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and
## Instructions ## Instructions
### Download reflect ### 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 ### Open reflect example page

View File

@@ -11,7 +11,7 @@ also craft messages to influence the media quality.
## Instructions ## Instructions
### Download rtcp-processing ### 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 ### Open rtcp-processing example page

View File

@@ -4,7 +4,7 @@ rtp-forwarder is a simple application that shows how to forward your webcam/micr
## Instructions ## Instructions
### Download rtp-forwarder ### 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 ### Open rtp-forwarder example page

View File

@@ -6,7 +6,7 @@ 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
``` ```
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 ### Open jsfiddle example page

View File

@@ -10,7 +10,7 @@ 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
``` ```
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 ### Open save-to-disk-av1 example page

View File

@@ -10,7 +10,7 @@ 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
``` ```
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 ### Open save-to-disk example page

View File

@@ -8,7 +8,7 @@ is selected.
## Instructions ## Instructions
### Download simulcast ### 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 ### Open simulcast example page

View File

@@ -7,7 +7,7 @@ during a session and why.
## Instructions ## Instructions
### Download stats ### 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 ### Open stats example page

View File

@@ -4,7 +4,7 @@ swap-tracks demonstrates how to swap multiple incoming tracks on a single outgoi
## Instructions ## Instructions
### Download swap-tracks ### 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 ### Open swap-tracks example page