Skip to content

Commit 89d7de1

Browse files
committed
Start /v3
See #9 for the features we have planned, and the breaking changes that may occur.
1 parent 06156ba commit 89d7de1

Some content is hidden

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

69 files changed

+107
-120
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/v2)
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)
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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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
<a href="https://travis-ci.org/pion/webrtc"><img src="https://travis-ci.org/pion/webrtc.svg?branch=master" alt="Build Status"></a>
16-
<a href="https://pkg.go.dev/github.com/pion/webrtc/v2"><img src="https://godoc.org/github.com/pion/webrtc?status.svg" alt="GoDoc"></a>
16+
<a href="https://pkg.go.dev/github.com/pion/webrtc/v3"><img src="https://godoc.org/github.com/pion/webrtc?status.svg" alt="GoDoc"></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>
1818
<a href="https://goreportcard.com/report/github.com/pion/webrtc"><img src="https://goreportcard.com/badge/github.com/pion/webrtc" alt="Go Report Card"></a>
1919
<a href="https://www.codacy.com/app/Sean-Der/webrtc"><img src="https://api.codacy.com/project/badge/Grade/18f4aec384894e6aac0b94effe51961d" alt="Codacy Badge"></a>

certificate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"time"
1616

1717
"github.com/pion/dtls/v2/pkg/crypto/fingerprint"
18-
"github.com/pion/webrtc/v2/pkg/rtcerr"
18+
"github.com/pion/webrtc/v3/pkg/rtcerr"
1919
)
2020

2121
// 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
@@ -12,7 +12,7 @@ import (
1212

1313
"github.com/pion/datachannel"
1414
"github.com/pion/logging"
15-
"github.com/pion/webrtc/v2/pkg/rtcerr"
15+
"github.com/pion/webrtc/v3/pkg/rtcerr"
1616
)
1717

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

datachannel_ortc_test.go

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

99
"github.com/pion/transport/test"
10-
"github.com/pion/webrtc/v2/internal/util"
10+
"github.com/pion/webrtc/v3/internal/util"
1111
)
1212

1313
func TestDataChannel_ORTCE2E(t *testing.T) {

dtlstransport.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ import (
1717
"github.com/pion/dtls/v2"
1818
"github.com/pion/dtls/v2/pkg/crypto/fingerprint"
1919
"github.com/pion/srtp"
20-
"github.com/pion/webrtc/v2/internal/mux"
21-
"github.com/pion/webrtc/v2/internal/util"
22-
"github.com/pion/webrtc/v2/pkg/rtcerr"
20+
"github.com/pion/webrtc/v3/internal/mux"
21+
"github.com/pion/webrtc/v3/internal/util"
22+
"github.com/pion/webrtc/v3/pkg/rtcerr"
2323
)
2424

2525
// 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

1717
"github.com/sclevine/agouti"
1818

19-
"github.com/pion/webrtc/v2"
20-
"github.com/pion/webrtc/v2/pkg/media"
19+
"github.com/pion/webrtc/v3"
20+
"github.com/pion/webrtc/v3/pkg/media"
2121
)
2222

2323
var silentOpusFrame = []byte{0xf8, 0xff, 0xfe} // 20ms, 8kHz, mono

examples/README.md

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

3636
1. Build and run the example server:
3737
``` sh
38-
GO111MODULE=on go get github.com/pion/webrtc/v2
38+
GO111MODULE=on go get github.com/pion/webrtc/v3
3939
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc
4040
cd $GOPATH/src/github.com/pion/webrtc/examples
4141
go run examples.go

examples/broadcast/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This could serve as the building block to building conferencing software, and ot
66
## Instructions
77
### Download broadcast
88
```
9-
go get github.com/pion/webrtc/v2/examples/broadcast
9+
go get github.com/pion/webrtc/v3/examples/broadcast
1010
```
1111

1212
### Open broadcast example page

examples/broadcast/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"time"
77

88
"github.com/pion/rtcp"
9-
"github.com/pion/webrtc/v2"
9+
"github.com/pion/webrtc/v3"
1010

11-
"github.com/pion/webrtc/v2/examples/internal/signal"
11+
"github.com/pion/webrtc/v3/examples/internal/signal"
1212
)
1313

1414
const (

0 commit comments

Comments
 (0)