File tree 11 files changed +25
-16
lines changed
11 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 1
- before_script :
1
+ language : go
2
+ dist : xenial
3
+
4
+ go :
5
+ - 1.12.x
6
+
7
+ env :
8
+ - GO111MODULE=on
9
+
10
+ before_install :
11
+ - sudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
2
12
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | bash -s -- -b $GOPATH/bin v1.15.0
3
- - go get ./...
4
13
5
14
script :
6
15
- golangci-lint run
Original file line number Diff line number Diff line change 6
6
"time"
7
7
8
8
"github.com/pion/rtcp"
9
- "github.com/pion/webrtc"
9
+ "github.com/pion/webrtc/v2 "
10
10
11
11
gst "github.com/pion/example-webrtc-applications/internal/gstreamer-sink"
12
12
"github.com/pion/example-webrtc-applications/internal/signal"
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"math/rand"
7
7
8
- "github.com/pion/webrtc"
8
+ "github.com/pion/webrtc/v2 "
9
9
10
10
gst "github.com/pion/example-webrtc-applications/internal/gstreamer-src"
11
11
"github.com/pion/example-webrtc-applications/internal/signal"
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"math/rand"
7
7
8
- "github.com/pion/webrtc"
8
+ "github.com/pion/webrtc/v2 "
9
9
10
10
gst "github.com/pion/example-webrtc-applications/internal/gstreamer-src"
11
11
"github.com/pion/example-webrtc-applications/internal/signal"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import "C"
10
10
import (
11
11
"unsafe"
12
12
13
- "github.com/pion/webrtc"
13
+ "github.com/pion/webrtc/v2 "
14
14
)
15
15
16
16
// StartMainLoop starts GLib's main loop
Original file line number Diff line number Diff line change @@ -12,8 +12,8 @@ import (
12
12
"sync"
13
13
"unsafe"
14
14
15
- "github.com/pion/webrtc"
16
- "github.com/pion/webrtc/pkg/media"
15
+ "github.com/pion/webrtc/v2 "
16
+ "github.com/pion/webrtc/v2/ pkg/media"
17
17
)
18
18
19
19
func init () {
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import (
5
5
"time"
6
6
7
7
janus "github.com/notedit/janus-go"
8
- "github.com/pion/webrtc"
9
- "github.com/pion/webrtc/pkg/media"
10
- "github.com/pion/webrtc/pkg/media/ivfwriter"
11
- "github.com/pion/webrtc/pkg/media/opuswriter"
8
+ "github.com/pion/webrtc/v2 "
9
+ "github.com/pion/webrtc/v2/ pkg/media"
10
+ "github.com/pion/webrtc/v2/ pkg/media/ivfwriter"
11
+ "github.com/pion/webrtc/v2/ pkg/media/opuswriter"
12
12
)
13
13
14
14
func saveToDisk (i media.Writer , track * webrtc.Track ) {
Original file line number Diff line number Diff line change 7
7
"time"
8
8
9
9
janus "github.com/notedit/janus-go"
10
- "github.com/pion/webrtc"
10
+ "github.com/pion/webrtc/v2 "
11
11
12
12
gst "github.com/pion/example-webrtc-applications/internal/gstreamer-src"
13
13
)
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package main
3
3
import (
4
4
"sync"
5
5
6
- "github.com/pion/webrtc"
6
+ "github.com/pion/webrtc/v2 "
7
7
)
8
8
9
9
// BroadcastHub keeps a list of all channels
Original file line number Diff line number Diff line change 5
5
"fmt"
6
6
"net/http"
7
7
8
- "github.com/pion/webrtc"
8
+ "github.com/pion/webrtc/v2 "
9
9
"github.com/povilasv/prommod"
10
10
"github.com/prometheus/client_golang/prometheus"
11
11
"github.com/prometheus/client_golang/prometheus/promhttp"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import (
10
10
11
11
"github.com/gorilla/websocket"
12
12
"github.com/pion/rtcp"
13
- "github.com/pion/webrtc"
13
+ "github.com/pion/webrtc/v2 "
14
14
)
15
15
16
16
// Peer config
You can’t perform that action at this time.
0 commit comments