Skip to content

Commit dc4b591

Browse files
committed
Start pion/webrtc/v4
60eea43 is a breaking change
1 parent 824739f commit dc4b591

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+127
-127
lines changed

DESIGN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ When possible we leave all decisions to the user. When choice is possible (like
1919
If you know how to use WebRTC in your browser, you know how to use Pion WebRTC.
2020
We try our best just to duplicate the Javascript API, so your code can look the same everywhere.
2121

22-
If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pion/webrtc/tree/master/examples) and [GoDoc](https://pkg.go.dev/github.com/pion/webrtc/v3)
22+
If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pion/webrtc/tree/master/examples) and [GoDoc](https://pkg.go.dev/github.com/pion/webrtc/v4)
2323

2424
### Bring your own media
2525
Pion WebRTC doesn't make any assumptions about where your audio, video or text come from. You can use FFmpeg, GStreamer, MLT or just serve a video file.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
<a href="https://github.com/pion/awesome-pion" alt="Awesome Pion"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg"></a>
1414
<br>
1515
<img alt="GitHub Workflow Status" src="https://img.shields.io/github/actions/workflow/status/pion/webrtc/test.yaml">
16-
<a href="https://pkg.go.dev/github.com/pion/webrtc/v3"><img src="https://pkg.go.dev/badge/github.com/pion/webrtc/v3.svg" alt="Go Reference"></a>
16+
<a href="https://pkg.go.dev/github.com/pion/webrtc/v4"><img src="https://pkg.go.dev/badge/github.com/pion/webrtc/v4.svg" alt="Go Reference"></a>
1717
<a href="https://codecov.io/gh/pion/webrtc"><img src="https://codecov.io/gh/pion/webrtc/branch/master/graph/badge.svg" alt="Coverage Status"></a>
18-
<a href="https://goreportcard.com/report/github.com/pion/webrtc/v3"><img src="https://goreportcard.com/badge/github.com/pion/webrtc/v3" alt="Go Report Card"></a>
18+
<a href="https://goreportcard.com/report/github.com/pion/webrtc/v4"><img src="https://goreportcard.com/badge/github.com/pion/webrtc/v4" alt="Go Report Card"></a>
1919
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
2020
</p>
2121
<br>
@@ -30,7 +30,7 @@
3030

3131
**[awesome-pion](https://github.com/pion/awesome-pion)** contains projects that have used Pion, and serve as real world examples of usage.
3232

33-
**[GoDoc](https://pkg.go.dev/github.com/pion/webrtc/v3)** is an auto generated API reference. All our Public APIs are commented.
33+
**[GoDoc](https://pkg.go.dev/github.com/pion/webrtc/v4)** is an auto generated API reference. All our Public APIs are commented.
3434

3535
**[FAQ](https://github.com/pion/webrtc/wiki/FAQ)** has answers to common questions. If you have a question not covered please ask in [Slack](https://pion.ly/slack) we are always looking to expand it.
3636

@@ -60,7 +60,7 @@ This book is vendor agnostic and will not have any Pion specific information.
6060
* Send/Receive audio and video
6161
* Renegotiation
6262
* Plan-B and Unified Plan
63-
* [SettingEngine](https://pkg.go.dev/github.com/pion/webrtc/v3#SettingEngine) for Pion specific extensions
63+
* [SettingEngine](https://pkg.go.dev/github.com/pion/webrtc/v4#SettingEngine) for Pion specific extensions
6464

6565

6666
#### Connectivity

certificate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
"time"
2222

2323
"github.com/pion/dtls/v2/pkg/crypto/fingerprint"
24-
"github.com/pion/webrtc/v3/pkg/rtcerr"
24+
"github.com/pion/webrtc/v4/pkg/rtcerr"
2525
)
2626

2727
// Certificate represents a x509Cert used to authenticate WebRTC communications.

datachannel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717

1818
"github.com/pion/datachannel"
1919
"github.com/pion/logging"
20-
"github.com/pion/webrtc/v3/pkg/rtcerr"
20+
"github.com/pion/webrtc/v4/pkg/rtcerr"
2121
)
2222

2323
const dataChannelBufferSize = math.MaxUint16 // message size limit for Chromium

dtlstransport.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ import (
2525
"github.com/pion/logging"
2626
"github.com/pion/rtcp"
2727
"github.com/pion/srtp/v3"
28-
"github.com/pion/webrtc/v3/internal/mux"
29-
"github.com/pion/webrtc/v3/internal/util"
30-
"github.com/pion/webrtc/v3/pkg/rtcerr"
28+
"github.com/pion/webrtc/v4/internal/mux"
29+
"github.com/pion/webrtc/v4/internal/util"
30+
"github.com/pion/webrtc/v4/pkg/rtcerr"
3131
)
3232

3333
// DTLSTransport allows an application access to information about the DTLS

e2e/e2e_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ import (
1616
"testing"
1717
"time"
1818

19-
"github.com/pion/webrtc/v3"
20-
"github.com/pion/webrtc/v3/pkg/media"
19+
"github.com/pion/webrtc/v4"
20+
"github.com/pion/webrtc/v4/pkg/media"
2121
"github.com/sclevine/agouti"
2222
)
2323

examples/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ We've made it easy to run the browser based examples on your local machine.
4040

4141
1. Build and run the example server:
4242
``` sh
43-
GO111MODULE=on go get github.com/pion/webrtc/v3
43+
GO111MODULE=on go get github.com/pion/webrtc/v4
4444
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
4545
cd $GOPATH/src/github.com/pion/webrtc/examples
4646
go run examples.go

examples/bandwidth-estimation-from-disk/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -g 30 -b:v 2.5M -s 1280x720 high.ivf
1515
### Download bandwidth-estimation-from-disk
1616

1717
```
18-
go get github.com/pion/webrtc/v3/examples/bandwidth-estimation-from-disk
18+
go get github.com/pion/webrtc/v4/examples/bandwidth-estimation-from-disk
1919
```
2020

2121
### Open bandwidth-estimation-from-disk example page

examples/bandwidth-estimation-from-disk/main.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ import (
1717
"github.com/pion/interceptor"
1818
"github.com/pion/interceptor/pkg/cc"
1919
"github.com/pion/interceptor/pkg/gcc"
20-
"github.com/pion/webrtc/v3"
21-
"github.com/pion/webrtc/v3/examples/internal/signal"
22-
"github.com/pion/webrtc/v3/pkg/media"
23-
"github.com/pion/webrtc/v3/pkg/media/ivfreader"
20+
"github.com/pion/webrtc/v4"
21+
"github.com/pion/webrtc/v4/examples/internal/signal"
22+
"github.com/pion/webrtc/v4/pkg/media"
23+
"github.com/pion/webrtc/v4/pkg/media/ivfreader"
2424
)
2525

2626
const (

examples/broadcast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This could serve as the building block to building conferencing software, and ot
77
### Download broadcast
88
```
99
export GO111MODULE=on
10-
go get github.com/pion/webrtc/v3/examples/broadcast
10+
go get github.com/pion/webrtc/v4/examples/broadcast
1111
```
1212

1313
### Open broadcast example page

0 commit comments

Comments
 (0)