mirror of
https://github.com/pion/webrtc.git
synced 2025-10-05 15:16:52 +08:00
Update docs to use go install
`go get` is not a supported method to install binaries anymore
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user