change import path
This commit is contained in:
parent
16cf2032b8
commit
f61f4435ac
@ -4,7 +4,7 @@ import (
|
|||||||
"io"
|
"io"
|
||||||
"fmt"
|
"fmt"
|
||||||
"bytes"
|
"bytes"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
@ -3,7 +3,7 @@ package channels
|
|||||||
import (
|
import (
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"hash/fnv"
|
"hash/fnv"
|
||||||
"io"
|
"io"
|
||||||
"sync"
|
"sync"
|
||||||
|
@ -2,7 +2,7 @@ package channels
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,8 +3,8 @@ package transcode
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/pktque"
|
"github.com/nareix/joy4/av/pktque"
|
||||||
)
|
)
|
||||||
|
|
||||||
const debug = true
|
const debug = true
|
||||||
|
@ -2,7 +2,7 @@ package aacparser
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/bits"
|
"github.com/nareix/bits"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
"fmt"
|
||||||
"bytes"
|
"bytes"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package codec
|
package codec
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
package fake
|
package fake
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CodecData struct {
|
type CodecData struct {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
package h264parser
|
package h264parser
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/bits"
|
"github.com/nareix/bits"
|
||||||
"io"
|
"io"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
@ -16,8 +16,8 @@ import (
|
|||||||
"runtime"
|
"runtime"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
)
|
)
|
||||||
|
|
||||||
const debug = false
|
const debug = false
|
||||||
|
10
flv/flv.go
10
flv/flv.go
@ -3,12 +3,12 @@ package flv
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/avutil"
|
"github.com/nareix/joy4/av/avutil"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/pio"
|
"github.com/nareix/pio"
|
||||||
"github.com/nareix/flv/flvio"
|
"github.com/nareix/joy4/flv/flvio"
|
||||||
"io"
|
"io"
|
||||||
"bufio"
|
"bufio"
|
||||||
)
|
)
|
||||||
|
@ -3,7 +3,7 @@ package flvio
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/pio"
|
"github.com/nareix/pio"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,11 +4,11 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"time"
|
"time"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"github.com/nareix/mp4/atom"
|
"github.com/nareix/joy4/mp4/atom"
|
||||||
"github.com/nareix/mp4/isom"
|
"github.com/nareix/joy4/mp4/isom"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ package mp4
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/avutil"
|
"github.com/nareix/joy4/av/avutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Handler(h *avutil.RegisterHandler) {
|
func Handler(h *avutil.RegisterHandler) {
|
||||||
|
10
mp4/muxer.go
10
mp4/muxer.go
@ -4,12 +4,12 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/pio"
|
"github.com/nareix/pio"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"github.com/nareix/mp4/atom"
|
"github.com/nareix/joy4/mp4/atom"
|
||||||
"github.com/nareix/mp4/isom"
|
"github.com/nareix/joy4/mp4/isom"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package mp4
|
package mp4
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/mp4/atom"
|
"github.com/nareix/joy4/mp4/atom"
|
||||||
"time"
|
"time"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
12
rtmp/rtmp.go
12
rtmp/rtmp.go
@ -12,12 +12,12 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"io"
|
"io"
|
||||||
"github.com/nareix/pio"
|
"github.com/nareix/pio"
|
||||||
"github.com/nareix/flv/flvio"
|
"github.com/nareix/joy4/flv/flvio"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/avutil"
|
"github.com/nareix/joy4/av/avutil"
|
||||||
"github.com/nareix/codec"
|
"github.com/nareix/joy4/codec"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"crypto/hmac"
|
"crypto/hmac"
|
||||||
"crypto/sha256"
|
"crypto/sha256"
|
||||||
"crypto/rand"
|
"crypto/rand"
|
||||||
|
@ -8,12 +8,12 @@ import (
|
|||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/avutil"
|
"github.com/nareix/joy4/av/avutil"
|
||||||
"github.com/nareix/codec"
|
"github.com/nareix/joy4/codec"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"github.com/nareix/rtsp/sdp"
|
"github.com/nareix/joy4/rtsp/sdp"
|
||||||
"io"
|
"io"
|
||||||
"net"
|
"net"
|
||||||
"net/textproto"
|
"net/textproto"
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"encoding/base64"
|
"encoding/base64"
|
||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
)
|
)
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package rtsp
|
package rtsp
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/rtsp/sdp"
|
"github.com/nareix/joy4/rtsp/sdp"
|
||||||
"time"
|
"time"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -5,9 +5,9 @@ import (
|
|||||||
"encoding/hex"
|
"encoding/hex"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -2,8 +2,8 @@ package ts
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/av/avutil"
|
"github.com/nareix/joy4/av/avutil"
|
||||||
)
|
)
|
||||||
|
|
||||||
func Handler(h *avutil.RegisterHandler) {
|
func Handler(h *avutil.RegisterHandler) {
|
||||||
|
@ -3,9 +3,9 @@ package ts
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
"github.com/nareix/codec/aacparser"
|
"github.com/nareix/joy4/codec/aacparser"
|
||||||
"github.com/nareix/codec/h264parser"
|
"github.com/nareix/joy4/codec/h264parser"
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package ts
|
|||||||
import (
|
import (
|
||||||
"time"
|
"time"
|
||||||
"bytes"
|
"bytes"
|
||||||
"github.com/nareix/av"
|
"github.com/nareix/joy4/av"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Stream struct {
|
type Stream struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user