@ -3,7 +3,7 @@ package configure
import (
"fmt"
"livego/utils/uid"
"github.com/gwuhaolin/livego/utils/uid"
"github.com/go-redis/redis/v7"
"github.com/patrickmn/go-cache"
@ -2,7 +2,7 @@ package flv
"livego/av"
"github.com/gwuhaolin/livego/av"
)
var (
@ -7,11 +7,11 @@ import (
"strings"
"time"
"livego/configure"
"livego/protocol/amf"
"livego/utils/pio"
"github.com/gwuhaolin/livego/configure"
"github.com/gwuhaolin/livego/protocol/amf"
"github.com/gwuhaolin/livego/utils/pio"
log "github.com/sirupsen/logrus"
@ -3,7 +3,7 @@ package flv
type flvTag struct {
@ -3,7 +3,7 @@ package ts
"io"
const (
"testing"
"github.com/stretchr/testify/assert"
@ -1,4 +1,4 @@
module livego
module github.com/gwuhaolin/livego
go 1.13
@ -14,6 +14,7 @@ require (
github.com/sirupsen/logrus v1.5.0
github.com/spf13/pflag v1.0.3
github.com/spf13/viper v1.6.3
github.com/stretchr/objx v0.1.1 // indirect
github.com/stretchr/testify v1.4.0
github.com/urfave/negroni v1.0.0 // indirect
@ -2,11 +2,11 @@ package main
"livego/protocol/api"
"livego/protocol/hls"
"livego/protocol/httpflv"
"livego/protocol/rtmp"
"github.com/gwuhaolin/livego/protocol/api"
"github.com/gwuhaolin/livego/protocol/hls"
"github.com/gwuhaolin/livego/protocol/httpflv"
"github.com/gwuhaolin/livego/protocol/rtmp"
"net"
"path"
"runtime"
@ -4,7 +4,7 @@ import (
type mpegExtension struct {
@ -4,10 +4,10 @@ import (
"livego/parser/aac"
"livego/parser/h264"
"livego/parser/mp3"
"github.com/gwuhaolin/livego/parser/aac"
"github.com/gwuhaolin/livego/parser/h264"
"github.com/gwuhaolin/livego/parser/mp3"
@ -6,10 +6,10 @@ import (
"net/http"
"livego/protocol/rtmp/rtmprelay"
"github.com/gwuhaolin/livego/protocol/rtmp/rtmprelay"
jwtmiddleware "github.com/auth0/go-jwt-middleware"
"github.com/dgrijalva/jwt-go"
@ -2,7 +2,7 @@ package hls
@ -10,7 +10,7 @@ import (
cmap "github.com/orcaman/concurrent-map"
@ -3,13 +3,13 @@ package hls
"bytes"
"livego/container/flv"
"livego/container/ts"
"livego/parser"
"github.com/gwuhaolin/livego/container/flv"
"github.com/gwuhaolin/livego/container/ts"
"github.com/gwuhaolin/livego/parser"
@ -6,8 +6,8 @@ import (
@ -5,10 +5,10 @@ import (
@ -1,8 +1,8 @@
package cache
type Cache struct {
@ -3,7 +3,7 @@ package cache
@ -3,8 +3,8 @@ package cache
@ -4,8 +4,8 @@ import (
"encoding/binary"
"livego/utils/pool"
"github.com/gwuhaolin/livego/utils/pool"
type ChunkStream struct {
@ -5,8 +5,8 @@ import (
@ -9,8 +9,8 @@ import (
neturl "net/url"
@ -5,7 +5,7 @@ import (
@ -8,12 +8,12 @@ import (
"livego/protocol/rtmp/core"
"github.com/gwuhaolin/livego/protocol/rtmp/core"
@ -4,9 +4,9 @@ import (
"sync"
@ -5,9 +5,9 @@ import (
"livego/protocol/rtmp/cache"
"github.com/gwuhaolin/livego/protocol/rtmp/cache"
@ -3,7 +3,7 @@ package queue
// Queue is a basic FIFO queue for Messages.