Skip to content

Commit

Permalink
change the name
Browse files Browse the repository at this point in the history
  • Loading branch information
Hongchao Ma committed Sep 9, 2019
1 parent e214e72 commit d2d97f5
Show file tree
Hide file tree
Showing 56 changed files with 95 additions and 95 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' './...'
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ cross-compiling of multiple libraries, you now can run anywhere with one `go bui
If you know how to use WebRTC in your browser, you know how to use Pion WebRTC.
We try our best just to duplicate the Javascript API, so your code can look the same everywhere.

If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/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.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<h4 align="center">A pure Go implementation of the WebRTC API</h4>
<p align="center">
<a href="https://pion.ly"><img src="https://img.shields.io/badge/pion-webrtc-gray.svg?longCache=true&colorB=brightgreen" alt="Pion webrtc"></a>
<a href="https://sourcegraph.com/github.com/pion/webrtc?badge"><img src="https://sourcegraph.com/github.com/pion/webrtc/-/badge.svg" alt="Sourcegraph Widget"></a>
<a href="https://sourcegraph.com/github.com/hcm007/webrtc?badge"><img src="https://sourcegraph.com/github.com/hcm007/webrtc/-/badge.svg" alt="Sourcegraph Widget"></a>
<a href="https://pion.ly/slack"><img src="https://img.shields.io/badge/join-us%20on%20slack-gray.svg?longCache=true&logo=slack&colorB=brightgreen" alt="Slack Widget"></a>
<br>
<a href="https://travis-ci.org/pion/webrtc"><img src="https://travis-ci.org/pion/webrtc.svg?branch=master" alt="Build Status"></a>
<a href="https://godoc.org/github.com/pion/webrtc"><img src="https://godoc.org/github.com/pion/webrtc?status.svg" alt="GoDoc"></a>
<a href="https://godoc.org/github.com/hcm007/webrtc"><img src="https://godoc.org/github.com/hcm007/webrtc?status.svg" alt="GoDoc"></a>
<a href="https://codecov.io/gh/pion/webrtc"><img src="https://codecov.io/gh/pion/webrtc/branch/master/graph/badge.svg" alt="Coverage Status"></a>
<a href="https://goreportcard.com/report/github.com/pion/webrtc"><img src="https://goreportcard.com/badge/github.com/pion/webrtc" alt="Go Report Card"></a>
<a href="https://goreportcard.com/report/github.com/hcm007/webrtc"><img src="https://goreportcard.com/badge/github.com/hcm007/webrtc" alt="Go Report Card"></a>
<a href="https://www.codacy.com/app/Sean-Der/webrtc"><img src="https://api.codacy.com/project/badge/Grade/18f4aec384894e6aac0b94effe51961d" alt="Codacy Badge"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/License-MIT-yellow.svg" alt="License: MIT"></a>
</p>
Expand All @@ -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!

Expand All @@ -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).
Expand All @@ -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*
Expand Down
2 changes: 1 addition & 1 deletion certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion datachannel.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion datachannel_ortc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 3 additions & 3 deletions dtlstransport.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ We've made it easy to run the browser based examples on your local machine.

1. Build and run the example server:
``` sh
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
```

Expand Down
2 changes: 1 addition & 1 deletion examples/custom-logger/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-logger/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 ❤️.
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-close/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"fmt"
"time"

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

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

"github.com/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() {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-detach-create/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-detach-create/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io"
"time"

"github.com/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
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-detach/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-detach/jsfiddle/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"syscall/js"
"time"

"github.com/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
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels-detach/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"io"
"time"

"github.com/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
Expand Down
2 changes: 1 addition & 1 deletion examples/data-channels-flow-control/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"sync/atomic"
"time"

"github.com/pion/webrtc/v2"
"github.com/hcm007/webrtc/v2"
)

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

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

"github.com/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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/data-channels/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"time"

"github.com/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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/ortc-quic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions examples/ortc/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/pion-to-pion-trickle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
4 changes: 2 additions & 2 deletions examples/pion-to-pion-trickle/answer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/pion-to-pion-trickle/offer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions examples/pion-to-pion/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
2 changes: 1 addition & 1 deletion examples/pion-to-pion/answer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]

Expand Down
4 changes: 2 additions & 2 deletions examples/pion-to-pion/answer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion examples/pion-to-pion/offer/Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
4 changes: 2 additions & 2 deletions examples/pion-to-pion/offer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion examples/play-from-disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit d2d97f5

Please sign in to comment.