diff --git a/.travis.yml b/.travis.yml index 6865e449462..a33d7d36932 100644 --- a/.travis.yml +++ b/.travis.yml @@ -48,4 +48,4 @@ script: - go test -tags quic -coverpkg=$(go list ./... | grep -v examples | tr '\n' ',') -coverprofile=cover.out -v -race -covermode=atomic ./... - GOOS=js GOARCH=wasm go test -exec="./test-wasm/go_js_wasm_exec" -v . - bash <(curl -s https://codecov.io/bash) - - docker run -e "GO111MODULE=on" -v $PWD:/go/src/github.com/pion/webrtc -w /go/src/github.com/pion/webrtc -it i386/golang:1.13-buster '/usr/local/go/bin/go' 'test' '-tags' 'quic' "-coverpkg=$(go list ./... | grep -v examples | tr '\n' ',')" '-v' './...' + - docker run -e "GO111MODULE=on" -v $PWD:/go/src/github.com/hcm007/webrtc -w /go/src/github.com/hcm007/webrtc -it i386/golang:1.13-buster '/usr/local/go/bin/go' 'test' '-tags' 'quic' "-coverpkg=$(go list ./... | grep -v examples | tr '\n' ',')" '-v' './...' diff --git a/DESIGN.md b/DESIGN.md index 17c546c0212..8dda7178af9 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/pion/webrtc/tree/master/examples) and [GoDoc](https://godoc.org/github.com/pion/webrtc) +If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/hcm007/webrtc/tree/master/examples) and [GoDoc](https://godoc.org/github.com/hcm007/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 9e6a51a05ac..3ddb94903a6 100644 --- a/README.md +++ b/README.md @@ -7,13 +7,13 @@

A pure Go implementation of the WebRTC API

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

@@ -28,14 +28,14 @@ Pion WebRTC v2.0.0 has arrived! See the [release notes](https://pion.ly/knowledg Have any questions? Join [the Slack channel](https://pion.ly/slack) to follow development and speak with the maintainers. -We are actively planning [v2.1.0](https://github.com/pion/webrtc/projects/11) and would love your feedback! Anyone can add issues, and anything that you think can empower Pion users. +We are actively planning [v2.1.0](https://github.com/hcm007/webrtc/projects/11) and would love your feedback! Anyone can add issues, and anything that you think can empower Pion users. ### Usage Check out the **[example applications](examples/README.md)** to help you along your Pion WebRTC journey. For more full featured examples that use 3rd party libraries see our **[example-webrtc-applications](https://github.com/pion/example-webrtc-applications)** repo. -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. +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/hcm007/webrtc)** is actively maintained. We maintain a [FAQ](https://pion.ly/knowledge-base/pion-basics/faq/) with answers to common questions. If you have a question not covered please submit a PR, we would be happy to answer it! @@ -53,11 +53,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/pion/webrtc/wiki/WebAssembly-Development-and-Testing) +[Wiki page on WebAssembly Development](https://github.com/hcm007/webrtc/wiki/WebAssembly-Development-and-Testing) for more information. ### Roadmap -The library is in active development, please refer to the [roadmap](https://github.com/pion/webrtc/issues/9) to track our major milestones. +The library is in active development, please refer to the [roadmap](https://github.com/hcm007/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). @@ -78,7 +78,7 @@ If you need commercial support or don't want to use public methods you can conta * [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/pion/webrtc/wiki/Contributing)** to join the group of amazing people making this project possible: +Check out the **[contributing wiki](https://github.com/hcm007/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/certificate.go b/certificate.go index ff3ab072481..17373e17ae1 100644 --- a/certificate.go +++ b/certificate.go @@ -15,7 +15,7 @@ import ( "time" "github.com/pion/dtls" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // Certificate represents a x509Cert used to authenticate WebRTC communications. diff --git a/datachannel.go b/datachannel.go index 1d07ea7bf56..5cb4b52c73e 100644 --- a/datachannel.go +++ b/datachannel.go @@ -11,7 +11,7 @@ import ( "github.com/pion/datachannel" "github.com/pion/logging" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) const dataChannelBufferSize = math.MaxUint16 //message size limit for Chromium diff --git a/datachannel_ortc_test.go b/datachannel_ortc_test.go index b3da1a310cd..3f756e4371c 100644 --- a/datachannel_ortc_test.go +++ b/datachannel_ortc_test.go @@ -7,7 +7,7 @@ import ( "time" "github.com/pion/transport/test" - "github.com/pion/webrtc/v2/internal/util" + "github.com/hcm007/webrtc/v2/internal/util" ) func TestDataChannel_ORTCE2E(t *testing.T) { diff --git a/dtlstransport.go b/dtlstransport.go index 9aaf107cc4f..c22dd07856a 100644 --- a/dtlstransport.go +++ b/dtlstransport.go @@ -15,9 +15,9 @@ import ( "github.com/pion/dtls" "github.com/pion/srtp" - "github.com/pion/webrtc/v2/internal/mux" - "github.com/pion/webrtc/v2/internal/util" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/internal/mux" + "github.com/hcm007/webrtc/v2/internal/util" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // DTLSTransport allows an application access to information about the DTLS diff --git a/examples/README.md b/examples/README.md index b7ed600d844..f659d45aa4c 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 - GO111MODULE=on go get github.com/pion/webrtc/v2 - cd $GOPATH/src/github.com/pion/webrtc/examples + GO111MODULE=on go get github.com/hcm007/webrtc/v2 + cd $GOPATH/src/github.com/hcm007/webrtc/examples go run examples.go ``` diff --git a/examples/custom-logger/README.md b/examples/custom-logger/README.md index a9391e299d5..6bfbd752397 100644 --- a/examples/custom-logger/README.md +++ b/examples/custom-logger/README.md @@ -6,7 +6,7 @@ users to override this and process messages however they want. ## Instructions ### Download custom-logger ``` -go get github.com/pion/webrtc/examples/custom-logger +go get github.com/hcm007/webrtc/examples/custom-logger ``` ### Run custom-logger diff --git a/examples/custom-logger/main.go b/examples/custom-logger/main.go index 9be3242256c..8f7f6801918 100644 --- a/examples/custom-logger/main.go +++ b/examples/custom-logger/main.go @@ -4,7 +4,7 @@ import ( "fmt" "github.com/pion/logging" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" ) // Everything below is the Pion WebRTC API! Thanks for using it ❤️. diff --git a/examples/data-channels-close/main.go b/examples/data-channels-close/main.go index 021d0c35a23..e4dab2478ad 100644 --- a/examples/data-channels-close/main.go +++ b/examples/data-channels-close/main.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/data-channels-create/README.md b/examples/data-channels-create/README.md index 79cde7303e7..a3177c8a6bc 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/pion/webrtc/examples/data-channels-create +go get github.com/hcm007/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 2da0f06a241..eb6ec44e754 100644 --- a/examples/data-channels-create/main.go +++ b/examples/data-channels-create/main.go @@ -4,9 +4,9 @@ import ( "fmt" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/data-channels-detach-create/README.md b/examples/data-channels-detach-create/README.md index 2c4842558bd..d33ff8ffd41 100644 --- a/examples/data-channels-detach-create/README.md +++ b/examples/data-channels-detach-create/README.md @@ -5,7 +5,7 @@ The example mirrors the data-channels-create example. ## Install ``` -go get github.com/pion/webrtc/examples/data-channels-detach-create +go get github.com/hcm007/webrtc/examples/data-channels-detach-create ``` ## Usage diff --git a/examples/data-channels-detach-create/main.go b/examples/data-channels-detach-create/main.go index 71030b9ea49..da8b3c3a4f3 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/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/data-channels-detach/README.md b/examples/data-channels-detach/README.md index 91b10cb4f33..df98a9963ec 100644 --- a/examples/data-channels-detach/README.md +++ b/examples/data-channels-detach/README.md @@ -5,7 +5,7 @@ The example mirrors the data-channels example. ## Install ``` -go get github.com/pion/webrtc/examples/data-channels-detach +go get github.com/hcm007/webrtc/examples/data-channels-detach ``` ## Usage diff --git a/examples/data-channels-detach/jsfiddle/main.go b/examples/data-channels-detach/jsfiddle/main.go index 0151a9996de..68ffb265493 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/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/data-channels-detach/main.go b/examples/data-channels-detach/main.go index 8cf709ae684..40e41611cd2 100644 --- a/examples/data-channels-detach/main.go +++ b/examples/data-channels-detach/main.go @@ -5,9 +5,9 @@ import ( "io" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/data-channels-flow-control/main.go b/examples/data-channels-flow-control/main.go index aaaf5a0421d..1edabe02ae3 100644 --- a/examples/data-channels-flow-control/main.go +++ b/examples/data-channels-flow-control/main.go @@ -6,7 +6,7 @@ import ( "sync/atomic" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" ) const ( diff --git a/examples/data-channels/README.md b/examples/data-channels/README.md index 0c0c85e04f5..de08e65f7af 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/pion/webrtc/examples/data-channels +go get github.com/hcm007/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 53e3bb49edb..c4177ae8409 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/pion/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/data-channels/main.go b/examples/data-channels/main.go index 56c412e55d2..803de829abf 100644 --- a/examples/data-channels/main.go +++ b/examples/data-channels/main.go @@ -4,8 +4,8 @@ import ( "fmt" "time" - "github.com/pion/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/ortc-quic/main.go b/examples/ortc-quic/main.go index e3d6dc3f52e..80ad42fe76a 100644 --- a/examples/ortc-quic/main.go +++ b/examples/ortc-quic/main.go @@ -8,9 +8,9 @@ import ( "time" "github.com/pion/quic" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/ortc/main.go b/examples/ortc/main.go index bee92d00885..fd5aad19396 100644 --- a/examples/ortc/main.go +++ b/examples/ortc/main.go @@ -5,9 +5,9 @@ import ( "fmt" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/pion-to-pion-trickle/README.md b/examples/pion-to-pion-trickle/README.md index eb4dd92b840..9eab3fe58c5 100644 --- a/examples/pion-to-pion-trickle/README.md +++ b/examples/pion-to-pion-trickle/README.md @@ -11,12 +11,12 @@ The `answer` side acts like a HTTP server and should therefore be ran first. ## Instructions First run `answer`: ```sh -go install github.com/pion/webrtc/examples/pion-to-pion/answer +go install github.com/hcm007/webrtc/examples/pion-to-pion/answer answer ``` Next, run `offer`: ```sh -go install github.com/pion/webrtc/examples/pion-to-pion/offer +go install github.com/hcm007/webrtc/examples/pion-to-pion/offer offer ``` diff --git a/examples/pion-to-pion-trickle/answer/main.go b/examples/pion-to-pion-trickle/answer/main.go index e93e8f1248a..41dffb8509d 100644 --- a/examples/pion-to-pion-trickle/answer/main.go +++ b/examples/pion-to-pion-trickle/answer/main.go @@ -10,9 +10,9 @@ import ( "sync" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/pion-to-pion-trickle/offer/main.go b/examples/pion-to-pion-trickle/offer/main.go index e39ca046c7e..1562922cf69 100644 --- a/examples/pion-to-pion-trickle/offer/main.go +++ b/examples/pion-to-pion-trickle/offer/main.go @@ -10,9 +10,9 @@ import ( "sync" "time" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/pion-to-pion/README.md b/examples/pion-to-pion/README.md index 68927e4c774..c28581974c2 100644 --- a/examples/pion-to-pion/README.md +++ b/examples/pion-to-pion/README.md @@ -11,12 +11,12 @@ The `answer` side acts like a HTTP server and should therefore be ran first. ## Instructions First run `answer`: ```sh -go install github.com/pion/webrtc/examples/pion-to-pion/answer +go install github.com/hcm007/webrtc/examples/pion-to-pion/answer answer ``` Next, run `offer`: ```sh -go install github.com/pion/webrtc/examples/pion-to-pion/offer +go install github.com/hcm007/webrtc/examples/pion-to-pion/offer offer ``` diff --git a/examples/pion-to-pion/answer/Dockerfile b/examples/pion-to-pion/answer/Dockerfile index 975bed80648..767300e2e53 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/pion/webrtc/examples/pion-to-pion/answer +RUN go get -u github.com/hcm007/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 e32a0f19283..480a87c6e2c 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/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/pion-to-pion/offer/Dockerfile b/examples/pion-to-pion/offer/Dockerfile index fbdc9b5bda3..6d087e3d3b4 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/pion/webrtc/examples/pion-to-pion/offer +RUN go get -u github.com/hcm007/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 dbe9b45cab9..33dad3ae475 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/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/play-from-disk/README.md b/examples/play-from-disk/README.md index 9a2973ec695..a5a36d81265 100644 --- a/examples/play-from-disk/README.md +++ b/examples/play-from-disk/README.md @@ -9,7 +9,7 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf ### Download play-from-disk ``` -go get github.com/pion/webrtc/examples/play-from-disk +go get github.com/hcm007/webrtc/examples/play-from-disk ``` ### Open play-from-disk example page diff --git a/examples/play-from-disk/main.go b/examples/play-from-disk/main.go index d53f174e3a8..0f722099f41 100644 --- a/examples/play-from-disk/main.go +++ b/examples/play-from-disk/main.go @@ -6,11 +6,11 @@ import ( "os" "time" - "github.com/pion/webrtc/v2" - "github.com/pion/webrtc/v2/pkg/media" - "github.com/pion/webrtc/v2/pkg/media/ivfreader" + "github.com/hcm007/webrtc/v2" + "github.com/hcm007/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media/ivfreader" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/reflect/README.md b/examples/reflect/README.md index 7f24c08f6fd..fd3b301cd27 100644 --- a/examples/reflect/README.md +++ b/examples/reflect/README.md @@ -4,7 +4,7 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and ## Instructions ### Download reflect ``` -go get github.com/pion/webrtc/examples/reflect +go get github.com/hcm007/webrtc/examples/reflect ``` ### Open reflect example page diff --git a/examples/reflect/main.go b/examples/reflect/main.go index 6ad2e46d437..c38231edc83 100644 --- a/examples/reflect/main.go +++ b/examples/reflect/main.go @@ -6,8 +6,8 @@ import ( "time" "github.com/pion/rtcp" - "github.com/pion/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) func main() { diff --git a/examples/save-to-disk/README.md b/examples/save-to-disk/README.md index 6ff55f367ed..251587273c8 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/pion/webrtc/examples/save-to-disk +go get github.com/hcm007/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 38afc53f8e0..e97fe0110a9 100644 --- a/examples/save-to-disk/main.go +++ b/examples/save-to-disk/main.go @@ -6,12 +6,12 @@ import ( "time" "github.com/pion/rtcp" - "github.com/pion/webrtc/v2" - "github.com/pion/webrtc/v2/pkg/media" - "github.com/pion/webrtc/v2/pkg/media/ivfwriter" - "github.com/pion/webrtc/v2/pkg/media/oggwriter" + "github.com/hcm007/webrtc/v2" + "github.com/hcm007/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media/ivfwriter" + "github.com/hcm007/webrtc/v2/pkg/media/oggwriter" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/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 3175050e2ea..7897f8bd96b 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/pion/webrtc/examples/sfu-minimal +go get github.com/hcm007/webrtc/examples/sfu-minimal ``` ### Open sfu-minimal example page @@ -14,7 +14,7 @@ go get github.com/pion/webrtc/examples/sfu-minimal ### Run SFU Minimal #### Linux/macOS -Run `sfu-minimal` OR run `main.go` in `github.com/pion/webrtc/examples/sfu-minimal` +Run `sfu-minimal` OR run `main.go` in `github.com/hcm007/webrtc/examples/sfu-minimal` ### Start a publisher diff --git a/examples/sfu-minimal/main.go b/examples/sfu-minimal/main.go index f77762943e4..4a04bfb446d 100644 --- a/examples/sfu-minimal/main.go +++ b/examples/sfu-minimal/main.go @@ -6,9 +6,9 @@ import ( "time" "github.com/pion/rtcp" - "github.com/pion/webrtc/v2" + "github.com/hcm007/webrtc/v2" - "github.com/pion/webrtc/v2/examples/internal/signal" + "github.com/hcm007/webrtc/v2/examples/internal/signal" ) const ( diff --git a/iceserver.go b/iceserver.go index e9f3b5ae885..4c546276a50 100644 --- a/iceserver.go +++ b/iceserver.go @@ -4,7 +4,7 @@ package webrtc import ( "github.com/pion/ice" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // ICEServer describes a single STUN and TURN server that can be used by diff --git a/iceserver_test.go b/iceserver_test.go index cd819c3ca11..2646081cd23 100644 --- a/iceserver_test.go +++ b/iceserver_test.go @@ -6,7 +6,7 @@ import ( "testing" "github.com/pion/ice" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/icetransport.go b/icetransport.go index ee27ceab4b6..f85edf9e705 100644 --- a/icetransport.go +++ b/icetransport.go @@ -10,7 +10,7 @@ import ( "github.com/pion/ice" "github.com/pion/logging" - "github.com/pion/webrtc/v2/internal/mux" + "github.com/hcm007/webrtc/v2/internal/mux" ) // ICETransport allows an application access to information about the ICE diff --git a/peerconnection.go b/peerconnection.go index 16c39c60dbb..f61e55c3a60 100644 --- a/peerconnection.go +++ b/peerconnection.go @@ -19,8 +19,8 @@ import ( "github.com/pion/rtcp" "github.com/pion/sdp/v2" - "github.com/pion/webrtc/v2/internal/util" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/internal/util" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a diff --git a/peerconnection_go_test.go b/peerconnection_go_test.go index e6013e9fcf4..85bd21d819e 100644 --- a/peerconnection_go_test.go +++ b/peerconnection_go_test.go @@ -16,7 +16,7 @@ import ( "github.com/pion/ice" "github.com/pion/transport/test" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection_js.go b/peerconnection_js.go index e3ccc806196..950eb70c6e2 100644 --- a/peerconnection_js.go +++ b/peerconnection_js.go @@ -6,7 +6,7 @@ package webrtc import ( "syscall/js" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a @@ -125,7 +125,7 @@ func (pc *PeerConnection) checkConfiguration(configuration Configuration) error } } - // https://github.com/pion/webrtc/issues/513 + // https://github.com/hcm007/webrtc/issues/513 // https://www.w3.org/TR/webrtc/#set-the-configuration (step #4) // if len(configuration.Certificates) > 0 { // if len(configuration.Certificates) != len(existingConfiguration.Certificates) { diff --git a/peerconnection_media_test.go b/peerconnection_media_test.go index 315719ffeea..edc7995bd22 100644 --- a/peerconnection_media_test.go +++ b/peerconnection_media_test.go @@ -17,7 +17,7 @@ import ( "github.com/pion/rtp" "github.com/pion/sdp/v2" "github.com/pion/transport/test" - "github.com/pion/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection_setlocaldescription_test.go b/peerconnection_setlocaldescription_test.go index fe60d0ef19b..2eb37abd067 100644 --- a/peerconnection_setlocaldescription_test.go +++ b/peerconnection_setlocaldescription_test.go @@ -9,7 +9,7 @@ import ( "testing" "time" - "github.com/pion/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media" ) func check(err error) { diff --git a/peerconnection_test.go b/peerconnection_test.go index c312e8d14d5..edd3bad2cdc 100644 --- a/peerconnection_test.go +++ b/peerconnection_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/pion/logging" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // newPair creates two new peer connections (an offerer and an answerer) @@ -279,7 +279,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/pion/webrtc/v2/issues/513. + // See: https://github.com/hcm007/webrtc/v2/issues/513. // assert.Equal(t, len(expected.Certificates), len(actual.Certificates)) assert.Equal(t, expected.ICECandidatePoolSize, actual.ICECandidatePoolSize) } diff --git a/pkg/media/samplebuilder/samplebuilder.go b/pkg/media/samplebuilder/samplebuilder.go index 4bc85a73b37..2d96674a019 100644 --- a/pkg/media/samplebuilder/samplebuilder.go +++ b/pkg/media/samplebuilder/samplebuilder.go @@ -2,7 +2,7 @@ package samplebuilder import ( "github.com/pion/rtp" - "github.com/pion/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media" ) // SampleBuilder contains all packets diff --git a/pkg/media/samplebuilder/samplebuilder_test.go b/pkg/media/samplebuilder/samplebuilder_test.go index 359c259bfd8..4a49d5b3b35 100644 --- a/pkg/media/samplebuilder/samplebuilder_test.go +++ b/pkg/media/samplebuilder/samplebuilder_test.go @@ -4,7 +4,7 @@ import ( "testing" "github.com/pion/rtp" - "github.com/pion/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/quictransport.go b/quictransport.go index edd2692b45b..db20884256d 100644 --- a/quictransport.go +++ b/quictransport.go @@ -16,8 +16,8 @@ import ( "github.com/pion/dtls" "github.com/pion/logging" "github.com/pion/quic" - "github.com/pion/webrtc/v2/internal/mux" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/internal/mux" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) // QUICTransport is a specialization of QuicTransportBase focused on diff --git a/quictransport_test.go b/quictransport_test.go index 10de52ce703..c616529fc4e 100644 --- a/quictransport_test.go +++ b/quictransport_test.go @@ -9,7 +9,7 @@ import ( "github.com/pion/quic" "github.com/pion/transport/test" - "github.com/pion/webrtc/v2/internal/util" + "github.com/hcm007/webrtc/v2/internal/util" ) func TestQUICTransport_E2E(t *testing.T) { diff --git a/signalingstate.go b/signalingstate.go index f958d516d39..80e2e677eed 100644 --- a/signalingstate.go +++ b/signalingstate.go @@ -3,7 +3,7 @@ package webrtc import ( "fmt" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" ) type stateChangeOp int diff --git a/signalingstate_test.go b/signalingstate_test.go index b831f582a91..3a632b59ab9 100644 --- a/signalingstate_test.go +++ b/signalingstate_test.go @@ -3,7 +3,7 @@ package webrtc import ( "testing" - "github.com/pion/webrtc/v2/pkg/rtcerr" + "github.com/hcm007/webrtc/v2/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/track.go b/track.go index b550f415e9f..fc0de6edbe3 100644 --- a/track.go +++ b/track.go @@ -8,7 +8,7 @@ import ( "sync" "github.com/pion/rtp" - "github.com/pion/webrtc/v2/pkg/media" + "github.com/hcm007/webrtc/v2/pkg/media" ) const (