mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25:58 +01:00
Move to github.
This commit is contained in:
parent
66fb73d01e
commit
325f288189
15 changed files with 33 additions and 33 deletions
|
@ -16,8 +16,8 @@ import (
|
||||||
"github.com/pion/rtp/codecs"
|
"github.com/pion/rtp/codecs"
|
||||||
"github.com/pion/webrtc/v3/pkg/media/samplebuilder"
|
"github.com/pion/webrtc/v3/pkg/media/samplebuilder"
|
||||||
|
|
||||||
"galene/conn"
|
"github.com/jech/galene/conn"
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
)
|
)
|
||||||
|
|
||||||
var Directory string
|
var Directory string
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Estimator struct {
|
type Estimator struct {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package estimator
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestEstimator(t *testing.T) {
|
func TestEstimator(t *testing.T) {
|
||||||
|
|
|
@ -12,7 +12,7 @@ import (
|
||||||
|
|
||||||
"golang.org/x/crypto/pbkdf2"
|
"golang.org/x/crypto/pbkdf2"
|
||||||
|
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -11,9 +11,9 @@ import (
|
||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"galene/diskwriter"
|
"github.com/jech/galene/diskwriter"
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
"galene/webserver"
|
"github.com/jech/galene/webserver"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
||||||
module galene
|
module github.com/jech/galene
|
||||||
|
|
||||||
go 1.13
|
go 1.13
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
"golang.org/x/crypto/pbkdf2"
|
"golang.org/x/crypto/pbkdf2"
|
||||||
|
|
||||||
"galene/conn"
|
"github.com/jech/galene/conn"
|
||||||
)
|
)
|
||||||
|
|
||||||
type RawPassword struct {
|
type RawPassword struct {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package jitter
|
||||||
import (
|
import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
|
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Estimator struct {
|
type Estimator struct {
|
||||||
|
|
|
@ -13,12 +13,12 @@ import (
|
||||||
"github.com/pion/rtp"
|
"github.com/pion/rtp"
|
||||||
"github.com/pion/webrtc/v3"
|
"github.com/pion/webrtc/v3"
|
||||||
|
|
||||||
"galene/conn"
|
"github.com/jech/galene/conn"
|
||||||
"galene/estimator"
|
"github.com/jech/galene/estimator"
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
"galene/jitter"
|
"github.com/jech/galene/jitter"
|
||||||
"galene/packetcache"
|
"github.com/jech/galene/packetcache"
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
type bitrate struct {
|
type bitrate struct {
|
||||||
|
|
|
@ -9,8 +9,8 @@ import (
|
||||||
"github.com/pion/rtp/codecs"
|
"github.com/pion/rtp/codecs"
|
||||||
"github.com/pion/webrtc/v3"
|
"github.com/pion/webrtc/v3"
|
||||||
|
|
||||||
"galene/packetcache"
|
"github.com/jech/galene/packetcache"
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
func isVP8Keyframe(packet *rtp.Packet) bool {
|
func isVP8Keyframe(packet *rtp.Packet) bool {
|
||||||
|
|
|
@ -5,8 +5,8 @@ import (
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
"galene/stats"
|
"github.com/jech/galene/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
func (c *webClient) GetStats() *stats.Client {
|
func (c *webClient) GetStats() *stats.Client {
|
||||||
|
|
|
@ -9,9 +9,9 @@ import (
|
||||||
|
|
||||||
"github.com/pion/rtp"
|
"github.com/pion/rtp"
|
||||||
|
|
||||||
"galene/conn"
|
"github.com/jech/galene/conn"
|
||||||
"galene/packetcache"
|
"github.com/jech/galene/packetcache"
|
||||||
"galene/rtptime"
|
"github.com/jech/galene/rtptime"
|
||||||
)
|
)
|
||||||
|
|
||||||
// packetIndex is a request to send a packet from the cache.
|
// packetIndex is a request to send a packet from the cache.
|
||||||
|
|
|
@ -12,10 +12,10 @@ import (
|
||||||
"github.com/gorilla/websocket"
|
"github.com/gorilla/websocket"
|
||||||
"github.com/pion/webrtc/v3"
|
"github.com/pion/webrtc/v3"
|
||||||
|
|
||||||
"galene/conn"
|
"github.com/jech/galene/conn"
|
||||||
"galene/diskwriter"
|
"github.com/jech/galene/diskwriter"
|
||||||
"galene/estimator"
|
"github.com/jech/galene/estimator"
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
)
|
)
|
||||||
|
|
||||||
func errorToWSCloseMessage(id string, err error) (*clientMessage, []byte) {
|
func errorToWSCloseMessage(id string, err error) (*clientMessage, []byte) {
|
||||||
|
|
|
@ -4,7 +4,7 @@ import (
|
||||||
"sort"
|
"sort"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GroupStats struct {
|
type GroupStats struct {
|
||||||
|
|
|
@ -21,10 +21,10 @@ import (
|
||||||
|
|
||||||
"github.com/gorilla/websocket"
|
"github.com/gorilla/websocket"
|
||||||
|
|
||||||
"galene/diskwriter"
|
"github.com/jech/galene/diskwriter"
|
||||||
"galene/group"
|
"github.com/jech/galene/group"
|
||||||
"galene/rtpconn"
|
"github.com/jech/galene/rtpconn"
|
||||||
"galene/stats"
|
"github.com/jech/galene/stats"
|
||||||
)
|
)
|
||||||
|
|
||||||
var server atomic.Value
|
var server atomic.Value
|
||||||
|
|
Loading…
Reference in a new issue