diff --git a/.codacy.yaml b/.codacy.yaml index 2fd98776a5c..a8c225b74b8 100644 --- a/.codacy.yaml +++ b/.codacy.yaml @@ -1,3 +1,3 @@ --- exclude_paths: - - examples/examples.json \ No newline at end of file + - examples/examples.json diff --git a/DESIGN.md b/DESIGN.md index 39a052fa5c7..17c546c0212 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -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. diff --git a/README.md b/README.md index 6c362317c9e..f3557cb1b58 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,14 @@

A pure Go implementation of the WebRTC API

Pion webrtc - Sourcegraph Widget + Sourcegraph Widget Slack Widget - Waffle board + Waffle board
- Build Status - GoDoc - Coverage Status - Go Report Card + Build Status + GoDoc + Coverage Status + Go Report Card Codacy Badge License: MIT

@@ -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. @@ -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). @@ -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 [team@pion.ly](mailto:team@pion.ly) ### 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* diff --git a/api.go b/api.go index 26fba9fa266..dba2eaa997b 100644 --- a/api.go +++ b/api.go @@ -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. diff --git a/certificate.go b/certificate.go index b6f0789a61c..2b2649f6281 100644 --- a/certificate.go +++ b/certificate.go @@ -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. diff --git a/configuration.go b/configuration.go index adbb10d782b..1299a54c710 100644 --- a/configuration.go +++ b/configuration.go @@ -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 diff --git a/configuration_js.go b/configuration_js.go index 5849107331e..ae15b27a7bd 100644 --- a/configuration_js.go +++ b/configuration_js.go @@ -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 diff --git a/datachannel.go b/datachannel.go index 694d47a8108..8f69109f70b 100644 --- a/datachannel.go +++ b/datachannel.go @@ -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 @@ -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() @@ -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 } @@ -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 } @@ -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 } diff --git a/datachannel_go_test.go b/datachannel_go_test.go index fd46b272cb1..cef3d4ca264 100644 --- a/datachannel_go_test.go +++ b/datachannel_go_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/pions/transport/test" + "github.com/pion/transport/test" "github.com/stretchr/testify/assert" ) diff --git a/datachannel_js.go b/datachannel_js.go index 2faf72f9fc5..bc817f65227 100644 --- a/datachannel_js.go +++ b/datachannel_js.go @@ -6,7 +6,7 @@ import ( "fmt" "syscall/js" - "github.com/pions/datachannel" + "github.com/pion/datachannel" ) const dataChannelBufferSize = 16384 // Lowest common denominator among browsers @@ -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 { diff --git a/datachannel_ortc_test.go b/datachannel_ortc_test.go index 489f161fadc..4c5a222995e 100644 --- a/datachannel_ortc_test.go +++ b/datachannel_ortc_test.go @@ -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) { diff --git a/datachannel_test.go b/datachannel_test.go index a0346d76b4b..d024232aa19 100644 --- a/datachannel_test.go +++ b/datachannel_test.go @@ -5,7 +5,7 @@ import ( "testing" "time" - "github.com/pions/transport/test" + "github.com/pion/transport/test" "github.com/stretchr/testify/assert" ) diff --git a/dtlstransport.go b/dtlstransport.go index 4f356ebe5aa..c946343b476 100644 --- a/dtlstransport.go +++ b/dtlstransport.go @@ -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 diff --git a/examples/README.md b/examples/README.md index f75610b3470..2c9336c923d 100644 --- a/examples/README.md +++ b/examples/README.md @@ -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 ``` diff --git a/examples/data-channels-close/README.md b/examples/data-channels-close/README.md index 85388a30e0b..7deb096eaf1 100644 --- a/examples/data-channels-close/README.md +++ b/examples/data-channels-close/README.md @@ -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. \ No newline at end of file +data-channels-close is a variant of the data-channels example that allow playing with the life cycle of data channels. diff --git a/examples/data-channels-close/main.go b/examples/data-channels-close/main.go index a129e199fbe..51b6eb0323b 100644 --- a/examples/data-channels-close/main.go +++ b/examples/data-channels-close/main.go @@ -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() { diff --git a/examples/data-channels-create/README.md b/examples/data-channels-create/README.md index 0b981a47b80..09d682c9d60 100644 --- a/examples/data-channels-create/README.md +++ b/examples/data-channels-create/README.md @@ -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 diff --git a/examples/data-channels-create/main.go b/examples/data-channels-create/main.go index 56d91d9259c..22ca15e2495 100644 --- a/examples/data-channels-create/main.go +++ b/examples/data-channels-create/main.go @@ -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() { diff --git a/examples/data-channels-detach-create/README.md b/examples/data-channels-detach-create/README.md index 6436814eee4..2c4842558bd 100644 --- a/examples/data-channels-detach-create/README.md +++ b/examples/data-channels-detach-create/README.md @@ -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. \ No newline at end of file +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. diff --git a/examples/data-channels-detach-create/main.go b/examples/data-channels-detach-create/main.go index 2e24b3a84ea..3146f02bf8c 100644 --- a/examples/data-channels-detach-create/main.go +++ b/examples/data-channels-detach-create/main.go @@ -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 diff --git a/examples/data-channels-detach/README.md b/examples/data-channels-detach/README.md index 1640029d569..91b10cb4f33 100644 --- a/examples/data-channels-detach/README.md +++ b/examples/data-channels-detach/README.md @@ -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. \ No newline at end of file +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. diff --git a/examples/data-channels-detach/jsfiddle/main.go b/examples/data-channels-detach/jsfiddle/main.go index fcabc4ff465..d92c6990668 100644 --- a/examples/data-channels-detach/jsfiddle/main.go +++ b/examples/data-channels-detach/jsfiddle/main.go @@ -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 diff --git a/examples/data-channels-detach/main.go b/examples/data-channels-detach/main.go index 54a33dad21b..683c9b7b7da 100644 --- a/examples/data-channels-detach/main.go +++ b/examples/data-channels-detach/main.go @@ -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 diff --git a/examples/data-channels/README.md b/examples/data-channels/README.md index d46d77658d9..d6d1e33bf94 100644 --- a/examples/data-channels/README.md +++ b/examples/data-channels/README.md @@ -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 diff --git a/examples/data-channels/jsfiddle/main.go b/examples/data-channels/jsfiddle/main.go index d75d0badead..1d83b231846 100644 --- a/examples/data-channels/jsfiddle/main.go +++ b/examples/data-channels/jsfiddle/main.go @@ -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() { diff --git a/examples/data-channels/main.go b/examples/data-channels/main.go index a688796a249..5dbcaa3947f 100644 --- a/examples/data-channels/main.go +++ b/examples/data-channels/main.go @@ -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() { diff --git a/examples/gstreamer-receive/README.md b/examples/gstreamer-receive/README.md index cd43bb0b52d..3b2d5174ce1 100644 --- a/examples/gstreamer-receive/README.md +++ b/examples/gstreamer-receive/README.md @@ -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 diff --git a/examples/gstreamer-receive/main.go b/examples/gstreamer-receive/main.go index fa920ea4c25..aa0e2395f31 100644 --- a/examples/gstreamer-receive/main.go +++ b/examples/gstreamer-receive/main.go @@ -5,11 +5,11 @@ import ( "runtime" "time" - "github.com/pions/rtcp" - "github.com/pions/webrtc" + "github.com/pion/rtcp" + "github.com/pion/webrtc" - gst "github.com/pions/webrtc/examples/internal/gstreamer-sink" - "github.com/pions/webrtc/examples/internal/signal" + gst "github.com/pion/webrtc/examples/internal/gstreamer-sink" + "github.com/pion/webrtc/examples/internal/signal" ) // gstreamerReceiveMain is launched in a goroutine because the main thread is needed diff --git a/examples/gstreamer-send-offer/main.go b/examples/gstreamer-send-offer/main.go index cbda482b7ca..4cf29cfd53d 100644 --- a/examples/gstreamer-send-offer/main.go +++ b/examples/gstreamer-send-offer/main.go @@ -5,10 +5,10 @@ import ( "fmt" "math/rand" - "github.com/pions/webrtc" + "github.com/pion/webrtc" - gst "github.com/pions/webrtc/examples/internal/gstreamer-src" - "github.com/pions/webrtc/examples/internal/signal" + gst "github.com/pion/webrtc/examples/internal/gstreamer-src" + "github.com/pion/webrtc/examples/internal/signal" ) func main() { diff --git a/examples/gstreamer-send/README.md b/examples/gstreamer-send/README.md index edeee01f36e..6616c5a4f79 100644 --- a/examples/gstreamer-send/README.md +++ b/examples/gstreamer-send/README.md @@ -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-send ``` -go get github.com/pions/webrtc/examples/gstreamer-send +go get github.com/pion/webrtc/examples/gstreamer-send ``` ### Open gstreamer-send example page diff --git a/examples/gstreamer-send/main.go b/examples/gstreamer-send/main.go index 858ebcb61f6..a22fbefd761 100644 --- a/examples/gstreamer-send/main.go +++ b/examples/gstreamer-send/main.go @@ -5,10 +5,10 @@ import ( "fmt" "math/rand" - "github.com/pions/webrtc" + "github.com/pion/webrtc" - gst "github.com/pions/webrtc/examples/internal/gstreamer-src" - "github.com/pions/webrtc/examples/internal/signal" + gst "github.com/pion/webrtc/examples/internal/gstreamer-src" + "github.com/pion/webrtc/examples/internal/signal" ) func main() { diff --git a/examples/internal/gstreamer-sink/gst.go b/examples/internal/gstreamer-sink/gst.go index a26811ce4ec..405d3e60c3e 100644 --- a/examples/internal/gstreamer-sink/gst.go +++ b/examples/internal/gstreamer-sink/gst.go @@ -10,7 +10,7 @@ import "C" import ( "unsafe" - "github.com/pions/webrtc" + "github.com/pion/webrtc" ) // StartMainLoop starts GLib's main loop diff --git a/examples/internal/gstreamer-src/gst.go b/examples/internal/gstreamer-src/gst.go index ed45044f278..71f030e2724 100644 --- a/examples/internal/gstreamer-src/gst.go +++ b/examples/internal/gstreamer-src/gst.go @@ -12,8 +12,8 @@ import ( "sync" "unsafe" - "github.com/pions/webrtc" - "github.com/pions/webrtc/pkg/media" + "github.com/pion/webrtc" + "github.com/pion/webrtc/pkg/media" ) func init() { diff --git a/examples/janus-gateway/README.md b/examples/janus-gateway/README.md index 9b63e974f72..5f8ef2b00f8 100644 --- a/examples/janus-gateway/README.md +++ b/examples/janus-gateway/README.md @@ -9,7 +9,7 @@ This example demonstrates how to download a video from a Janus streaming room. B You should confirm that you can successfully watch `Opus/VP8 live stream coming from gstreamer (live)` in the stream demo web UI ### Running -run `main.go` in `github.com/pions/webrtc/examples/janus-gateway/streaming` +run `main.go` in `github.com/pion/webrtc/examples/janus-gateway/streaming` If this worked you will see the following. ``` @@ -24,7 +24,7 @@ You will see output.ivf in the current folder. This example demonstrates how to stream to a Janus video-room using pion-WebRTC ### Running -run `main.go` in `github.com/pions/webrtc/examples/janus-gateway/video-room` +run `main.go` in `github.com/pion/webrtc/examples/janus-gateway/video-room` OSX ```sh diff --git a/examples/janus-gateway/streaming/go.mod b/examples/janus-gateway/streaming/go.mod index 3394cead9fd..bb414c0c6e7 100644 --- a/examples/janus-gateway/streaming/go.mod +++ b/examples/janus-gateway/streaming/go.mod @@ -1,9 +1,9 @@ -module github.com/pions/webrtc/examples/janus-gateway/streaming +module github.com/pion/webrtc/examples/janus-gateway/streaming -replace github.com/pions/webrtc => ../../../ +replace github.com/pion/webrtc => ../../../ require ( github.com/gorilla/websocket v1.4.0 // indirect github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b - github.com/pions/webrtc v1.1.1 + github.com/pion/webrtc v1.1.1 ) diff --git a/examples/janus-gateway/streaming/go.sum b/examples/janus-gateway/streaming/go.sum index 17e15af4139..8a06387806a 100644 --- a/examples/janus-gateway/streaming/go.sum +++ b/examples/janus-gateway/streaming/go.sum @@ -6,8 +6,8 @@ github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b h1:GT1/zfKpQHX4Cz7F1QUE/tjE/OP0KM5aYaFiKVRgvkk= github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b/go.mod h1:BN/Txse3qz8tZOmCm2OfajB2wHVujWmX3o9nVdsI6gE= -github.com/pions/pkg v0.0.0-20181115215726-b60cd756f712 h1:ciXO7F7PusyAzW/EZJt01bETgfTxP/BIGoWQ15pBP54= -github.com/pions/pkg v0.0.0-20181115215726-b60cd756f712/go.mod h1:r9wKZs+Xxv2acLspex4CHQiIhFjGK1zGP+nUm/8klXA= +github.com/pion/pkg v0.0.0-20181115215726-b60cd756f712 h1:ciXO7F7PusyAzW/EZJt01bETgfTxP/BIGoWQ15pBP54= +github.com/pion/pkg v0.0.0-20181115215726-b60cd756f712/go.mod h1:r9wKZs+Xxv2acLspex4CHQiIhFjGK1zGP+nUm/8klXA= github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/examples/janus-gateway/streaming/main.go b/examples/janus-gateway/streaming/main.go index 2ce78d0f1d8..e41e95d66ce 100644 --- a/examples/janus-gateway/streaming/main.go +++ b/examples/janus-gateway/streaming/main.go @@ -5,10 +5,10 @@ import ( "time" janus "github.com/notedit/janus-go" - "github.com/pions/webrtc" - "github.com/pions/webrtc/pkg/media" - "github.com/pions/webrtc/pkg/media/ivfwriter" - "github.com/pions/webrtc/pkg/media/opuswriter" + "github.com/pion/webrtc" + "github.com/pion/webrtc/pkg/media" + "github.com/pion/webrtc/pkg/media/ivfwriter" + "github.com/pion/webrtc/pkg/media/opuswriter" ) func saveToDisk(i media.Writer, track *webrtc.Track) { diff --git a/examples/janus-gateway/video-room/go.mod b/examples/janus-gateway/video-room/go.mod index 3394cead9fd..bb414c0c6e7 100644 --- a/examples/janus-gateway/video-room/go.mod +++ b/examples/janus-gateway/video-room/go.mod @@ -1,9 +1,9 @@ -module github.com/pions/webrtc/examples/janus-gateway/streaming +module github.com/pion/webrtc/examples/janus-gateway/streaming -replace github.com/pions/webrtc => ../../../ +replace github.com/pion/webrtc => ../../../ require ( github.com/gorilla/websocket v1.4.0 // indirect github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b - github.com/pions/webrtc v1.1.1 + github.com/pion/webrtc v1.1.1 ) diff --git a/examples/janus-gateway/video-room/go.sum b/examples/janus-gateway/video-room/go.sum index 17e15af4139..8a06387806a 100644 --- a/examples/janus-gateway/video-room/go.sum +++ b/examples/janus-gateway/video-room/go.sum @@ -6,8 +6,8 @@ github.com/gorilla/websocket v1.4.0 h1:WDFjx/TMzVgy9VdMMQi2K2Emtwi2QcUQsztZ/zLaH github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b h1:GT1/zfKpQHX4Cz7F1QUE/tjE/OP0KM5aYaFiKVRgvkk= github.com/notedit/janus-go v0.0.0-20180821162543-a152adf0cb7b/go.mod h1:BN/Txse3qz8tZOmCm2OfajB2wHVujWmX3o9nVdsI6gE= -github.com/pions/pkg v0.0.0-20181115215726-b60cd756f712 h1:ciXO7F7PusyAzW/EZJt01bETgfTxP/BIGoWQ15pBP54= -github.com/pions/pkg v0.0.0-20181115215726-b60cd756f712/go.mod h1:r9wKZs+Xxv2acLspex4CHQiIhFjGK1zGP+nUm/8klXA= +github.com/pion/pkg v0.0.0-20181115215726-b60cd756f712 h1:ciXO7F7PusyAzW/EZJt01bETgfTxP/BIGoWQ15pBP54= +github.com/pion/pkg v0.0.0-20181115215726-b60cd756f712/go.mod h1:r9wKZs+Xxv2acLspex4CHQiIhFjGK1zGP+nUm/8klXA= github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= diff --git a/examples/janus-gateway/video-room/main.go b/examples/janus-gateway/video-room/main.go index c108b00d86c..217a81a221c 100644 --- a/examples/janus-gateway/video-room/main.go +++ b/examples/janus-gateway/video-room/main.go @@ -7,9 +7,9 @@ import ( "time" janus "github.com/notedit/janus-go" - "github.com/pions/webrtc" + "github.com/pion/webrtc" - gst "github.com/pions/webrtc/examples/internal/gstreamer-src" + gst "github.com/pion/webrtc/examples/internal/gstreamer-src" ) func watchHandle(handle *janus.Handle) { diff --git a/examples/ortc-quic/main.go b/examples/ortc-quic/main.go index aecc800d748..5fc5dfe71c0 100644 --- a/examples/ortc-quic/main.go +++ b/examples/ortc-quic/main.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - "github.com/pions/quic" - "github.com/pions/webrtc" + "github.com/pion/quic" + "github.com/pion/webrtc" - "github.com/pions/webrtc/examples/internal/signal" + "github.com/pion/webrtc/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/ortc/main.go b/examples/ortc/main.go index 5e0e6d38844..488e71fd948 100644 --- a/examples/ortc/main.go +++ b/examples/ortc/main.go @@ -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() { diff --git a/examples/pion-to-pion/README.md b/examples/pion-to-pion/README.md index 012a4990f84..263f6cc63e1 100644 --- a/examples/pion-to-pion/README.md +++ b/examples/pion-to-pion/README.md @@ -7,12 +7,12 @@ The `answer` side acts like a HTTP server and should therefore be ran first. ## Instructions First run `answer`: ```sh -go install github.com/pions/webrtc/examples/pion-to-pion/answer +go install github.com/pion/webrtc/examples/pion-to-pion/answer answer ``` Next, run `offer`: ```sh -go install github.com/pions/webrtc/examples/pion-to-pion/offer +go install github.com/pion/webrtc/examples/pion-to-pion/offer offer ``` @@ -23,4 +23,4 @@ You should see them connect and start to exchange messages. docker-compose up -d ``` -Now, you can see message exchanging, using `docker logs`. \ No newline at end of file +Now, you can see message exchanging, using `docker logs`. diff --git a/examples/pion-to-pion/answer/Dockerfile b/examples/pion-to-pion/answer/Dockerfile index 61e177a9f64..975bed80648 100644 --- a/examples/pion-to-pion/answer/Dockerfile +++ b/examples/pion-to-pion/answer/Dockerfile @@ -1,6 +1,6 @@ FROM golang:1.12 -RUN go get -u github.com/pions/webrtc/examples/pion-to-pion/answer +RUN go get -u github.com/pion/webrtc/examples/pion-to-pion/answer CMD ["answer"] diff --git a/examples/pion-to-pion/answer/main.go b/examples/pion-to-pion/answer/main.go index 074a4b52ca9..f3601775d57 100644 --- a/examples/pion-to-pion/answer/main.go +++ b/examples/pion-to-pion/answer/main.go @@ -7,9 +7,9 @@ import ( "net/http" "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() { diff --git a/examples/pion-to-pion/offer/Dockerfile b/examples/pion-to-pion/offer/Dockerfile index 8d3b919af59..fbdc9b5bda3 100644 --- a/examples/pion-to-pion/offer/Dockerfile +++ b/examples/pion-to-pion/offer/Dockerfile @@ -1,5 +1,5 @@ FROM golang:1.12 -RUN go get -u github.com/pions/webrtc/examples/pion-to-pion/offer +RUN go get -u github.com/pion/webrtc/examples/pion-to-pion/offer CMD ["offer"] diff --git a/examples/pion-to-pion/offer/main.go b/examples/pion-to-pion/offer/main.go index 4bf4277aa96..11f056153ec 100644 --- a/examples/pion-to-pion/offer/main.go +++ b/examples/pion-to-pion/offer/main.go @@ -8,9 +8,9 @@ import ( "net/http" "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() { diff --git a/examples/save-to-disk/README.md b/examples/save-to-disk/README.md index 576577f7ae5..be09209a2c3 100644 --- a/examples/save-to-disk/README.md +++ b/examples/save-to-disk/README.md @@ -4,7 +4,7 @@ save-to-disk is a simple application that shows how to record your webcam using ## Instructions ### Download save-to-disk ``` -go get github.com/pions/webrtc/examples/save-to-disk +go get github.com/pion/webrtc/examples/save-to-disk ``` ### Open save-to-disk example page diff --git a/examples/save-to-disk/main.go b/examples/save-to-disk/main.go index 08d655e271d..725d1183cb4 100644 --- a/examples/save-to-disk/main.go +++ b/examples/save-to-disk/main.go @@ -5,13 +5,13 @@ import ( "os" "time" - "github.com/pions/rtcp" - "github.com/pions/webrtc" - "github.com/pions/webrtc/pkg/media" - "github.com/pions/webrtc/pkg/media/ivfwriter" - "github.com/pions/webrtc/pkg/media/opuswriter" + "github.com/pion/rtcp" + "github.com/pion/webrtc" + "github.com/pion/webrtc/pkg/media" + "github.com/pion/webrtc/pkg/media/ivfwriter" + "github.com/pion/webrtc/pkg/media/opuswriter" - "github.com/pions/webrtc/examples/internal/signal" + "github.com/pion/webrtc/examples/internal/signal" ) func saveToDisk(i media.Writer, track *webrtc.Track) { diff --git a/examples/sfu-minimal/README.md b/examples/sfu-minimal/README.md index a00cd4d1358..8b8f4f5470f 100644 --- a/examples/sfu-minimal/README.md +++ b/examples/sfu-minimal/README.md @@ -6,7 +6,7 @@ This could serve as the building block to building conferencing software, and ot ## Instructions ### Download sfu-minimal ``` -go get github.com/pions/webrtc/examples/sfu-minimal +go get github.com/pion/webrtc/examples/sfu-minimal ``` ### Open sfu-minimal example page @@ -14,7 +14,7 @@ go get github.com/pions/webrtc/examples/sfu-minimal ### Run SFU Minimal #### Linux/macOS -Run `sfu-minimal` OR run `main.go` in `github.com/pions/webrtc/examples/sfu-minimal` +Run `sfu-minimal` OR run `main.go` in `github.com/pion/webrtc/examples/sfu-minimal` ### Start a publisher diff --git a/examples/sfu-minimal/main.go b/examples/sfu-minimal/main.go index 32e63edd683..6d275149b22 100644 --- a/examples/sfu-minimal/main.go +++ b/examples/sfu-minimal/main.go @@ -5,10 +5,10 @@ import ( "io" "time" - "github.com/pions/rtcp" - "github.com/pions/webrtc" + "github.com/pion/rtcp" + "github.com/pion/webrtc" - "github.com/pions/webrtc/examples/internal/signal" + "github.com/pion/webrtc/examples/internal/signal" ) var peerConnectionConfig = webrtc.Configuration{ diff --git a/examples/sfu-ws/README.md b/examples/sfu-ws/README.md index 0eec0c6fae8..1f3b51c3544 100644 --- a/examples/sfu-ws/README.md +++ b/examples/sfu-ws/README.md @@ -6,7 +6,7 @@ This could serve as the building block to building conferencing software, and ot ## Instructions ### Download sfu-ws ``` -go get github.com/pions/webrtc/examples/sfu-ws +go get github.com/pion/webrtc/examples/sfu-ws ``` ### Run SFU diff --git a/examples/sfu-ws/broadcast_data.go b/examples/sfu-ws/broadcast_data.go index 00e0d5f3e03..22308cc63ad 100644 --- a/examples/sfu-ws/broadcast_data.go +++ b/examples/sfu-ws/broadcast_data.go @@ -3,7 +3,7 @@ package main import ( "sync" - "github.com/pions/webrtc" + "github.com/pion/webrtc" ) type BroadcastHub struct { diff --git a/examples/sfu-ws/go.mod b/examples/sfu-ws/go.mod index 047d3516a3a..3f410afeb9c 100644 --- a/examples/sfu-ws/go.mod +++ b/examples/sfu-ws/go.mod @@ -1,11 +1,11 @@ -module github.com/pions/webrtc/examples/sfu-ws +module github.com/pion/webrtc/examples/sfu-ws require ( github.com/gorilla/websocket v1.4.0 - github.com/pions/rtcp v1.1.2 - github.com/pions/webrtc v1.2.0 + github.com/pion/rtcp v1.1.2 + github.com/pion/webrtc v1.2.0 github.com/povilasv/prommod v0.0.11 github.com/prometheus/client_golang v0.9.2 ) -replace github.com/pions/webrtc => ../../ +replace github.com/pion/webrtc => ../../ diff --git a/examples/sfu-ws/go.sum b/examples/sfu-ws/go.sum index 4f8875b7607..f05524c1853 100644 --- a/examples/sfu-ws/go.sum +++ b/examples/sfu-ws/go.sum @@ -24,41 +24,41 @@ github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/pions/datachannel v1.2.0 h1:N12qhHSRVlgBcaal2Hi4skdz7VI4yz6bNC5IJDMzCNw= -github.com/pions/datachannel v1.2.0/go.mod h1:MKPEKJRwX/a9/tyQvcVTUI9szyf8ZuUyZxSA9AVMSro= -github.com/pions/dtls v1.2.2 h1:izn/74bIBxVuHb+NdirkmWMH/yFNd8PBVXJgeH/ofGU= -github.com/pions/dtls v1.2.2/go.mod h1:5o0cLHyBEl8CvuA88enDDM6aBwn4SNo8md2dPhcynfc= -github.com/pions/ice v0.1.0 h1:V3RaaUV7QEFUrNk2tHzRqNo3ldCwwnghEpDIQ8+m/eA= -github.com/pions/ice v0.1.0/go.mod h1:vGnMrwYxOMmfR093luGSh2yMm1DDpPqj8lGRNsmo9VQ= -github.com/pions/ice v0.1.1 h1:SZouAvl9RnrNnCHxSnurOfzqK2+oD0ZeURSoxuOs0tI= -github.com/pions/ice v0.1.1/go.mod h1:vGnMrwYxOMmfR093luGSh2yMm1DDpPqj8lGRNsmo9VQ= -github.com/pions/logging v0.1.0 h1:vr+vInmjaRI06CqPWErEQpywxaqoIZcUjQ2eN68jRbk= -github.com/pions/logging v0.1.0/go.mod h1:duuz9/Se8ujqvq7OPzbnPpRlha6A0fk1Ba2wrbn4zew= -github.com/pions/qtls-vendor-extracted v0.0.0-20190210024908-018998217c65 h1:skcEQZ2eUdm1WKlYu7y1y0HBzOwa1pgSAwvhG6PrI2s= -github.com/pions/qtls-vendor-extracted v0.0.0-20190210024908-018998217c65/go.mod h1:tSUehzG/8OAT3JvWvnovveLfRMM8NvgfN1LzwSrBX5s= -github.com/pions/quic v0.0.1 h1:SvloojnZl+wiaee/yKI88n/wQosFMCvatAKyxoRoiFQ= -github.com/pions/quic v0.0.1/go.mod h1:q62rRbOZG6Keu45rWWljWZHXmB3H7fKdeJ1KtNcDrNQ= -github.com/pions/quic-go v0.7.1-0.20190211221741-ec20a8498576 h1:fD1z2bI0qf8yiZGDg5dxhVPP6xtsACP6FN5rDhpDVfM= -github.com/pions/quic-go v0.7.1-0.20190211221741-ec20a8498576/go.mod h1:YvOsXPS6wXEfRGJobrsWSOBmlN6dkEIg+cUpnSDLkhc= -github.com/pions/rtcp v1.1.2 h1:gTb+GOvOYDRZb+3OgZz5PE51xrHGZL0WIM5X37dGi60= -github.com/pions/rtcp v1.1.2/go.mod h1:E8DBOVSErqbHrUEs8KINt3yhzO7FvKuZr2bVUKTvyaw= -github.com/pions/rtp v1.1.0 h1:aioiXSi2UclJptFRqmii76GTrlgry5ucCGtdKc+5VDs= -github.com/pions/rtp v1.1.0/go.mod h1:Bro/2l0PS5C3SQaEpLA+H34kpKIurx3K2Zln/nKjRMs= -github.com/pions/sctp v1.3.0/go.mod h1:GZTG/xApE7wdUFEQq2Rmzgxl/+YaB/L1k8xUl1D5bmo= -github.com/pions/sctp v1.4.2 h1:oOV8oLmGds2GZnIeGSHn8d385kwBxNeWNJ0kJOIR4yY= -github.com/pions/sctp v1.4.2/go.mod h1:Yws4nn6vR0npKJ2n2R+Cm+0JGaMKca0M1pYdGXovz3o= -github.com/pions/sdp/v2 v2.1.0 h1:YbbbaceX1aB6j3hPVdQ6GnniIRKqT/rmfnt4XvKR/E0= -github.com/pions/sdp/v2 v2.1.0/go.mod h1:KGRBcHfpkgJXjrzKJz2wj/Jf1KWnsHdoIiqtayQ5QmE= -github.com/pions/srtp v1.1.2 h1:mMhn9jsMUokSq+Owyviz6zw9BblBQhHiCB21kpP8KOE= -github.com/pions/srtp v1.1.2/go.mod h1:oQrU6IspEuRx9kdWeX2eb54y6F0ieS0J8GZayc9yZY0= -github.com/pions/stun v0.2.0 h1:spIzpfkEg6HV+2iIo6qeOsAjtadZKzbXbrd2e9ZCCcs= -github.com/pions/stun v0.2.0/go.mod h1:rMdCIsqqnTLC4MOHJE3LNiFQRfIjUDzI1kzx//7oPOM= -github.com/pions/transport v0.0.0-20190110151433-e7cbf7d5f464/go.mod h1:HLhzI7I0k8TyiQ99hfRZNRf84lG76eaFnZHnVy/wFnM= -github.com/pions/transport v0.2.0/go.mod h1:HLhzI7I0k8TyiQ99hfRZNRf84lG76eaFnZHnVy/wFnM= -github.com/pions/transport v0.4.0 h1:1N6fluzmj5W/16eFLDsCB18s/xEkjVTek0K4IJz75FU= -github.com/pions/transport v0.4.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= -github.com/pions/transport v0.5.0 h1:/KGBCzjc8bvVh8P5NP8GiSGL/PbupzhqvEOEBSlZux0= -github.com/pions/transport v0.5.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= +github.com/pion/datachannel v1.2.0 h1:N12qhHSRVlgBcaal2Hi4skdz7VI4yz6bNC5IJDMzCNw= +github.com/pion/datachannel v1.2.0/go.mod h1:MKPEKJRwX/a9/tyQvcVTUI9szyf8ZuUyZxSA9AVMSro= +github.com/pion/dtls v1.2.2 h1:izn/74bIBxVuHb+NdirkmWMH/yFNd8PBVXJgeH/ofGU= +github.com/pion/dtls v1.2.2/go.mod h1:5o0cLHyBEl8CvuA88enDDM6aBwn4SNo8md2dPhcynfc= +github.com/pion/ice v0.1.0 h1:V3RaaUV7QEFUrNk2tHzRqNo3ldCwwnghEpDIQ8+m/eA= +github.com/pion/ice v0.1.0/go.mod h1:vGnMrwYxOMmfR093luGSh2yMm1DDpPqj8lGRNsmo9VQ= +github.com/pion/ice v0.1.1 h1:SZouAvl9RnrNnCHxSnurOfzqK2+oD0ZeURSoxuOs0tI= +github.com/pion/ice v0.1.1/go.mod h1:vGnMrwYxOMmfR093luGSh2yMm1DDpPqj8lGRNsmo9VQ= +github.com/pion/logging v0.1.0 h1:vr+vInmjaRI06CqPWErEQpywxaqoIZcUjQ2eN68jRbk= +github.com/pion/logging v0.1.0/go.mod h1:duuz9/Se8ujqvq7OPzbnPpRlha6A0fk1Ba2wrbn4zew= +github.com/pion/qtls-vendor-extracted v0.0.0-20190210024908-018998217c65 h1:skcEQZ2eUdm1WKlYu7y1y0HBzOwa1pgSAwvhG6PrI2s= +github.com/pion/qtls-vendor-extracted v0.0.0-20190210024908-018998217c65/go.mod h1:tSUehzG/8OAT3JvWvnovveLfRMM8NvgfN1LzwSrBX5s= +github.com/pion/quic v0.0.1 h1:SvloojnZl+wiaee/yKI88n/wQosFMCvatAKyxoRoiFQ= +github.com/pion/quic v0.0.1/go.mod h1:q62rRbOZG6Keu45rWWljWZHXmB3H7fKdeJ1KtNcDrNQ= +github.com/pion/quic-go v0.7.1-0.20190211221741-ec20a8498576 h1:fD1z2bI0qf8yiZGDg5dxhVPP6xtsACP6FN5rDhpDVfM= +github.com/pion/quic-go v0.7.1-0.20190211221741-ec20a8498576/go.mod h1:YvOsXPS6wXEfRGJobrsWSOBmlN6dkEIg+cUpnSDLkhc= +github.com/pion/rtcp v1.1.2 h1:gTb+GOvOYDRZb+3OgZz5PE51xrHGZL0WIM5X37dGi60= +github.com/pion/rtcp v1.1.2/go.mod h1:E8DBOVSErqbHrUEs8KINt3yhzO7FvKuZr2bVUKTvyaw= +github.com/pion/rtp v1.1.0 h1:aioiXSi2UclJptFRqmii76GTrlgry5ucCGtdKc+5VDs= +github.com/pion/rtp v1.1.0/go.mod h1:Bro/2l0PS5C3SQaEpLA+H34kpKIurx3K2Zln/nKjRMs= +github.com/pion/sctp v1.3.0/go.mod h1:GZTG/xApE7wdUFEQq2Rmzgxl/+YaB/L1k8xUl1D5bmo= +github.com/pion/sctp v1.4.2 h1:oOV8oLmGds2GZnIeGSHn8d385kwBxNeWNJ0kJOIR4yY= +github.com/pion/sctp v1.4.2/go.mod h1:Yws4nn6vR0npKJ2n2R+Cm+0JGaMKca0M1pYdGXovz3o= +github.com/pion/sdp/v2 v2.1.0 h1:YbbbaceX1aB6j3hPVdQ6GnniIRKqT/rmfnt4XvKR/E0= +github.com/pion/sdp/v2 v2.1.0/go.mod h1:KGRBcHfpkgJXjrzKJz2wj/Jf1KWnsHdoIiqtayQ5QmE= +github.com/pion/srtp v1.1.2 h1:mMhn9jsMUokSq+Owyviz6zw9BblBQhHiCB21kpP8KOE= +github.com/pion/srtp v1.1.2/go.mod h1:oQrU6IspEuRx9kdWeX2eb54y6F0ieS0J8GZayc9yZY0= +github.com/pion/stun v0.2.0 h1:spIzpfkEg6HV+2iIo6qeOsAjtadZKzbXbrd2e9ZCCcs= +github.com/pion/stun v0.2.0/go.mod h1:rMdCIsqqnTLC4MOHJE3LNiFQRfIjUDzI1kzx//7oPOM= +github.com/pion/transport v0.0.0-20190110151433-e7cbf7d5f464/go.mod h1:HLhzI7I0k8TyiQ99hfRZNRf84lG76eaFnZHnVy/wFnM= +github.com/pion/transport v0.2.0/go.mod h1:HLhzI7I0k8TyiQ99hfRZNRf84lG76eaFnZHnVy/wFnM= +github.com/pion/transport v0.4.0 h1:1N6fluzmj5W/16eFLDsCB18s/xEkjVTek0K4IJz75FU= +github.com/pion/transport v0.4.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= +github.com/pion/transport v0.5.0 h1:/KGBCzjc8bvVh8P5NP8GiSGL/PbupzhqvEOEBSlZux0= +github.com/pion/transport v0.5.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= diff --git a/examples/sfu-ws/main.go b/examples/sfu-ws/main.go index 12e5a214d21..fad1e511cd1 100644 --- a/examples/sfu-ws/main.go +++ b/examples/sfu-ws/main.go @@ -5,7 +5,7 @@ import ( "fmt" "net/http" - "github.com/pions/webrtc" + "github.com/pion/webrtc" "github.com/povilasv/prommod" "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus/promhttp" diff --git a/examples/sfu-ws/room.go b/examples/sfu-ws/room.go index f5b8f71349a..b62a5c86160 100644 --- a/examples/sfu-ws/room.go +++ b/examples/sfu-ws/room.go @@ -9,8 +9,8 @@ import ( "time" "github.com/gorilla/websocket" - "github.com/pions/rtcp" - "github.com/pions/webrtc" + "github.com/pion/rtcp" + "github.com/pion/webrtc" ) // Peer config diff --git a/go.mod b/go.mod index 305a7914b99..896eb0ca1e9 100644 --- a/go.mod +++ b/go.mod @@ -1,16 +1,18 @@ -module github.com/pions/webrtc +module github.com/pion/webrtc + +go 1.12 require ( - github.com/pions/datachannel v1.2.1 - github.com/pions/dtls v1.2.2 - github.com/pions/ice v0.2.0 - github.com/pions/logging v0.2.0 - github.com/pions/quic v0.1.0 - github.com/pions/rtcp v1.1.2 - github.com/pions/rtp v1.1.0 - github.com/pions/sctp v1.4.3 - github.com/pions/sdp/v2 v2.1.0 - github.com/pions/srtp v1.1.2 - github.com/pions/transport v0.5.0 + github.com/pion/datachannel v1.2.2 + github.com/pion/dtls v1.2.3 + github.com/pion/ice v0.2.1 + github.com/pion/logging v0.2.1 + github.com/pion/quic v0.1.1 + github.com/pion/rtcp v1.1.4 + github.com/pion/rtp v1.1.1 + github.com/pion/sctp v1.4.4 + github.com/pion/sdp/v2 v2.1.1 + github.com/pion/srtp v1.1.3 + github.com/pion/transport v0.6.0 github.com/stretchr/testify v1.3.0 ) diff --git a/go.sum b/go.sum index e4d5628dfc0..54a50bc75f2 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,5 @@ github.com/cheekybits/genny v1.0.0 h1:uGGa4nei+j20rOSeDeP5Of12XVm7TGUd4dJA9RDitfE= github.com/cheekybits/genny v1.0.0/go.mod h1:+tQajlRqAUrPI7DOSpB0XAqZYtQakVtB7wXkRAgjxjQ= -github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -21,58 +20,45 @@ github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs= github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU= github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= -github.com/pions/datachannel v1.2.1 h1:zbSwtPqVcjqUM81A3VTR7lGfeAnQgxJhheXSfBk16SM= -github.com/pions/datachannel v1.2.1/go.mod h1:Vd79tKnghclBJLCYNqN0xQzw3u3P2N/7QHYoLCLh2+Q= -github.com/pions/dtls v1.0.2/go.mod h1:T22vu8VCOxNmIrbe3nnM1UdIo3m1Bx5CJNkHyehahLg= -github.com/pions/dtls v1.2.2 h1:izn/74bIBxVuHb+NdirkmWMH/yFNd8PBVXJgeH/ofGU= -github.com/pions/dtls v1.2.2/go.mod h1:5o0cLHyBEl8CvuA88enDDM6aBwn4SNo8md2dPhcynfc= -github.com/pions/ice v0.2.0 h1:1FQNPY3KZHoft9Qg3POnEQFAei2IM3KBfHbJ9Uo0apw= -github.com/pions/ice v0.2.0/go.mod h1:+WYLnnIPnit0VaD+pEx3zZrBoCAWErBYNmlF2bvrUP0= -github.com/pions/logging v0.2.0 h1:xSCkE+7+aebgVimtHBv7Y8b8waT8pgeyKku9Bo+eGdk= -github.com/pions/logging v0.2.0/go.mod h1:duuz9/Se8ujqvq7OPzbnPpRlha6A0fk1Ba2wrbn4zew= -github.com/pions/pkg v0.0.0-20181115215726-b60cd756f712/go.mod h1:r9wKZs+Xxv2acLspex4CHQiIhFjGK1zGP+nUm/8klXA= -github.com/pions/quic v0.1.0 h1:k5oxv8RNd6s7Pf6nH6ypiHVWzjr/X+BeBKDSAoH2WqI= -github.com/pions/quic v0.1.0/go.mod h1:8XSfC7+budvgzjIK29ajdA9ueNY/JCelCFtPz2ZgIpo= -github.com/pions/rtcp v1.1.2 h1:gTb+GOvOYDRZb+3OgZz5PE51xrHGZL0WIM5X37dGi60= -github.com/pions/rtcp v1.1.2/go.mod h1:E8DBOVSErqbHrUEs8KINt3yhzO7FvKuZr2bVUKTvyaw= -github.com/pions/rtp v1.1.0 h1:aioiXSi2UclJptFRqmii76GTrlgry5ucCGtdKc+5VDs= -github.com/pions/rtp v1.1.0/go.mod h1:Bro/2l0PS5C3SQaEpLA+H34kpKIurx3K2Zln/nKjRMs= -github.com/pions/sctp v1.4.0/go.mod h1:dAna+Ct/aIIFiGW45yhGzuQjULWD7ni1vjoKHa9DsyU= -github.com/pions/sctp v1.4.3 h1:1nFC6nP9MhO1KNELNTTb8ETnXn5IlVJQr9s6ak0Y4l0= -github.com/pions/sctp v1.4.3/go.mod h1:Yws4nn6vR0npKJ2n2R+Cm+0JGaMKca0M1pYdGXovz3o= -github.com/pions/sdp/v2 v2.1.0 h1:YbbbaceX1aB6j3hPVdQ6GnniIRKqT/rmfnt4XvKR/E0= -github.com/pions/sdp/v2 v2.1.0/go.mod h1:KGRBcHfpkgJXjrzKJz2wj/Jf1KWnsHdoIiqtayQ5QmE= -github.com/pions/srtp v1.1.2 h1:mMhn9jsMUokSq+Owyviz6zw9BblBQhHiCB21kpP8KOE= -github.com/pions/srtp v1.1.2/go.mod h1:oQrU6IspEuRx9kdWeX2eb54y6F0ieS0J8GZayc9yZY0= -github.com/pions/stun v0.2.0 h1:spIzpfkEg6HV+2iIo6qeOsAjtadZKzbXbrd2e9ZCCcs= -github.com/pions/stun v0.2.0/go.mod h1:rMdCIsqqnTLC4MOHJE3LNiFQRfIjUDzI1kzx//7oPOM= -github.com/pions/transport v0.2.0 h1:e3B5V7rATCNCxl0qlU0S0ofpt1E77X5pCbeUVQ0ntpA= -github.com/pions/transport v0.2.0/go.mod h1:HLhzI7I0k8TyiQ99hfRZNRf84lG76eaFnZHnVy/wFnM= -github.com/pions/transport v0.4.0 h1:1N6fluzmj5W/16eFLDsCB18s/xEkjVTek0K4IJz75FU= -github.com/pions/transport v0.4.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= -github.com/pions/transport v0.5.0 h1:/KGBCzjc8bvVh8P5NP8GiSGL/PbupzhqvEOEBSlZux0= -github.com/pions/transport v0.5.0/go.mod h1:9gvUd8ZeyU4ZX7dhNuUq97mPoekopkd7eCJEyhKwVO0= -github.com/pions/webrtc v1.2.0/go.mod h1:bih1dMY7qksVxZTG2XMjIA6J7D5b92+MJzXYe+G2kng= +github.com/pion/datachannel v1.2.2 h1:Ir4NL3svXjix26skf3Y0yfDXC6ztB5PnwB5EacfV/qY= +github.com/pion/datachannel v1.2.2/go.mod h1:OHz0QB98N/iLKf38LwSA8m9A6Y51cswmp/IluvjsPWk= +github.com/pion/dtls v1.2.3 h1:4ZVFJHLIvro3holCH7bs1XhuAzs9idC8gUsMRDfahwM= +github.com/pion/dtls v1.2.3/go.mod h1:krdyIQPgcrKJu/Rr/lJS9tIFeA6hqMpcpDeVLzLN0+s= +github.com/pion/ice v0.2.1 h1:DhYn8s52H54SBbS5qu3XoGvTfseU47pe15yV3udNpww= +github.com/pion/ice v0.2.1/go.mod h1:igvbO76UeYthbSu0UsUTqjyWpFT3diUmM+x2vt4p4fw= +github.com/pion/logging v0.2.1 h1:LwASkBKZ+2ysGJ+jLv1E/9H1ge0k1nTfi1X+5zirkDk= +github.com/pion/logging v0.2.1/go.mod h1:k0/tDVsRCX2Mb2ZEmTqNa7CWsQPc+YYCB7Q+5pahoms= +github.com/pion/quic v0.1.1 h1:D951FV+TOqI9A0rTF7tHx0Loooqz+nyzjEyj8o3PuMA= +github.com/pion/quic v0.1.1/go.mod h1:zEU51v7ru8Mp4AUBJvj6psrSth5eEFNnVQK5K48oV3k= +github.com/pion/rtcp v1.1.4 h1:LW1zS49QXeuhKyFr7hFOlvnZZ2cR8lluTYg5jilGnKY= +github.com/pion/rtcp v1.1.4/go.mod h1:a5dj2d6BKIKHl43EnAOIrCczcjESrtPuMgfmL6/K6QM= +github.com/pion/rtp v1.1.1 h1:lag+9/lSOLBEYeYB/28KXm/ka1H++4wkmSj/WkttV6Y= +github.com/pion/rtp v1.1.1/go.mod h1:/l4cvcKd0D3u9JLs2xSVI95YkfXW87a3br3nqmVtSlE= +github.com/pion/sctp v1.4.4 h1:0d3c1g7OtvPYMVWPSNu8w37yJaKUcjCupVQ1zVcnIOc= +github.com/pion/sctp v1.4.4/go.mod h1:oS057xrxwNbgFWap0buUuAJalfVezrOEwdmEoydf5x4= +github.com/pion/sdp/v2 v2.1.1 h1:i3fAyjiLuQseYNo0BtCOPfzp91Ppb7vasRGmUUTog28= +github.com/pion/sdp/v2 v2.1.1/go.mod h1:idSlWxhfWQDtTy9J05cgxpHBu/POwXN2VDRGYxT/EjU= +github.com/pion/srtp v1.1.3 h1:8VNvpIft38BDgQj6pMSjjQnzd3KyMbheSFnJplKmIDU= +github.com/pion/srtp v1.1.3/go.mod h1:B5aBwQ5Ae2taFyZy9WBZz5Eqdt1exEYqfq0MGCSBVvA= +github.com/pion/stun v0.2.1 h1:rSKJ0ynYkRalRD8BifmkaGLeepCFuGTwG6FxPsrPK8o= +github.com/pion/stun v0.2.1/go.mod h1:TChCNKgwnFiFG/c9K+zqEdd6pO6tlODb9yN1W/zVfsE= +github.com/pion/transport v0.6.0 h1:WAoyJg/6OI8dhCVFl/0JHTMd1iu2iHgGUXevptMtJ3U= +github.com/pion/transport v0.6.0/go.mod h1:iWZ07doqOosSLMhZ+FXUTq+TamDoXSllxpbGcfkCmbE= github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= -golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25 h1:jsG6UpNLt9iAsb0S2AGW28DveNzzgmbXR+ENoPjUeIU= golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd h1:nTDtHvHSdCn1m6ITfMRqtOd/9+7a3s8RBNOZ3eYZzJA= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3 h1:eH6Eip3UpmR+yM/qI9Ijluzb1bNv/cAU/n+6l8tRSis= -golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f h1:wMNYb4v58l5UBM7MYRLPG6ZhfOqbKu7X5eyFl8ZhKvA= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e h1:o3PsSEY8E4eXWkXrIP9YJALUkVZqzHJT5DOasTyn8Vs= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e h1:ZytStCyV048ZqDsWHiYDdoI2Vd4msMcrDECFxS+tL9c= diff --git a/icecandidate.go b/icecandidate.go index d7ba06ed269..0539e6bb7ff 100644 --- a/icecandidate.go +++ b/icecandidate.go @@ -5,8 +5,8 @@ import ( "fmt" "net" - "github.com/pions/ice" - "github.com/pions/sdp/v2" + "github.com/pion/ice" + "github.com/pion/sdp/v2" ) // ICECandidate represents a ice candidate diff --git a/icecandidate_test.go b/icecandidate_test.go index 14053725c69..7f4bceb5124 100644 --- a/icecandidate_test.go +++ b/icecandidate_test.go @@ -4,8 +4,8 @@ import ( "net" "testing" - "github.com/pions/ice" - "github.com/pions/sdp/v2" + "github.com/pion/ice" + "github.com/pion/sdp/v2" "github.com/stretchr/testify/assert" ) diff --git a/icegatherer.go b/icegatherer.go index d73f07ee2b3..d663205f5c6 100644 --- a/icegatherer.go +++ b/icegatherer.go @@ -6,7 +6,7 @@ import ( "errors" "sync" - "github.com/pions/ice" + "github.com/pion/ice" ) // The ICEGatherer gathers local host, server reflexive and relay diff --git a/icegatherer_test.go b/icegatherer_test.go index 1a1e8548568..1f02473145e 100644 --- a/icegatherer_test.go +++ b/icegatherer_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "github.com/pions/transport/test" + "github.com/pion/transport/test" ) func TestNewICEGatherer_Success(t *testing.T) { diff --git a/iceserver.go b/iceserver.go index e3f465a47f0..463ebdbf59f 100644 --- a/iceserver.go +++ b/iceserver.go @@ -3,8 +3,8 @@ package webrtc import ( - "github.com/pions/ice" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/ice" + "github.com/pion/webrtc/pkg/rtcerr" ) // ICEServer describes a single STUN and TURN server that can be used by diff --git a/iceserver_js.go b/iceserver_js.go index 984c01e7dbc..227014acbfa 100644 --- a/iceserver_js.go +++ b/iceserver_js.go @@ -5,7 +5,7 @@ package webrtc import ( "errors" - "github.com/pions/ice" + "github.com/pion/ice" ) // ICEServer describes a single STUN and TURN server that can be used by diff --git a/iceserver_test.go b/iceserver_test.go index b49cba7ff8a..aef9709c94f 100644 --- a/iceserver_test.go +++ b/iceserver_test.go @@ -5,8 +5,8 @@ package webrtc import ( "testing" - "github.com/pions/ice" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/ice" + "github.com/pion/webrtc/pkg/rtcerr" "github.com/stretchr/testify/assert" ) @@ -69,7 +69,7 @@ func TestICEServer_validate(t *testing.T) { Username: "unittest", Credential: false, CredentialType: ICECredentialTypeOauth, - }, &rtcerr.SyntaxError{Err: ice.ErrSTUNQuery}}, + }, ice.ErrSTUNQuery}, } for i, testCase := range testCases { diff --git a/icetransport.go b/icetransport.go index bd64f3c7392..8edcce39abb 100644 --- a/icetransport.go +++ b/icetransport.go @@ -7,9 +7,9 @@ import ( "errors" "sync" - "github.com/pions/ice" - "github.com/pions/logging" - "github.com/pions/webrtc/internal/mux" + "github.com/pion/ice" + "github.com/pion/logging" + "github.com/pion/webrtc/internal/mux" ) // ICETransport allows an application access to information about the ICE diff --git a/icetransport_test.go b/icetransport_test.go index 390729ad86b..6a25b037357 100644 --- a/icetransport_test.go +++ b/icetransport_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/pions/transport/test" + "github.com/pion/transport/test" ) func TestICETransport_OnSelectedCandidatePairChange(t *testing.T) { diff --git a/icetransportstate.go b/icetransportstate.go index 9faa95d4c87..5aac3c4cc9d 100644 --- a/icetransportstate.go +++ b/icetransportstate.go @@ -1,6 +1,6 @@ package webrtc -import "github.com/pions/ice" +import "github.com/pion/ice" // ICETransportState represents the current state of the ICE transport. type ICETransportState int diff --git a/icetransportstate_test.go b/icetransportstate_test.go index e44655952cd..62c5dfa6252 100644 --- a/icetransportstate_test.go +++ b/icetransportstate_test.go @@ -3,7 +3,7 @@ package webrtc import ( "testing" - "github.com/pions/ice" + "github.com/pion/ice" "github.com/stretchr/testify/assert" ) diff --git a/internal/mux/endpoint.go b/internal/mux/endpoint.go index 22fc529196b..8ce9199c9fe 100644 --- a/internal/mux/endpoint.go +++ b/internal/mux/endpoint.go @@ -4,7 +4,7 @@ import ( "net" "time" - "github.com/pions/transport/packetio" + "github.com/pion/transport/packetio" ) // Endpoint implements net.Conn. It is used to read muxed packets. diff --git a/internal/mux/mux.go b/internal/mux/mux.go index f0124af8978..8d9082eca3c 100644 --- a/internal/mux/mux.go +++ b/internal/mux/mux.go @@ -4,8 +4,8 @@ import ( "net" "sync" - "github.com/pions/logging" - "github.com/pions/transport/packetio" + "github.com/pion/logging" + "github.com/pion/transport/packetio" ) // The maximum amount of data that can be buffered before returning errors. diff --git a/internal/mux/mux_test.go b/internal/mux/mux_test.go index 40c8cbe5302..978cd7154d5 100644 --- a/internal/mux/mux_test.go +++ b/internal/mux/mux_test.go @@ -5,8 +5,8 @@ import ( "testing" "time" - "github.com/pions/logging" - "github.com/pions/transport/test" + "github.com/pion/logging" + "github.com/pion/transport/test" ) func TestStressDuplex(t *testing.T) { diff --git a/mediaengine.go b/mediaengine.go index 0082b38aa2f..11077d872d4 100644 --- a/mediaengine.go +++ b/mediaengine.go @@ -6,9 +6,9 @@ import ( "strconv" "strings" - "github.com/pions/rtp" - "github.com/pions/rtp/codecs" - "github.com/pions/sdp/v2" + "github.com/pion/rtp" + "github.com/pion/rtp/codecs" + "github.com/pion/sdp/v2" ) // PayloadTypes for the default codecs @@ -32,7 +32,7 @@ func (m *MediaEngine) RegisterCodec(codec *RTPCodec) uint8 { return codec.PayloadType } -// RegisterDefaultCodecs is a helper that registers the default codecs supported by pions-webrtc +// RegisterDefaultCodecs is a helper that registers the default codecs supported by pion-webrtc func (m *MediaEngine) RegisterDefaultCodecs() { m.RegisterCodec(NewRTPOpusCodec(DefaultPayloadTypeOpus, 48000)) m.RegisterCodec(NewRTPG722Codec(DefaultPayloadTypeG722, 8000)) @@ -73,7 +73,7 @@ func (m *MediaEngine) getCodecsByKind(kind RTPCodecType) []*RTPCodec { return codecs } -// Names for the default codecs supported by pions-webrtc +// Names for the default codecs supported by pion-webrtc const ( G722 = "G722" Opus = "opus" diff --git a/mediaengine_test.go b/mediaengine_test.go index 5725d3ffb40..329d8b3f5a3 100644 --- a/mediaengine_test.go +++ b/mediaengine_test.go @@ -5,7 +5,7 @@ package webrtc import ( "testing" - "github.com/pions/sdp/v2" + "github.com/pion/sdp/v2" "github.com/stretchr/testify/assert" ) diff --git a/package.json b/package.json index bbbb71d4dbc..9cb94214720 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webrtc", - "repository": "git@github.com:pions/webrtc.git", + "repository": "git@github.com:pion/webrtc.git", "private": true, "devDependencies": { "wrtc": "^0.3.5" diff --git a/peerconnection.go b/peerconnection.go index d7bb6471f8d..e3e930c1726 100644 --- a/peerconnection.go +++ b/peerconnection.go @@ -17,12 +17,12 @@ import ( "sync" "time" - "github.com/pions/ice" - "github.com/pions/logging" - "github.com/pions/rtcp" - "github.com/pions/sdp/v2" - "github.com/pions/webrtc/internal/util" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/ice" + "github.com/pion/logging" + "github.com/pion/rtcp" + "github.com/pion/sdp/v2" + "github.com/pion/webrtc/internal/util" + "github.com/pion/webrtc/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a diff --git a/peerconnection_close_test.go b/peerconnection_close_test.go index 735bc9c955c..4a3c273c89f 100644 --- a/peerconnection_close_test.go +++ b/peerconnection_close_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "github.com/pions/transport/test" + "github.com/pion/transport/test" ) // TestPeerConnection_Close is moved to it's own file because the tests diff --git a/peerconnection_go_test.go b/peerconnection_go_test.go index beae64d9aa0..e2e004ee5a0 100644 --- a/peerconnection_go_test.go +++ b/peerconnection_go_test.go @@ -12,10 +12,10 @@ import ( "testing" "time" - "github.com/pions/ice" - "github.com/pions/transport/test" - "github.com/pions/webrtc/internal/mux" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/ice" + "github.com/pion/transport/test" + "github.com/pion/webrtc/internal/mux" + "github.com/pion/webrtc/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection_js.go b/peerconnection_js.go index bcff2fc834a..8a72620b2c0 100644 --- a/peerconnection_js.go +++ b/peerconnection_js.go @@ -6,7 +6,7 @@ package webrtc import ( "syscall/js" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/webrtc/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a diff --git a/peerconnection_media_test.go b/peerconnection_media_test.go index d15518bade1..50b311aa0fd 100644 --- a/peerconnection_media_test.go +++ b/peerconnection_media_test.go @@ -11,9 +11,9 @@ import ( "testing" "time" - "github.com/pions/rtcp" - "github.com/pions/transport/test" - "github.com/pions/webrtc/pkg/media" + "github.com/pion/rtcp" + "github.com/pion/transport/test" + "github.com/pion/webrtc/pkg/media" ) /* diff --git a/peerconnection_test.go b/peerconnection_test.go index 309d922b0ba..da69b5d00f9 100644 --- a/peerconnection_test.go +++ b/peerconnection_test.go @@ -7,7 +7,7 @@ import ( "testing" "time" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/webrtc/pkg/rtcerr" "github.com/stretchr/testify/assert" ) @@ -239,7 +239,7 @@ func TestPeerConnection_GetConfiguration(t *testing.T) { assert.Equal(t, expected.BundlePolicy, actual.BundlePolicy) assert.Equal(t, expected.RTCPMuxPolicy, actual.RTCPMuxPolicy) // TODO(albrow): Uncomment this after #513 is fixed. - // See: https://github.com/pions/webrtc/issues/513. + // See: https://github.com/pion/webrtc/issues/513. // assert.Equal(t, len(expected.Certificates), len(actual.Certificates)) assert.Equal(t, expected.ICECandidatePoolSize, actual.ICECandidatePoolSize) } diff --git a/pkg/media/ivfwriter/ivfwriter.go b/pkg/media/ivfwriter/ivfwriter.go index 8aad7c50b49..e51dfec33a6 100644 --- a/pkg/media/ivfwriter/ivfwriter.go +++ b/pkg/media/ivfwriter/ivfwriter.go @@ -6,8 +6,8 @@ import ( "io" "os" - "github.com/pions/rtp" - "github.com/pions/rtp/codecs" + "github.com/pion/rtp" + "github.com/pion/rtp/codecs" ) // IVFWriter is used to take RTP packets and write them to an IVF on disk @@ -71,8 +71,7 @@ func (i *IVFWriter) WriteRTP(packet *rtp.Packet) error { } vp8Packet := codecs.VP8Packet{} - _, err := vp8Packet.Unmarshal(packet) - if err != nil { + if _, err := vp8Packet.Unmarshal(packet.Payload); err != nil { return err } diff --git a/pkg/media/ivfwriter/ivfwriter_test.go b/pkg/media/ivfwriter/ivfwriter_test.go index 3ffe51a1d72..6a87a4d0081 100644 --- a/pkg/media/ivfwriter/ivfwriter_test.go +++ b/pkg/media/ivfwriter/ivfwriter_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - "github.com/pions/rtp" + "github.com/pion/rtp" "github.com/stretchr/testify/assert" ) @@ -63,7 +63,7 @@ func TestIVFWriter_AddPacketAndClose(t *testing.T) { message: "IVFWriter shouldn't be able to write something an empty packet", messageClose: "IVFWriter should be able to close the file", packet: &rtp.Packet{}, - err: fmt.Errorf("Payload is not large enough to container header"), + err: fmt.Errorf("invalid nil packet"), closeErr: nil, }, { diff --git a/pkg/media/media.go b/pkg/media/media.go index c9c1a478879..a77b373e116 100644 --- a/pkg/media/media.go +++ b/pkg/media/media.go @@ -1,7 +1,7 @@ package media import ( - "github.com/pions/rtp" + "github.com/pion/rtp" ) // Sample contains media, and the amount of samples in it diff --git a/pkg/media/opuswriter/opuswriter.go b/pkg/media/opuswriter/opuswriter.go index f9caf8b3cfe..d674f92ade0 100644 --- a/pkg/media/opuswriter/opuswriter.go +++ b/pkg/media/opuswriter/opuswriter.go @@ -8,8 +8,8 @@ import ( "math/rand" "os" - "github.com/pions/rtp" - "github.com/pions/rtp/codecs" + "github.com/pion/rtp" + "github.com/pion/rtp/codecs" ) // OpusWriter is used to take RTP packets and write them to an OGG on disk @@ -105,7 +105,7 @@ func (i *OpusWriter) writeHeaders() error { oggCommentHeader := make([]byte, 21) copy(oggCommentHeader[0:], []byte("OpusTags")) // Magic Signature 'OpusTags' binary.LittleEndian.PutUint32(oggCommentHeader[8:], 5) // Vendor Length - copy(oggCommentHeader[12:], []byte("pions")) // Vendor name 'pions' + copy(oggCommentHeader[12:], []byte("pion")) // Vendor name 'pion' binary.LittleEndian.PutUint32(oggCommentHeader[17:], 0) // User Comment List Length // RFC specifies that the page where the CommentHeader completes should have a granule position of 0 @@ -145,9 +145,9 @@ func (i *OpusWriter) WriteRTP(packet *rtp.Packet) error { if i.stream == nil { return fmt.Errorf("file not opened") } + opusPacket := codecs.OpusPacket{} - _, err := opusPacket.Unmarshal(packet) - if err != nil { + if _, err := opusPacket.Unmarshal(packet.Payload); err != nil { // Only handle Opus packets return err } @@ -163,7 +163,7 @@ func (i *OpusWriter) WriteRTP(packet *rtp.Packet) error { data := i.createPage(payload, 0, i.previousGranulePosition) - _, err = i.stream.Write(data) + _, err := i.stream.Write(data) return err } diff --git a/pkg/media/opuswriter/opuswriter_test.go b/pkg/media/opuswriter/opuswriter_test.go index 4bfbc2a6240..9220ff43450 100644 --- a/pkg/media/opuswriter/opuswriter_test.go +++ b/pkg/media/opuswriter/opuswriter_test.go @@ -6,7 +6,7 @@ import ( "io" "testing" - "github.com/pions/rtp" + "github.com/pion/rtp" "github.com/stretchr/testify/assert" ) @@ -62,7 +62,7 @@ func TestOpusWriter_AddPacketAndClose(t *testing.T) { message: "OpusWriter shouldn't be able to write an empty packet", messageClose: "OpusWriter should be able to close the file", packet: &rtp.Packet{}, - err: fmt.Errorf("Payload is not large enough"), + err: fmt.Errorf("invalid nil packet"), closeErr: nil, }, { diff --git a/pkg/media/samplebuilder/samplebuilder.go b/pkg/media/samplebuilder/samplebuilder.go index 480dc907512..50302d3308f 100644 --- a/pkg/media/samplebuilder/samplebuilder.go +++ b/pkg/media/samplebuilder/samplebuilder.go @@ -1,8 +1,8 @@ package samplebuilder import ( - "github.com/pions/rtp" - "github.com/pions/webrtc/pkg/media" + "github.com/pion/rtp" + "github.com/pion/webrtc/pkg/media" ) // SampleBuilder contains all packets diff --git a/pkg/media/samplebuilder/samplebuilder_test.go b/pkg/media/samplebuilder/samplebuilder_test.go index 92da5c34080..0352c50e816 100644 --- a/pkg/media/samplebuilder/samplebuilder_test.go +++ b/pkg/media/samplebuilder/samplebuilder_test.go @@ -3,8 +3,8 @@ package samplebuilder import ( "testing" - "github.com/pions/rtp" - "github.com/pions/webrtc/pkg/media" + "github.com/pion/rtp" + "github.com/pion/webrtc/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/pkg/null/null_test.go b/pkg/null/null_test.go index 2dc02a76e94..6d5674a67b7 100644 --- a/pkg/null/null_test.go +++ b/pkg/null/null_test.go @@ -211,7 +211,7 @@ func TestNewRune(t *testing.T) { } func TestNewString(t *testing.T) { - value := string("pions") + value := string("pion") nullable := NewString(value) assert.Equal(t, diff --git a/quictransport.go b/quictransport.go index 1313e524980..2d20dc930ae 100644 --- a/quictransport.go +++ b/quictransport.go @@ -13,10 +13,10 @@ import ( "sync" "time" - "github.com/pions/dtls" - "github.com/pions/quic" - "github.com/pions/webrtc/internal/mux" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/dtls" + "github.com/pion/quic" + "github.com/pion/webrtc/internal/mux" + "github.com/pion/webrtc/pkg/rtcerr" ) // QUICTransport is a specialization of QuicTransportBase focused on diff --git a/quictransport_test.go b/quictransport_test.go index 1a14753e509..b47952b2c57 100644 --- a/quictransport_test.go +++ b/quictransport_test.go @@ -6,9 +6,9 @@ import ( "testing" "time" - "github.com/pions/quic" - "github.com/pions/transport/test" - "github.com/pions/webrtc/internal/util" + "github.com/pion/quic" + "github.com/pion/transport/test" + "github.com/pion/webrtc/internal/util" ) func TestQUICTransport_E2E(t *testing.T) { diff --git a/rtpreceiver.go b/rtpreceiver.go index 3e4382dd32d..faead5888b9 100644 --- a/rtpreceiver.go +++ b/rtpreceiver.go @@ -6,8 +6,8 @@ import ( "fmt" "sync" - "github.com/pions/rtcp" - "github.com/pions/srtp" + "github.com/pion/rtcp" + "github.com/pion/srtp" ) // RTPReceiver allows an application to inspect the receipt of a Track diff --git a/rtpsender.go b/rtpsender.go index 56bdfd30a11..03295bb904a 100644 --- a/rtpsender.go +++ b/rtpsender.go @@ -6,10 +6,10 @@ import ( "fmt" "sync" - "github.com/pions/ice" - "github.com/pions/rtcp" - "github.com/pions/rtp" - "github.com/pions/srtp" + "github.com/pion/ice" + "github.com/pion/rtcp" + "github.com/pion/rtp" + "github.com/pion/srtp" ) // RTPSender allows an application to control how a given Track is encoded and transmitted to a remote peer diff --git a/sctptransport.go b/sctptransport.go index bce42cc2696..9440a00ccdb 100644 --- a/sctptransport.go +++ b/sctptransport.go @@ -7,9 +7,9 @@ import ( "math" "sync" - "github.com/pions/datachannel" - "github.com/pions/logging" - "github.com/pions/sctp" + "github.com/pion/datachannel" + "github.com/pion/logging" + "github.com/pion/sctp" ) const sctpMaxChannels = uint16(65535) diff --git a/sessiondescription.go b/sessiondescription.go index 8ac09c0a9e6..f752a7dab23 100644 --- a/sessiondescription.go +++ b/sessiondescription.go @@ -1,7 +1,7 @@ package webrtc import ( - "github.com/pions/sdp/v2" + "github.com/pion/sdp/v2" ) // SessionDescription is used to expose local and remote session descriptions. diff --git a/settingengine.go b/settingengine.go index 57455af9a46..946ec7aec68 100644 --- a/settingengine.go +++ b/settingengine.go @@ -5,8 +5,8 @@ package webrtc import ( "time" - "github.com/pions/ice" - "github.com/pions/logging" + "github.com/pion/ice" + "github.com/pion/logging" ) // SettingEngine allows influencing behavior in ways that are not diff --git a/signalingstate.go b/signalingstate.go index 0391ae874be..ac4371f9ad3 100644 --- a/signalingstate.go +++ b/signalingstate.go @@ -3,7 +3,7 @@ package webrtc import ( "fmt" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/webrtc/pkg/rtcerr" ) type stateChangeOp int diff --git a/signalingstate_test.go b/signalingstate_test.go index 391fa4c9a05..dc679a66fec 100644 --- a/signalingstate_test.go +++ b/signalingstate_test.go @@ -3,7 +3,7 @@ package webrtc import ( "testing" - "github.com/pions/webrtc/pkg/rtcerr" + "github.com/pion/webrtc/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/track.go b/track.go index 98e8f047828..79b8fa1c932 100644 --- a/track.go +++ b/track.go @@ -7,8 +7,8 @@ import ( "io" "sync" - "github.com/pions/rtp" - "github.com/pions/webrtc/pkg/media" + "github.com/pion/rtp" + "github.com/pion/webrtc/pkg/media" ) const (