From df6600173035ecee2f276bbfc537333f86fc0946 Mon Sep 17 00:00:00 2001 From: sepehreslami Date: Sat, 5 Oct 2024 10:00:17 +0330 Subject: [PATCH 1/3] change --- DESIGN.md | 2 +- README.md | 8 ++++---- examples/README.md | 2 +- examples/bandwidth-estimation-from-disk/README.md | 2 +- examples/broadcast/README.md | 2 +- examples/custom-logger/README.md | 2 +- examples/data-channels-detach/README.md | 2 +- examples/data-channels/README.md | 2 +- examples/insertable-streams/README.md | 2 +- examples/ortc/README.md | 2 +- examples/pion-to-pion/README.md | 4 ++-- examples/pion-to-pion/answer/Dockerfile | 2 +- examples/pion-to-pion/offer/Dockerfile | 2 +- examples/play-from-disk/README.md | 2 +- examples/reflect/README.md | 2 +- examples/rtcp-processing/README.md | 2 +- examples/rtp-forwarder/README.md | 2 +- examples/rtp-to-webrtc/README.md | 4 ++-- examples/save-to-disk-av1/README.md | 2 +- examples/save-to-disk/README.md | 2 +- examples/simulcast/README.md | 2 +- examples/stats/README.md | 2 +- examples/swap-tracks/README.md | 2 +- go.mod | 2 +- 24 files changed, 29 insertions(+), 29 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index e22b08e301a..32516c303e7 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -19,7 +19,7 @@ When possible we leave all decisions to the user. When choice is possible (like 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://pkg.go.dev/github.com/pion/webrtc/v3) +If this is your first time using WebRTC, don't worry! We have multiple [examples](https://github.com/pion/webrtc/tree/master/examples) and [GoDoc](https://pkg.go.dev/github.com/sepehrEslami81/webrtc/v3) ### 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 80dd8c1234f..eecb8687185 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,9 @@
GitHub Workflow Status - Go Reference + Go Reference Coverage Status - Go Report Card + Go Report Card License: MIT


@@ -30,7 +30,7 @@ **[awesome-pion](https://github.com/pion/awesome-pion)** contains projects that have used Pion, and serve as real world examples of usage. -**[GoDoc](https://pkg.go.dev/github.com/pion/webrtc/v3)** is an auto generated API reference. All our Public APIs are commented. +**[GoDoc](https://pkg.go.dev/github.com/sepehrEslami81/webrtc/v3)** is an auto generated API reference. All our Public APIs are commented. **[FAQ](https://github.com/pion/webrtc/wiki/FAQ)** has answers to common questions. If you have a question not covered please ask in [Slack](https://pion.ly/slack) we are always looking to expand it. @@ -60,7 +60,7 @@ This book is vendor agnostic and will not have any Pion specific information. * Send/Receive audio and video * Renegotiation * Plan-B and Unified Plan -* [SettingEngine](https://pkg.go.dev/github.com/pion/webrtc/v3#SettingEngine) for Pion specific extensions +* [SettingEngine](https://pkg.go.dev/github.com/sepehrEslami81/webrtc/v3#SettingEngine) for Pion specific extensions #### Connectivity diff --git a/examples/README.md b/examples/README.md index d19ada439a9..93bc64207aa 100644 --- a/examples/README.md +++ b/examples/README.md @@ -40,7 +40,7 @@ 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/v3 + GO111MODULE=on go get github.com/sepehrEslami81/webrtc/v3 git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc cd $GOPATH/src/github.com/pion/webrtc/examples go run examples.go diff --git a/examples/bandwidth-estimation-from-disk/README.md b/examples/bandwidth-estimation-from-disk/README.md index 4ab6e7d5a21..874637cb397 100644 --- a/examples/bandwidth-estimation-from-disk/README.md +++ b/examples/bandwidth-estimation-from-disk/README.md @@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -g 30 -b:v 2.5M -s 1280x720 high.ivf ### Download bandwidth-estimation-from-disk ``` -go get github.com/pion/webrtc/v3/examples/bandwidth-estimation-from-disk +go get github.com/sepehrEslami81/webrtc/v3/examples/bandwidth-estimation-from-disk ``` ### Open bandwidth-estimation-from-disk example page diff --git a/examples/broadcast/README.md b/examples/broadcast/README.md index 8fc5dd8362c..699d644e665 100644 --- a/examples/broadcast/README.md +++ b/examples/broadcast/README.md @@ -7,7 +7,7 @@ This could serve as the building block to building conferencing software, and ot ### Download broadcast ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/broadcast +go get github.com/sepehrEslami81/webrtc/v3/examples/broadcast ``` ### Open broadcast example page diff --git a/examples/custom-logger/README.md b/examples/custom-logger/README.md index ad55c94bfc9..fdbfcc2f58d 100644 --- a/examples/custom-logger/README.md +++ b/examples/custom-logger/README.md @@ -7,7 +7,7 @@ users to override this and process messages however they want. ### Download custom-logger ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/custom-logger +go get github.com/sepehrEslami81/webrtc/v3/examples/custom-logger ``` ### Run custom-logger diff --git a/examples/data-channels-detach/README.md b/examples/data-channels-detach/README.md index 9bc5b63c707..2709e78b3ea 100644 --- a/examples/data-channels-detach/README.md +++ b/examples/data-channels-detach/README.md @@ -6,7 +6,7 @@ The example mirrors the data-channels example. ## Install ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/data-channels-detach +go get github.com/sepehrEslami81/webrtc/v3/examples/data-channels-detach ``` ## Usage diff --git a/examples/data-channels/README.md b/examples/data-channels/README.md index 0caf792f76c..05520d303a2 100644 --- a/examples/data-channels/README.md +++ b/examples/data-channels/README.md @@ -5,7 +5,7 @@ data-channels is a Pion WebRTC application that shows how you can send/recv Data ### Download data-channels ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/data-channels +go get github.com/sepehrEslami81/webrtc/v3/examples/data-channels ``` ### Open data-channels example page diff --git a/examples/insertable-streams/README.md b/examples/insertable-streams/README.md index 6f077f06aa0..3c3e7a77ac1 100644 --- a/examples/insertable-streams/README.md +++ b/examples/insertable-streams/README.md @@ -15,7 +15,7 @@ ffmpeg -i $INPUT_FILE -g 30 output.ivf ### Download insertable-streams ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/insertable-streams +go get github.com/sepehrEslami81/webrtc/v3/examples/insertable-streams ``` ### Open insertable-streams example page diff --git a/examples/ortc/README.md b/examples/ortc/README.md index 54d370ff756..ce9922214db 100644 --- a/examples/ortc/README.md +++ b/examples/ortc/README.md @@ -10,7 +10,7 @@ In this example we have defined a simple JSON based signaling protocol. ### Download ortc ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/ortc +go get github.com/sepehrEslami81/webrtc/v3/examples/ortc ``` ### Run first client as offerer diff --git a/examples/pion-to-pion/README.md b/examples/pion-to-pion/README.md index 7bf909bb760..6b64f8b970b 100644 --- a/examples/pion-to-pion/README.md +++ b/examples/pion-to-pion/README.md @@ -8,12 +8,12 @@ The `answer` side acts like a HTTP server and should therefore be ran first. First run `answer`: ```sh export GO111MODULE=on -go install github.com/pion/webrtc/v3/examples/pion-to-pion/answer +go install github.com/sepehrEslami81/webrtc/v3/examples/pion-to-pion/answer answer ``` Next, run `offer`: ```sh -go install github.com/pion/webrtc/v3/examples/pion-to-pion/offer +go install github.com/sepehrEslami81/webrtc/v3/examples/pion-to-pion/offer offer ``` diff --git a/examples/pion-to-pion/answer/Dockerfile b/examples/pion-to-pion/answer/Dockerfile index 66e3e5a29ef..330bae24b5f 100644 --- a/examples/pion-to-pion/answer/Dockerfile +++ b/examples/pion-to-pion/answer/Dockerfile @@ -4,7 +4,7 @@ FROM golang:1.21 ENV GO111MODULE=on -RUN go install github.com/pion/webrtc/v3/examples/pion-to-pion/answer@latest +RUN go install github.com/sepehrEslami81/webrtc/v3/examples/pion-to-pion/answer@latest CMD ["answer"] diff --git a/examples/pion-to-pion/offer/Dockerfile b/examples/pion-to-pion/offer/Dockerfile index 2d88307058f..591ec87d71e 100644 --- a/examples/pion-to-pion/offer/Dockerfile +++ b/examples/pion-to-pion/offer/Dockerfile @@ -4,6 +4,6 @@ FROM golang:1.21 ENV GO111MODULE=on -RUN go install github.com/pion/webrtc/v3/examples/pion-to-pion/offer@latest +RUN go install github.com/sepehrEslami81/webrtc/v3/examples/pion-to-pion/offer@latest CMD ["offer"] diff --git a/examples/play-from-disk/README.md b/examples/play-from-disk/README.md index e7d93fcca9f..36a3fa9de3b 100644 --- a/examples/play-from-disk/README.md +++ b/examples/play-from-disk/README.md @@ -16,7 +16,7 @@ ffmpeg -i $INPUT_FILE -c:a libopus -page_duration 20000 -vn output.ogg ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/play-from-disk +go get github.com/sepehrEslami81/webrtc/v3/examples/play-from-disk ``` ### Open play-from-disk example page diff --git a/examples/reflect/README.md b/examples/reflect/README.md index 32a35faa0f4..38f51f883de 100644 --- a/examples/reflect/README.md +++ b/examples/reflect/README.md @@ -5,7 +5,7 @@ reflect demonstrates how with one PeerConnection you can send video to Pion and ### Download reflect ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/reflect +go get github.com/sepehrEslami81/webrtc/v3/examples/reflect ``` ### Open reflect example page diff --git a/examples/rtcp-processing/README.md b/examples/rtcp-processing/README.md index 5ee354b7662..42f9dc78de2 100644 --- a/examples/rtcp-processing/README.md +++ b/examples/rtcp-processing/README.md @@ -12,7 +12,7 @@ also craft messages to influence the media quality. ### Download rtcp-processing ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/rtcp-processing +go get github.com/sepehrEslami81/webrtc/v3/examples/rtcp-processing ``` ### Open rtcp-processing example page diff --git a/examples/rtp-forwarder/README.md b/examples/rtp-forwarder/README.md index a2d59036d6d..41fbb83d2d2 100644 --- a/examples/rtp-forwarder/README.md +++ b/examples/rtp-forwarder/README.md @@ -5,7 +5,7 @@ rtp-forwarder is a simple application that shows how to forward your webcam/micr ### Download rtp-forwarder ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/rtp-forwarder +go get github.com/sepehrEslami81/webrtc/v3/examples/rtp-forwarder ``` ### Open rtp-forwarder example page diff --git a/examples/rtp-to-webrtc/README.md b/examples/rtp-to-webrtc/README.md index fd467472317..9da2690fe5e 100644 --- a/examples/rtp-to-webrtc/README.md +++ b/examples/rtp-to-webrtc/README.md @@ -7,7 +7,7 @@ With this example we have pre-made GStreamer and ffmpeg pipelines, but you can u ### Download rtp-to-webrtc ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/rtp-to-webrtc +go get github.com/sepehrEslami81/webrtc/v3/examples/rtp-to-webrtc ``` ### Open jsfiddle example page @@ -59,7 +59,7 @@ A video should start playing in your browser above the input boxes. Congrats, you have used Pion WebRTC! Now start building something cool ## Dealing with broken/lossy inputs -Pion WebRTC also provides a [SampleBuilder](https://pkg.go.dev/github.com/pion/webrtc/v3@v3.0.4/pkg/media/samplebuilder). This consumes RTP packets and returns samples. +Pion WebRTC also provides a [SampleBuilder](https://pkg.go.dev/github.com/sepehrEslami81/webrtc/v3@v3.0.4/pkg/media/samplebuilder). This consumes RTP packets and returns samples. It can be used to re-order and delay for lossy streams. You can see its usage in this example in [daf27b](https://github.com/pion/webrtc/commit/daf27bd0598233b57428b7809587ec3c09510413). Currently it isn't working with H264, but is useful for VP8 and Opus. See [#1652](https://github.com/pion/webrtc/issues/1652) for the status of fixing for H264. diff --git a/examples/save-to-disk-av1/README.md b/examples/save-to-disk-av1/README.md index 8622b659a26..ba6b565ab61 100644 --- a/examples/save-to-disk-av1/README.md +++ b/examples/save-to-disk-av1/README.md @@ -11,7 +11,7 @@ You can then send this video back to your browser using [play-from-disk](https:/ ### Download save-to-disk-av1 ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/save-to-disk-av1 +go get github.com/sepehrEslami81/webrtc/v3/examples/save-to-disk-av1 ``` ### Open save-to-disk-av1 example page diff --git a/examples/save-to-disk/README.md b/examples/save-to-disk/README.md index b6f819ffb15..4b992857c21 100644 --- a/examples/save-to-disk/README.md +++ b/examples/save-to-disk/README.md @@ -11,7 +11,7 @@ You can then send this video back to your browser using [play-from-disk](https:/ ### Download save-to-disk ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/save-to-disk +go get github.com/sepehrEslami81/webrtc/v3/examples/save-to-disk ``` ### Open save-to-disk example page diff --git a/examples/simulcast/README.md b/examples/simulcast/README.md index 5077f01002d..5c2980a4829 100644 --- a/examples/simulcast/README.md +++ b/examples/simulcast/README.md @@ -9,7 +9,7 @@ is selected. ### Download simulcast ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/simulcast +go get github.com/sepehrEslami81/webrtc/v3/examples/simulcast ``` ### Open simulcast example page diff --git a/examples/stats/README.md b/examples/stats/README.md index 1659640a7d4..98b59780191 100644 --- a/examples/stats/README.md +++ b/examples/stats/README.md @@ -8,7 +8,7 @@ during a session and why. ### Download stats ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/stats +go get github.com/sepehrEslami81/webrtc/v3/examples/stats ``` ### Open stats example page diff --git a/examples/swap-tracks/README.md b/examples/swap-tracks/README.md index d5771592c40..ef365ec09c3 100644 --- a/examples/swap-tracks/README.md +++ b/examples/swap-tracks/README.md @@ -5,7 +5,7 @@ swap-tracks demonstrates how to swap multiple incoming tracks on a single outgoi ### Download swap-tracks ``` export GO111MODULE=on -go get github.com/pion/webrtc/v3/examples/swap-tracks +go get github.com/sepehrEslami81/webrtc/v3/examples/swap-tracks ``` ### Open swap-tracks example page diff --git a/go.mod b/go.mod index 125ed484430..f9e4258f017 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/pion/webrtc/v3 +module github.com/sepehrEslami81/webrtc/v3 go 1.17 From eeee5b87fc54ee46ec66efc9d3db58727fd4b4dd Mon Sep 17 00:00:00 2001 From: sepehreslami Date: Sat, 5 Oct 2024 10:00:58 +0330 Subject: [PATCH 2/3] change name --- certificate.go | 2 +- datachannel.go | 2 +- dtlstransport.go | 6 +++--- e2e/e2e_test.go | 4 ++-- examples/bandwidth-estimation-from-disk/main.go | 8 ++++---- examples/broadcast/main.go | 4 ++-- examples/custom-logger/main.go | 2 +- examples/data-channels-detach/jsfiddle/main.go | 4 ++-- examples/data-channels-detach/main.go | 4 ++-- examples/data-channels-flow-control/main.go | 2 +- examples/data-channels/jsfiddle/main.go | 4 ++-- examples/data-channels/main.go | 4 ++-- examples/ice-restart/main.go | 2 +- examples/ice-single-port/main.go | 2 +- examples/ice-tcp/main.go | 2 +- examples/insertable-streams/main.go | 8 ++++---- examples/ortc/main.go | 4 ++-- examples/pion-to-pion/answer/main.go | 4 ++-- examples/pion-to-pion/offer/main.go | 4 ++-- examples/play-from-disk-renegotiation/main.go | 6 +++--- examples/play-from-disk/main.go | 10 +++++----- examples/reflect/main.go | 4 ++-- examples/rtcp-processing/main.go | 4 ++-- examples/rtp-forwarder/main.go | 4 ++-- examples/rtp-to-webrtc/main.go | 4 ++-- examples/save-to-disk-av1/main.go | 8 ++++---- examples/save-to-disk/main.go | 10 +++++----- examples/simulcast/main.go | 4 ++-- examples/stats/main.go | 4 ++-- examples/swap-tracks/main.go | 4 ++-- examples/trickle-ice/main.go | 2 +- examples/vnet/show-network-usage/main.go | 2 +- iceserver.go | 2 +- iceserver_test.go | 2 +- icetransport.go | 4 ++-- interceptor_test.go | 2 +- mediaengine.go | 2 +- ortc_media_test.go | 2 +- ortc_test.go | 2 +- peerconnection.go | 4 ++-- peerconnection_go_test.go | 4 ++-- peerconnection_js.go | 2 +- peerconnection_media_test.go | 4 ++-- peerconnection_renegotiation_test.go | 6 +++--- peerconnection_test.go | 2 +- pkg/media/samplebuilder/samplebuilder.go | 2 +- pkg/media/samplebuilder/samplebuilder_test.go | 2 +- rtpcodec.go | 2 +- rtpreceiver.go | 2 +- rtpreceiver_go_test.go | 2 +- rtpreceiver_test.go | 2 +- rtpsender.go | 2 +- rtpsender_test.go | 2 +- sctptransport.go | 2 +- signalingstate.go | 2 +- signalingstate_test.go | 2 +- track_local_static.go | 4 ++-- 57 files changed, 101 insertions(+), 101 deletions(-) diff --git a/certificate.go b/certificate.go index 1d5631bc489..93ec404eeff 100644 --- a/certificate.go +++ b/certificate.go @@ -21,7 +21,7 @@ import ( "time" "github.com/pion/dtls/v2/pkg/crypto/fingerprint" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) // Certificate represents a x509Cert used to authenticate WebRTC communications. diff --git a/datachannel.go b/datachannel.go index c3ce10b9e32..4276c1fc253 100644 --- a/datachannel.go +++ b/datachannel.go @@ -17,7 +17,7 @@ import ( "github.com/pion/datachannel" "github.com/pion/logging" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) const dataChannelBufferSize = math.MaxUint16 // message size limit for Chromium diff --git a/dtlstransport.go b/dtlstransport.go index beaa7b28c14..a70006d5475 100644 --- a/dtlstransport.go +++ b/dtlstransport.go @@ -25,9 +25,9 @@ import ( "github.com/pion/logging" "github.com/pion/rtcp" "github.com/pion/srtp/v2" - "github.com/pion/webrtc/v3/internal/mux" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/internal/mux" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) // DTLSTransport allows an application access to information about the DTLS diff --git a/e2e/e2e_test.go b/e2e/e2e_test.go index 0e8ca40c3cb..4aef9d390c5 100644 --- a/e2e/e2e_test.go +++ b/e2e/e2e_test.go @@ -16,9 +16,9 @@ import ( "testing" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/pkg/media" "github.com/sclevine/agouti" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" ) var silentOpusFrame = []byte{0xf8, 0xff, 0xfe} // 20ms, 8kHz, mono diff --git a/examples/bandwidth-estimation-from-disk/main.go b/examples/bandwidth-estimation-from-disk/main.go index 79797ef7e00..5e29e173108 100644 --- a/examples/bandwidth-estimation-from-disk/main.go +++ b/examples/bandwidth-estimation-from-disk/main.go @@ -17,10 +17,10 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/cc" "github.com/pion/interceptor/pkg/gcc" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfreader" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfreader" ) const ( diff --git a/examples/broadcast/main.go b/examples/broadcast/main.go index 2402bfe67d3..73bb54a554f 100644 --- a/examples/broadcast/main.go +++ b/examples/broadcast/main.go @@ -14,8 +14,8 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/intervalpli" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { // nolint:gocognit diff --git a/examples/custom-logger/main.go b/examples/custom-logger/main.go index 4c4ab124cf7..e890db69896 100644 --- a/examples/custom-logger/main.go +++ b/examples/custom-logger/main.go @@ -12,7 +12,7 @@ import ( "os" "github.com/pion/logging" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) // Everything below is the Pion WebRTC API! Thanks for using it ❤️. diff --git a/examples/data-channels-detach/jsfiddle/main.go b/examples/data-channels-detach/jsfiddle/main.go index d9d13c105dd..a5e8a0aa91d 100644 --- a/examples/data-channels-detach/jsfiddle/main.go +++ b/examples/data-channels-detach/jsfiddle/main.go @@ -12,9 +12,9 @@ import ( "syscall/js" "time" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) const messageSize = 15 diff --git a/examples/data-channels-detach/main.go b/examples/data-channels-detach/main.go index 168dc64d921..5a898bb03b6 100644 --- a/examples/data-channels-detach/main.go +++ b/examples/data-channels-detach/main.go @@ -10,8 +10,8 @@ import ( "os" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/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 e2d2e4e27fd..a0aee1b24db 100644 --- a/examples/data-channels-flow-control/main.go +++ b/examples/data-channels-flow-control/main.go @@ -12,7 +12,7 @@ import ( "sync/atomic" "time" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) const ( diff --git a/examples/data-channels/jsfiddle/main.go b/examples/data-channels/jsfiddle/main.go index b79084932c3..7f367a40b44 100644 --- a/examples/data-channels/jsfiddle/main.go +++ b/examples/data-channels/jsfiddle/main.go @@ -10,8 +10,8 @@ import ( "fmt" "syscall/js" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { diff --git a/examples/data-channels/main.go b/examples/data-channels/main.go index e2df57e4ec8..0401eb8784d 100644 --- a/examples/data-channels/main.go +++ b/examples/data-channels/main.go @@ -9,8 +9,8 @@ import ( "os" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { diff --git a/examples/ice-restart/main.go b/examples/ice-restart/main.go index 090367493ec..6b7f5b8b131 100644 --- a/examples/ice-restart/main.go +++ b/examples/ice-restart/main.go @@ -10,7 +10,7 @@ import ( "net/http" "time" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) var peerConnection *webrtc.PeerConnection //nolint diff --git a/examples/ice-single-port/main.go b/examples/ice-single-port/main.go index 811dedec859..280b03bc6ce 100644 --- a/examples/ice-single-port/main.go +++ b/examples/ice-single-port/main.go @@ -14,7 +14,7 @@ import ( "time" "github.com/pion/ice/v2" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) var api *webrtc.API //nolint diff --git a/examples/ice-tcp/main.go b/examples/ice-tcp/main.go index 3376d4f2bc4..b39731f7fc4 100644 --- a/examples/ice-tcp/main.go +++ b/examples/ice-tcp/main.go @@ -16,7 +16,7 @@ import ( "net/http" "time" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) var api *webrtc.API //nolint diff --git a/examples/insertable-streams/main.go b/examples/insertable-streams/main.go index 831e35851f7..b985365c6eb 100644 --- a/examples/insertable-streams/main.go +++ b/examples/insertable-streams/main.go @@ -15,10 +15,10 @@ import ( "os" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfreader" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfreader" ) const cipherKey = 0xAA diff --git a/examples/ortc/main.go b/examples/ortc/main.go index 02014c7e4f0..e940e71a88c 100644 --- a/examples/ortc/main.go +++ b/examples/ortc/main.go @@ -12,8 +12,8 @@ import ( "fmt" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { diff --git a/examples/pion-to-pion/answer/main.go b/examples/pion-to-pion/answer/main.go index 19f99ff5e93..12f60f685b9 100644 --- a/examples/pion-to-pion/answer/main.go +++ b/examples/pion-to-pion/answer/main.go @@ -15,8 +15,8 @@ import ( "sync" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func signalCandidate(addr string, c *webrtc.ICECandidate) error { diff --git a/examples/pion-to-pion/offer/main.go b/examples/pion-to-pion/offer/main.go index d948f33d383..c7cd300385c 100644 --- a/examples/pion-to-pion/offer/main.go +++ b/examples/pion-to-pion/offer/main.go @@ -15,8 +15,8 @@ import ( "sync" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func signalCandidate(addr string, c *webrtc.ICECandidate) error { diff --git a/examples/play-from-disk-renegotiation/main.go b/examples/play-from-disk-renegotiation/main.go index de4b2d6d027..3e2713dece7 100644 --- a/examples/play-from-disk-renegotiation/main.go +++ b/examples/play-from-disk-renegotiation/main.go @@ -16,9 +16,9 @@ import ( "time" "github.com/pion/randutil" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfreader" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfreader" ) var peerConnection *webrtc.PeerConnection //nolint diff --git a/examples/play-from-disk/main.go b/examples/play-from-disk/main.go index 7486bd69e47..e20f17d20d4 100644 --- a/examples/play-from-disk/main.go +++ b/examples/play-from-disk/main.go @@ -15,11 +15,11 @@ import ( "os" "time" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfreader" - "github.com/pion/webrtc/v3/pkg/media/oggreader" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfreader" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/oggreader" ) const ( diff --git a/examples/reflect/main.go b/examples/reflect/main.go index 2b0244ec688..08b4758bab2 100644 --- a/examples/reflect/main.go +++ b/examples/reflect/main.go @@ -13,8 +13,8 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/intervalpli" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) // nolint:gocognit diff --git a/examples/rtcp-processing/main.go b/examples/rtcp-processing/main.go index d3fbd286706..f03f21c3a63 100644 --- a/examples/rtcp-processing/main.go +++ b/examples/rtcp-processing/main.go @@ -10,8 +10,8 @@ package main import ( "fmt" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { diff --git a/examples/rtp-forwarder/main.go b/examples/rtp-forwarder/main.go index b92b931b9d4..2d496f85512 100644 --- a/examples/rtp-forwarder/main.go +++ b/examples/rtp-forwarder/main.go @@ -16,8 +16,8 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/intervalpli" "github.com/pion/rtp" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) type udpConn struct { diff --git a/examples/rtp-to-webrtc/main.go b/examples/rtp-to-webrtc/main.go index b36f258783a..64c1c41bb59 100644 --- a/examples/rtp-to-webrtc/main.go +++ b/examples/rtp-to-webrtc/main.go @@ -13,8 +13,8 @@ import ( "io" "net" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { diff --git a/examples/save-to-disk-av1/main.go b/examples/save-to-disk-av1/main.go index a379054ef8b..110b146e641 100644 --- a/examples/save-to-disk-av1/main.go +++ b/examples/save-to-disk-av1/main.go @@ -14,10 +14,10 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/intervalpli" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfwriter" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfwriter" ) func saveToDisk(i media.Writer, track *webrtc.TrackRemote) { diff --git a/examples/save-to-disk/main.go b/examples/save-to-disk/main.go index 4568e23ebf4..450b5070fae 100644 --- a/examples/save-to-disk/main.go +++ b/examples/save-to-disk/main.go @@ -14,11 +14,11 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/intervalpli" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/media/ivfwriter" - "github.com/pion/webrtc/v3/pkg/media/oggwriter" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/ivfwriter" + "github.com/sepehrEslami81/webrtc/v3/pkg/media/oggwriter" ) func saveToDisk(i media.Writer, track *webrtc.TrackRemote) { diff --git a/examples/simulcast/main.go b/examples/simulcast/main.go index 3a0d9e881c8..ac720021b97 100644 --- a/examples/simulcast/main.go +++ b/examples/simulcast/main.go @@ -16,8 +16,8 @@ import ( "github.com/pion/interceptor" "github.com/pion/rtcp" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) // nolint:gocognit diff --git a/examples/stats/main.go b/examples/stats/main.go index 1a41d016aaa..d123730f0db 100644 --- a/examples/stats/main.go +++ b/examples/stats/main.go @@ -13,8 +13,8 @@ import ( "github.com/pion/interceptor" "github.com/pion/interceptor/pkg/stats" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) // nolint:gocognit diff --git a/examples/swap-tracks/main.go b/examples/swap-tracks/main.go index 02ffc8399db..ec159d1989d 100644 --- a/examples/swap-tracks/main.go +++ b/examples/swap-tracks/main.go @@ -16,8 +16,8 @@ import ( "github.com/pion/rtcp" "github.com/pion/rtp" - "github.com/pion/webrtc/v3" - "github.com/pion/webrtc/v3/examples/internal/signal" + "github.com/sepehrEslami81/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3/examples/internal/signal" ) func main() { // nolint:gocognit diff --git a/examples/trickle-ice/main.go b/examples/trickle-ice/main.go index 10b61ce27e3..9b6adf3db4d 100644 --- a/examples/trickle-ice/main.go +++ b/examples/trickle-ice/main.go @@ -10,7 +10,7 @@ import ( "net/http" "time" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" "golang.org/x/net/websocket" ) diff --git a/examples/vnet/show-network-usage/main.go b/examples/vnet/show-network-usage/main.go index 0aad23817d4..78c8fedea9e 100644 --- a/examples/vnet/show-network-usage/main.go +++ b/examples/vnet/show-network-usage/main.go @@ -17,7 +17,7 @@ import ( "github.com/pion/logging" "github.com/pion/transport/v2/vnet" - "github.com/pion/webrtc/v3" + "github.com/sepehrEslami81/webrtc/v3" ) /* VNet Configuration diff --git a/iceserver.go b/iceserver.go index 35d231fd57d..c3f950c93e6 100644 --- a/iceserver.go +++ b/iceserver.go @@ -10,7 +10,7 @@ import ( "encoding/json" "github.com/pion/stun" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/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 955c02088e6..e601b3515a5 100644 --- a/iceserver_test.go +++ b/iceserver_test.go @@ -11,7 +11,7 @@ import ( "testing" "github.com/pion/stun" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/icetransport.go b/icetransport.go index 01bbc67c39e..3350b01e32b 100644 --- a/icetransport.go +++ b/icetransport.go @@ -15,8 +15,8 @@ import ( "github.com/pion/ice/v2" "github.com/pion/logging" - "github.com/pion/webrtc/v3/internal/mux" - "github.com/pion/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/internal/mux" + "github.com/sepehrEslami81/webrtc/v3/internal/util" ) // ICETransport allows an application access to information about the ICE diff --git a/interceptor_test.go b/interceptor_test.go index f248446a824..ccf368c0dc8 100644 --- a/interceptor_test.go +++ b/interceptor_test.go @@ -17,7 +17,7 @@ import ( mock_interceptor "github.com/pion/interceptor/pkg/mock" "github.com/pion/rtp" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/mediaengine.go b/mediaengine.go index a7cfa882639..ddcbe787698 100644 --- a/mediaengine.go +++ b/mediaengine.go @@ -16,7 +16,7 @@ import ( "github.com/pion/rtp" "github.com/pion/rtp/codecs" "github.com/pion/sdp/v3" - "github.com/pion/webrtc/v3/internal/fmtp" + "github.com/sepehrEslami81/webrtc/v3/internal/fmtp" ) const ( diff --git a/ortc_media_test.go b/ortc_media_test.go index 966d285cc06..68589410dac 100644 --- a/ortc_media_test.go +++ b/ortc_media_test.go @@ -12,7 +12,7 @@ import ( "time" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/ortc_test.go b/ortc_test.go index 51e1023e69a..05b4bccd2b3 100644 --- a/ortc_test.go +++ b/ortc_test.go @@ -7,7 +7,7 @@ package webrtc import ( - "github.com/pion/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/internal/util" ) type testORTCStack struct { diff --git a/peerconnection.go b/peerconnection.go index d515c08a7b2..582710bbc29 100644 --- a/peerconnection.go +++ b/peerconnection.go @@ -25,8 +25,8 @@ import ( "github.com/pion/rtcp" "github.com/pion/sdp/v3" "github.com/pion/srtp/v2" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a diff --git a/peerconnection_go_test.go b/peerconnection_go_test.go index f610d1c4311..ba003e5c107 100644 --- a/peerconnection_go_test.go +++ b/peerconnection_go_test.go @@ -26,8 +26,8 @@ import ( "github.com/pion/rtp" "github.com/pion/transport/v2/test" "github.com/pion/transport/v2/vnet" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/peerconnection_js.go b/peerconnection_js.go index 8322e1be925..2e8064b5123 100644 --- a/peerconnection_js.go +++ b/peerconnection_js.go @@ -11,7 +11,7 @@ import ( "syscall/js" "github.com/pion/ice/v2" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) // PeerConnection represents a WebRTC connection that establishes a diff --git a/peerconnection_media_test.go b/peerconnection_media_test.go index 064c8c4fe25..47b1e1a311e 100644 --- a/peerconnection_media_test.go +++ b/peerconnection_media_test.go @@ -27,8 +27,8 @@ import ( "github.com/pion/rtp" "github.com/pion/sdp/v3" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/peerconnection_renegotiation_test.go b/peerconnection_renegotiation_test.go index 9a52e280818..91cf3d05ed2 100644 --- a/peerconnection_renegotiation_test.go +++ b/peerconnection_renegotiation_test.go @@ -20,9 +20,9 @@ import ( "github.com/pion/rtp" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/media" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) diff --git a/peerconnection_test.go b/peerconnection_test.go index f4445ee5639..a1ea7ac8b06 100644 --- a/peerconnection_test.go +++ b/peerconnection_test.go @@ -12,7 +12,7 @@ import ( "github.com/pion/sdp/v3" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/pkg/media/samplebuilder/samplebuilder.go b/pkg/media/samplebuilder/samplebuilder.go index e651fdbb8ef..be2eb41c6ed 100644 --- a/pkg/media/samplebuilder/samplebuilder.go +++ b/pkg/media/samplebuilder/samplebuilder.go @@ -9,7 +9,7 @@ import ( "time" "github.com/pion/rtp" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" ) // SampleBuilder buffers packets until media frames are complete. diff --git a/pkg/media/samplebuilder/samplebuilder_test.go b/pkg/media/samplebuilder/samplebuilder_test.go index 2e2d6f5ea5b..a971c595cb5 100644 --- a/pkg/media/samplebuilder/samplebuilder_test.go +++ b/pkg/media/samplebuilder/samplebuilder_test.go @@ -9,7 +9,7 @@ import ( "time" "github.com/pion/rtp" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/rtpcodec.go b/rtpcodec.go index 4b8f81c4e74..445f1687495 100644 --- a/rtpcodec.go +++ b/rtpcodec.go @@ -6,7 +6,7 @@ package webrtc import ( "strings" - "github.com/pion/webrtc/v3/internal/fmtp" + "github.com/sepehrEslami81/webrtc/v3/internal/fmtp" ) // RTPCodecType determines the type of a codec diff --git a/rtpreceiver.go b/rtpreceiver.go index 28d72246da3..a46bcbe9a7c 100644 --- a/rtpreceiver.go +++ b/rtpreceiver.go @@ -16,7 +16,7 @@ import ( "github.com/pion/interceptor" "github.com/pion/rtcp" "github.com/pion/srtp/v2" - "github.com/pion/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/internal/util" ) // trackStreams maintains a mapping of RTP/RTCP streams to a specific track diff --git a/rtpreceiver_go_test.go b/rtpreceiver_go_test.go index 47b6982a230..2fb81ff811c 100644 --- a/rtpreceiver_go_test.go +++ b/rtpreceiver_go_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/rtpreceiver_test.go b/rtpreceiver_test.go index bda4a0fa784..1ac72d99a36 100644 --- a/rtpreceiver_test.go +++ b/rtpreceiver_test.go @@ -12,7 +12,7 @@ import ( "time" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/rtpsender.go b/rtpsender.go index 0c0e867ecdc..46d037c3906 100644 --- a/rtpsender.go +++ b/rtpsender.go @@ -16,7 +16,7 @@ import ( "github.com/pion/randutil" "github.com/pion/rtcp" "github.com/pion/rtp" - "github.com/pion/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/internal/util" ) type trackEncoding struct { diff --git a/rtpsender_test.go b/rtpsender_test.go index d071e5a8238..797f4313cd9 100644 --- a/rtpsender_test.go +++ b/rtpsender_test.go @@ -15,7 +15,7 @@ import ( "time" "github.com/pion/transport/v2/test" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" "github.com/stretchr/testify/assert" ) diff --git a/sctptransport.go b/sctptransport.go index 8167423b7ef..338fcf8af42 100644 --- a/sctptransport.go +++ b/sctptransport.go @@ -16,7 +16,7 @@ import ( "github.com/pion/datachannel" "github.com/pion/logging" "github.com/pion/sctp" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) const sctpMaxChannels = uint16(65535) diff --git a/signalingstate.go b/signalingstate.go index 42911c9af76..4f118bb82c2 100644 --- a/signalingstate.go +++ b/signalingstate.go @@ -7,7 +7,7 @@ import ( "fmt" "sync/atomic" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" ) type stateChangeOp int diff --git a/signalingstate_test.go b/signalingstate_test.go index 23ca7cbbe9d..4d1d2d49f55 100644 --- a/signalingstate_test.go +++ b/signalingstate_test.go @@ -6,7 +6,7 @@ package webrtc import ( "testing" - "github.com/pion/webrtc/v3/pkg/rtcerr" + "github.com/sepehrEslami81/webrtc/v3/pkg/rtcerr" "github.com/stretchr/testify/assert" ) diff --git a/track_local_static.go b/track_local_static.go index 1c06feba94d..4c5ac516a08 100644 --- a/track_local_static.go +++ b/track_local_static.go @@ -11,8 +11,8 @@ import ( "sync" "github.com/pion/rtp" - "github.com/pion/webrtc/v3/internal/util" - "github.com/pion/webrtc/v3/pkg/media" + "github.com/sepehrEslami81/webrtc/v3/internal/util" + "github.com/sepehrEslami81/webrtc/v3/pkg/media" ) // trackBinding is a single bind for a Track From 9c120ee7c19a4a6454ce0c1e6000fba9bee90396 Mon Sep 17 00:00:00 2001 From: sepehreslami Date: Sat, 5 Oct 2024 10:02:03 +0330 Subject: [PATCH 3/3] change bitrate --- icegatherer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icegatherer.go b/icegatherer.go index cd0d8672b82..f52b35ffde8 100644 --- a/icegatherer.go +++ b/icegatherer.go @@ -334,8 +334,8 @@ func (g *ICEGatherer) collectStats(collector *statsReportCollector) { LastResponseTimestamp: statsTimestampFrom(candidatePairStats.LastResponseTimestamp), TotalRoundTripTime: candidatePairStats.TotalRoundTripTime, CurrentRoundTripTime: candidatePairStats.CurrentRoundTripTime, - AvailableOutgoingBitrate: candidatePairStats.AvailableOutgoingBitrate, - AvailableIncomingBitrate: candidatePairStats.AvailableIncomingBitrate, + AvailableOutgoingBitrate: 2500000, + AvailableIncomingBitrate: 2500000, CircuitBreakerTriggerCount: candidatePairStats.CircuitBreakerTriggerCount, RequestsReceived: candidatePairStats.RequestsReceived, RequestsSent: candidatePairStats.RequestsSent,