Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Mass replace pions -> pion
Browse files Browse the repository at this point in the history
Pions organization was renamed to pion
  • Loading branch information
Sean-Der committed Apr 4, 2019
1 parent 1202dba commit 1cdfc10
Show file tree
Hide file tree
Showing 100 changed files with 294 additions and 307 deletions.
2 changes: 1 addition & 1 deletion .codacy.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
exclude_paths:
- examples/examples.json
- examples/examples.json
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cross-compiling of multiple libraries, you now can run anywhere with one `go bui
If you know how to use WebRTC in your browser, you know how to use Pion WebRTC.
We try our best just to duplicate the Javascript API, so your code can look the same everywhere.

If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pions/webrtc/tree/master/examples) and [GoDoc](https://godoc.org/github.com/pions/webrtc)
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://godoc.org/github.com/pion/webrtc)

### Bring your own media
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.
Expand Down
28 changes: 14 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
<h4 align="center">A pure Go implementation of the WebRTC API</h4>
<p align="center">
<a href="https://pion.ly"><img src="https://img.shields.io/badge/pion-webrtc-gray.svg?longCache=true&colorB=brightgreen" alt="Pion webrtc"></a>
<a href="https://sourcegraph.com/github.com/pions/webrtc?badge"><img src="https://sourcegraph.com/github.com/pions/webrtc/-/badge.svg" alt="Sourcegraph Widget"></a>
<a href="https://sourcegraph.com/github.com/pion/webrtc?badge"><img src="https://sourcegraph.com/github.com/pion/webrtc/-/badge.svg" alt="Sourcegraph Widget"></a>
<a href="https://pion.ly/slack"><img src="https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen" alt="Slack Widget"></a>
<a href="https://waffle.io/pions/webrtc"><img src="https://img.shields.io/badge/pm-waffle-gray.svg?longCache=true&colorB=brightgreen" alt="Waffle board"></a>
<a href="https://waffle.io/pion/webrtc"><img src="https://img.shields.io/badge/pm-waffle-gray.svg?longCache=true&colorB=brightgreen" alt="Waffle board"></a>
<br>
<a href="https://travis-ci.org/pions/webrtc"><img src="https://travis-ci.org/pions/webrtc.svg?branch=master" alt="Build Status"></a>
<a href="https://godoc.org/github.com/pions/webrtc"><img src="https://godoc.org/github.com/pions/webrtc?status.svg" alt="GoDoc"></a>
<a href="https://coveralls.io/github/pions/webrtc"><img src="https://coveralls.io/repos/github/pions/webrtc/badge.svg" alt="Coverage Status"></a>
<a href="https://goreportcard.com/report/github.com/pions/webrtc"><img src="https://goreportcard.com/badge/github.com/pions/webrtc" alt="Go Report Card"></a>
<a href="https://travis-ci.org/pion/webrtc"><img src="https://travis-ci.org/pion/webrtc.svg?branch=master" alt="Build Status"></a>
<a href="https://godoc.org/github.com/pion/webrtc"><img src="https://godoc.org/github.com/pion/webrtc?status.svg" alt="GoDoc"></a>
<a href="https://coveralls.io/github/pion/webrtc"><img src="https://coveralls.io/repos/github/pion/webrtc/badge.svg" alt="Coverage Status"></a>
<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>
<a href="https://www.codacy.com/app/Sean-Der/webrtc"><img src="https://api.codacy.com/project/badge/Grade/18f4aec384894e6aac0b94effe51961d" alt="Codacy Badge"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
</p>
Expand All @@ -24,16 +24,16 @@ See [DESIGN.md](DESIGN.md) for an overview of features and future goals.

### Breaking Changes

Pion WebRTC v2.0.0 is coming soon! HEAD will be unstable for the next few weeks as we prepare for the new release. See the [release notes](https://github.com/pions/webrtc/wiki/v2.0.0-Release-Notes) to learn about the new features breaking changes.
Pion WebRTC v2.0.0 is coming soon! HEAD will be unstable for the next few weeks as we prepare for the new release. See the [release notes](https://github.com/pion/webrtc/wiki/v2.0.0-Release-Notes) to learn about the new features breaking changes.

Have any questions? Join [the Slack channel](https://pion.ly/slack) to follow development and speak with the maintainers.

Use the tag [v1.2.0](https://github.com/pions/webrtc/tree/v1.2.0) if you'd like to continue using the v1.0 API in the meantime. After v2.0 is released v1.0 will be deprecated and unmaintained.
Use the tag [v1.2.0](https://github.com/pion/webrtc/tree/v1.2.0) if you'd like to continue using the v1.0 API in the meantime. After v2.0 is released v1.0 will be deprecated and unmaintained.

### Usage
Check out the **[example applications](examples/README.md)** to help you along your Pion WebRTC journey.

The Pion WebRTC API closely matches the JavaScript **[WebRTC API](https://w3c.github.io/webrtc-pc/)**. Most existing documentation is therefore also usefull when working with Pion. Furthermore, our **[GoDoc](https://godoc.org/github.com/pions/webrtc)** is actively maintained.
The Pion WebRTC API closely matches the JavaScript **[WebRTC API](https://w3c.github.io/webrtc-pc/)**. Most existing documentation is therefore also usefull when working with Pion. Furthermore, our **[GoDoc](https://godoc.org/github.com/pion/webrtc)** is actively maintained.

Now go forth and build some awesome apps! Here are some **ideas** to get your creative juices flowing:
* Send a video file to multiple browser in real time for perfectly synchronized movie watching.
Expand All @@ -49,11 +49,11 @@ This allows you to use WebRTC from Go in both server and browser side code with
little to no changes. Check out the
**[example applications](examples/README.md#webassembly)** for instructions on
how to compile and run the WebAssembly examples. You can also visit the
[Wiki page on WebAssembly Development](https://github.com/pions/webrtc/wiki/WebAssembly-Development-and-Testing)
[Wiki page on WebAssembly Development](https://github.com/pion/webrtc/wiki/WebAssembly-Development-and-Testing)
for more information.

### Roadmap
The library is in active development, please refer to the [roadmap](https://github.com/pions/webrtc/issues/9) to track our major milestones.
The library is in active development, please refer to the [roadmap](https://github.com/pion/webrtc/issues/9) to track our major milestones.

### Community
Pion has an active community on the [Golang Slack](https://invite.slack.golangbridge.org/). Sign up and join the **#pion** channel for discussions and support. You can also use [Pion mailing list](https://groups.google.com/forum/#!forum/pion).
Expand All @@ -63,11 +63,11 @@ We are always looking to support **your projects**. Please reach out if you have
If you need commercial support or don't want to use public methods you can contact us at [[email protected]](mailto:[email protected])

### Related projects
* [pions/turn](https://github.com/pions/turn): A simple extendable Golang TURN server
* [WIP] [pions/media-server](https://github.com/pions/media-server): A Pion WebRTC powered media server, providing the building blocks for anything RTC.
* [pion/turn](https://github.com/pion/turn): A simple extendable Golang TURN server
* [WIP] [pion/media-server](https://github.com/pion/media-server): A Pion WebRTC powered media server, providing the building blocks for anything RTC.

### Contributing
Check out the **[contributing wiki](https://github.com/pions/webrtc/wiki/Contributing)** to join the group of amazing people making this project possible:
Check out the **[contributing wiki](https://github.com/pion/webrtc/wiki/Contributing)** to join the group of amazing people making this project possible:

* [John Bradley](https://github.com/kc5nra) - *Original Author*
* [Michael Melvin Santry](https://github.com/santrym) - *Mascot*
Expand Down
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package webrtc

import (
"github.com/pions/logging"
"github.com/pion/logging"
)

// API bundles the global funcions of the WebRTC and ORTC API.
Expand Down
4 changes: 2 additions & 2 deletions certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
"math/big"
"time"

"github.com/pions/dtls"
"github.com/pions/webrtc/pkg/rtcerr"
"github.com/pion/dtls"
"github.com/pion/webrtc/pkg/rtcerr"
)

// Certificate represents a x509Cert used to authenticate WebRTC communications.
Expand Down
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package webrtc

import (
"github.com/pions/ice"
"github.com/pion/ice"
)

// Configuration defines a set of parameters to configure how the
Expand Down
2 changes: 1 addition & 1 deletion configuration_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
package webrtc

import (
"github.com/pions/ice"
"github.com/pion/ice"
)

// Configuration defines a set of parameters to configure how the
Expand Down
14 changes: 7 additions & 7 deletions datachannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"io"
"sync"

"github.com/pions/datachannel"
"github.com/pions/logging"
"github.com/pions/webrtc/pkg/rtcerr"
"github.com/pion/datachannel"
"github.com/pion/logging"
"github.com/pion/webrtc/pkg/rtcerr"
)

const dataChannelBufferSize = 16384 // Lowest common denominator among browsers
Expand Down Expand Up @@ -326,7 +326,7 @@ func (d *DataChannel) ensureOpen() error {
// webrtc.DetachDataChannels(). Combining detached and normal data channels
// is not supported.
// Please reffer to the data-channels-detach example and the
// pions/datachannel documentation for the correct way to handle the
// pion/datachannel documentation for the correct way to handle the
// resulting DataChannel object.
func (d *DataChannel) Detach() (datachannel.ReadWriteCloser, error) {
d.mu.Lock()
Expand Down Expand Up @@ -458,7 +458,7 @@ func (d *DataChannel) BufferedAmount() uint64 {
d.mu.RLock()
defer d.mu.RUnlock()

// TODO: wire to SCTP (pions/sctp#11)
// TODO: wire to SCTP (pion/sctp#11)
return 0
}

Expand All @@ -471,7 +471,7 @@ func (d *DataChannel) BufferedAmountLowThreshold() uint64 {
d.mu.RLock()
defer d.mu.RUnlock()

// TODO: wire to SCTP (pions/sctp#11)
// TODO: wire to SCTP (pion/sctp#11)
return d.bufferedAmountLowThreshold
}

Expand All @@ -484,6 +484,6 @@ func (d *DataChannel) SetBufferedAmountLowThreshold(th uint64) {
d.mu.Lock()
defer d.mu.Unlock()

// TODO: wire to SCTP (pions/sctp#11)
// TODO: wire to SCTP (pion/sctp#11)
d.bufferedAmountLowThreshold = th
}
2 changes: 1 addition & 1 deletion datachannel_go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"
"time"

"github.com/pions/transport/test"
"github.com/pion/transport/test"
"github.com/stretchr/testify/assert"
)

Expand Down
4 changes: 2 additions & 2 deletions datachannel_js.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"syscall/js"

"github.com/pions/datachannel"
"github.com/pion/datachannel"
)

const dataChannelBufferSize = 16384 // Lowest common denominator among browsers
Expand Down Expand Up @@ -111,7 +111,7 @@ func (d *DataChannel) SendText(s string) (err error) {
// webrtc.DetachDataChannels(). Combining detached and normal data channels
// is not supported.
// Please reffer to the data-channels-detach example and the
// pions/datachannel documentation for the correct way to handle the
// pion/datachannel documentation for the correct way to handle the
// resulting DataChannel object.
func (d *DataChannel) Detach() (datachannel.ReadWriteCloser, error) {
if !d.api.settingEngine.detach.DataChannels {
Expand Down
4 changes: 2 additions & 2 deletions datachannel_ortc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"testing"
"time"

"github.com/pions/transport/test"
"github.com/pions/webrtc/internal/util"
"github.com/pion/transport/test"
"github.com/pion/webrtc/internal/util"
)

func TestDataChannel_ORTCE2E(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion datachannel_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

"github.com/pions/transport/test"
"github.com/pion/transport/test"
"github.com/stretchr/testify/assert"
)

Expand Down
10 changes: 5 additions & 5 deletions dtlstransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import (
"sync"
"time"

"github.com/pions/dtls"
"github.com/pions/srtp"
"github.com/pions/webrtc/internal/mux"
"github.com/pions/webrtc/internal/util"
"github.com/pions/webrtc/pkg/rtcerr"
"github.com/pion/dtls"
"github.com/pion/srtp"
"github.com/pion/webrtc/internal/mux"
"github.com/pion/webrtc/internal/util"
"github.com/pion/webrtc/pkg/rtcerr"
)

// DTLSTransport allows an application access to information about the DTLS
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ We've made it easy to run the browser based examples on your local machine.

1. Build and run the example server:
``` sh
go get github.com/pions/webrtc
cd $GOPATH/src/github.com/pions/webrtc/examples
go get github.com/pion/webrtc
cd $GOPATH/src/github.com/pion/webrtc/examples
go run examples.go
```

Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-close/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# data-channels-close
data-channels-close is a variant of the data-channels example that allow playing with the life cycle of data channels.
data-channels-close is a variant of the data-channels example that allow playing with the life cycle of data channels.
4 changes: 2 additions & 2 deletions examples/data-channels-close/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

"github.com/pions/webrtc"
"github.com/pion/webrtc"

"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc/examples/internal/signal"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ data-channels-create is a pion-WebRTC application that shows how you can send/re
## Instructions
### Download data-channels-create
```
go get github.com/pions/webrtc/examples/data-channels-create
go get github.com/pion/webrtc/examples/data-channels-create
```

### Open data-channels-create example page
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-create/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"fmt"
"time"

"github.com/pions/webrtc"
"github.com/pion/webrtc"

"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc/examples/internal/signal"
)

func main() {
Expand Down
6 changes: 3 additions & 3 deletions examples/data-channels-detach-create/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# data-channels
data-channels-detach-create is an example that shows how you can detach a data channel. This allows direct access the the underlying [pions/datachannel](https://github.com/pions/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
data-channels-detach-create is an example that shows how you can detach a data channel. This allows direct access the the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.

The example mirrors the data-channels-create example.

## Install
```
go get github.com/pions/webrtc/examples/data-channels-detach-create
go get github.com/pion/webrtc/examples/data-channels-detach-create
```

## Usage
The example can be used in the same way as the data-channel example or can be paired with the data-channels-detach example. In the latter case; run both example and exchange the offer/answer text by copy-pasting them on the other terminal.
The example can be used in the same way as the data-channel example or can be paired with the data-channels-detach example. In the latter case; run both example and exchange the offer/answer text by copy-pasting them on the other terminal.
4 changes: 2 additions & 2 deletions examples/data-channels-detach-create/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io"
"time"

"github.com/pions/webrtc"
"github.com/pion/webrtc"

"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc/examples/internal/signal"
)

const messageSize = 15
Expand Down
6 changes: 3 additions & 3 deletions examples/data-channels-detach/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# data-channels
data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying [pions/datachannel](https://github.com/pions/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.
data-channels-detach is an example that shows how you can detach a data channel. This allows direct access the the underlying [pion/datachannel](https://github.com/pion/datachannel). This allows you to interact with the data channel using a more idiomatic API based on the `io.ReadWriteCloser` interface.

The example mirrors the data-channels example.

## Install
```
go get github.com/pions/webrtc/examples/data-channels-detach
go get github.com/pion/webrtc/examples/data-channels-detach
```

## Usage
The example can be used in the same way as the data-channel example or can be paired with the data-channels-detach-create example. In the latter case; run both example and exchange the offer/answer text by copy-pasting them on the other terminal.
The example can be used in the same way as the data-channel example or can be paired with the data-channels-detach-create example. In the latter case; run both example and exchange the offer/answer text by copy-pasting them on the other terminal.
4 changes: 2 additions & 2 deletions examples/data-channels-detach/jsfiddle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"syscall/js"
"time"

"github.com/pions/webrtc"
"github.com/pion/webrtc"

"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc/examples/internal/signal"
)

const messageSize = 15
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-detach/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io"
"time"

"github.com/pions/webrtc"
"github.com/pion/webrtc"

"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc/examples/internal/signal"
)

const messageSize = 15
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/pions/webrtc/examples/data-channels
go get github.com/pion/webrtc/examples/data-channels
```

### Open data-channels example page
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels/jsfiddle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"syscall/js"

"github.com/pions/webrtc"
"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc"
"github.com/pion/webrtc/examples/internal/signal"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"time"

"github.com/pions/webrtc"
"github.com/pions/webrtc/examples/internal/signal"
"github.com/pion/webrtc"
"github.com/pion/webrtc/examples/internal/signal"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion examples/gstreamer-receive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This example requires you have GStreamer installed, these are the supported plat
`pacman -S mingw-w64-x86_64-gstreamer mingw-w64-x86_64-gst-libav mingw-w64-x86_64-gst-plugins-good mingw-w64-x86_64-gst-plugins-bad mingw-w64-x86_64-gst-plugins-ugly`
### Download gstreamer-receive
```
go get github.com/pions/webrtc/examples/gstreamer-receive
go get github.com/pion/webrtc/examples/gstreamer-receive
```

### Open gstreamer-receive example page
Expand Down
Loading

0 comments on commit 1cdfc10

Please sign in to comment.