mod 변경

master v1.0.28
Jaehwan Lee 1 year ago
parent bd8fdce4e6
commit cd936e09dd

@ -8,10 +8,10 @@ JOY4 is powerful library written in golang, well-designed interface makes a few
Well-designed and easy-to-use interfaces: Well-designed and easy-to-use interfaces:
- Muxer / Demuxer ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av#Demuxer) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/open_probe_file/main.go)) - Muxer / Demuxer ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av#Demuxer) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/open_probe_file/main.go))
- Audio Decoder ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av#AudioDecoder) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/audio_decode/main.go)) - Audio Decoder ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av#AudioDecoder) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/audio_decode/main.go))
- Transcoding ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/transcode) [example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/transcode/main.go)) - Transcoding ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/transcode) [example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/transcode/main.go))
- Streaming server ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/http_flv_and_rtmp_server/main.go)) - Streaming server ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/http_flv_and_rtmp_server/main.go))
Support container formats: Support container formats:
@ -34,31 +34,31 @@ RTMP / HTTP-FLV Server
- High performance - High performance
Publisher-subscriber packet buffer queue ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/pubsub)) Publisher-subscriber packet buffer queue ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/pubsub))
- Customize publisher buffer time and subscriber read position - Customize publisher buffer time and subscriber read position
- Multiple channels live streaming ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/rtmp_server_channels/main.go)) - Multiple channels live streaming ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/rtmp_server_channels/main.go))
Packet filters ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/av/pktque)) Packet filters ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/av/pktque))
- Wait first keyframe - Wait first keyframe
- Fix timestamp - Fix timestamp
- Make A/V sync - Make A/V sync
- Customize ([example](https://gitlab.com/ics_cinnamon/joy4/blob/master/examples/rtmp_server_channels/main.go#L19)) - Customize ([example](https://git.icomsys.co.kr/ljhwan026/joy4/blob/master/examples/rtmp_server_channels/main.go#L19))
FFMPEG Golang-style binding ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg)) FFMPEG Golang-style binding ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg))
- Audio Encoder / Decoder - Audio Encoder / Decoder
- Video Decoder - Video Decoder
- Audio Resampler - Audio Resampler
Support codec and container parsers: Support codec and container parsers:
- H264 SPS/PPS/AVCDecoderConfigure parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/codec/h264parser)) - H264 SPS/PPS/AVCDecoderConfigure parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser))
- AAC ADTSHeader/MPEG4AudioConfig parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/codec/aacparser)) - AAC ADTSHeader/MPEG4AudioConfig parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser))
- MP4 Atoms parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io)) - MP4 Atoms parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io))
- FLV AMF0 object parser ([doc](https://pkg.go.dev/gitlab.com/ics_cinnamon/joy4/format/flv/flvio)) - FLV AMF0 object parser ([doc](https://pkg.go.dev/git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio))
# Requirements # Requirements

@ -1,7 +1,7 @@
package pktque package pktque
import ( import (
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
) )
type Buf struct { type Buf struct {

@ -4,7 +4,7 @@ package pktque
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
) )
type Filter interface { type Filter interface {

@ -6,8 +6,8 @@ import (
"sync" "sync"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/pktque" "git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
) )
// time // time

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/pktque" "git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
) )
var Debug bool var Debug bool

@ -12,9 +12,9 @@ import (
"time" "time"
"unsafe" "unsafe"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
) )
const debug = false const debug = false

@ -10,8 +10,8 @@ import (
"runtime" "runtime"
"unsafe" "unsafe"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
) )
type VideoDecoder struct { type VideoDecoder struct {

@ -6,8 +6,8 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits"
) )
// copied from libavcodec/mpeg4audio.h // copied from libavcodec/mpeg4audio.h

@ -3,8 +3,8 @@ package codec
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/fake" "git.icomsys.co.kr/ljhwan026/joy4/codec/fake"
) )
type PCMUCodecData struct { type PCMUCodecData struct {

@ -1,7 +1,7 @@
package fake package fake
import ( import (
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
) )
type CodecData struct { type CodecData struct {

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
const ( const (

@ -1,10 +1,10 @@
package main package main
import ( import (
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg" "git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
) )
// need ffmpeg installed // need ffmpeg installed

@ -5,11 +5,11 @@ import (
"net/http" "net/http"
"sync" "sync"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pubsub" "git.icomsys.co.kr/ljhwan026/joy4/av/pubsub"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/flv" "git.icomsys.co.kr/ljhwan026/joy4/format/flv"
"gitlab.com/ics_cinnamon/joy4/format/rtmp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
) )
func init() { func init() {

@ -3,9 +3,9 @@ package main
import ( import (
"fmt" "fmt"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
) )
func init() { func init() {

@ -1,10 +1,10 @@
package main package main
import ( import (
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pktque" "git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
) )
func init() { func init() {

@ -5,12 +5,12 @@ import (
"sync" "sync"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/pktque" "git.icomsys.co.kr/ljhwan026/joy4/av/pktque"
"gitlab.com/ics_cinnamon/joy4/av/pubsub" "git.icomsys.co.kr/ljhwan026/joy4/av/pubsub"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
) )
func init() { func init() {

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"strings" "strings"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
) )
func init() { func init() {

@ -1,12 +1,12 @@
package main package main
import ( import (
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/transcode" "git.icomsys.co.kr/ljhwan026/joy4/av/transcode"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg" "git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
"gitlab.com/ics_cinnamon/joy4/format/rtmp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtmp"
) )
// need ffmpeg with libspeex and libfdkaac installed // need ffmpeg with libspeex and libfdkaac installed

@ -1,11 +1,11 @@
package main package main
import ( import (
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/av/transcode" "git.icomsys.co.kr/ljhwan026/joy4/av/transcode"
"gitlab.com/ics_cinnamon/joy4/cgo/ffmpeg" "git.icomsys.co.kr/ljhwan026/joy4/cgo/ffmpeg"
"gitlab.com/ics_cinnamon/joy4/format" "git.icomsys.co.kr/ljhwan026/joy4/format"
) )
// need ffmpeg with libfdkaac installed // need ffmpeg with libfdkaac installed

@ -6,9 +6,9 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
) )
type Muxer struct { type Muxer struct {

@ -5,14 +5,14 @@ import (
"fmt" "fmt"
"io" "io"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec" "git.icomsys.co.kr/ljhwan026/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/fake" "git.icomsys.co.kr/ljhwan026/joy4/codec/fake"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/flv/flvio" "git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
var MaxProbePacketCount = 20 var MaxProbePacketCount = 20

@ -6,7 +6,7 @@ import (
"strings" "strings"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type AMF0ParseError struct { type AMF0ParseError struct {

@ -5,8 +5,8 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
func TsToTime(ts int32) time.Duration { func TsToTime(ts int32) time.Duration {

@ -1,9 +1,9 @@
package format package format
import ( import (
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format/aac" "git.icomsys.co.kr/ljhwan026/joy4/format/aac"
"gitlab.com/ics_cinnamon/joy4/format/raw" "git.icomsys.co.kr/ljhwan026/joy4/format/raw"
) )
func RegisterAll() { func RegisterAll() {

@ -16,13 +16,13 @@ import (
"strings" "strings"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec" "git.icomsys.co.kr/ljhwan026/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()") var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")

@ -6,10 +6,10 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
) )
type Demuxer struct { type Demuxer struct {

@ -3,8 +3,8 @@ package mp4
import ( import (
"io" "io"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
) )
var CodecTypes = []av.CodecType{av.H264, av.AAC} var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -3,7 +3,7 @@ package mp4io
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
const MOOF = Tag(0x6d6f6f66) const MOOF = Tag(0x6d6f6f66)

@ -966,7 +966,7 @@ func genatoms(filename, outfilename string) {
&ast.GenDecl{ &ast.GenDecl{
Tok: token.IMPORT, Tok: token.IMPORT,
Specs: []ast.Spec{ Specs: []ast.Spec{
&ast.ImportSpec{Path: &ast.BasicLit{Kind: token.STRING, Value: `"gitlab.com/ics_cinnamon/joy4/utils/bits/pio"`}}, &ast.ImportSpec{Path: &ast.BasicLit{Kind: token.STRING, Value: `"git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"`}},
}, },
}, },
&ast.GenDecl{ &ast.GenDecl{

@ -8,7 +8,7 @@ import (
"strings" "strings"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type ParseError struct { type ParseError struct {

@ -6,11 +6,11 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type Muxer struct { type Muxer struct {

@ -3,8 +3,8 @@ package mp4
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
) )
type Stream struct { type Stream struct {

@ -1,6 +1,6 @@
package mp4f package mp4f
import "gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" import "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
type FDummy struct { type FDummy struct {
Data []byte Data []byte

@ -1,8 +1,8 @@
package mp4fio package mp4fio
import ( import (
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
func (self MovieFrag) Tag() mp4io.Tag { func (self MovieFrag) Tag() mp4io.Tag {

@ -1,8 +1,8 @@
package mp4fio package mp4fio
import ( import (
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type ElemStreamDesc struct { type ElemStreamDesc struct {

@ -6,12 +6,12 @@ import (
"os" "os"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/format/mp4f/mp4fio" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4f/mp4fio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type Muxer struct { type Muxer struct {

@ -3,10 +3,10 @@ package mp4f
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/mp4" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4"
"gitlab.com/ics_cinnamon/joy4/format/mp4/mp4io" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4/mp4io"
"gitlab.com/ics_cinnamon/joy4/format/mp4f/mp4fio" "git.icomsys.co.kr/ljhwan026/joy4/format/mp4f/mp4fio"
) )
type Stream struct { type Stream struct {

@ -5,9 +5,9 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type Demuxer struct { type Demuxer struct {

@ -3,8 +3,8 @@ package raw
import ( import (
"io" "io"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
) )
var CodecTypes = []av.CodecType{av.H264, av.AAC} var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -5,9 +5,9 @@ import (
"fmt" "fmt"
"io" "io"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type Muxer struct { type Muxer struct {

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
) )
type Stream struct { type Stream struct {

@ -14,11 +14,11 @@ import (
"strings" "strings"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/format/flv" "git.icomsys.co.kr/ljhwan026/joy4/format/flv"
"gitlab.com/ics_cinnamon/joy4/format/flv/flvio" "git.icomsys.co.kr/ljhwan026/joy4/format/flv/flvio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
var Debug bool var Debug bool

@ -18,13 +18,13 @@ import (
"strings" "strings"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
"gitlab.com/ics_cinnamon/joy4/codec" "git.icomsys.co.kr/ljhwan026/joy4/codec"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()") var ErrCodecDataChange = fmt.Errorf("rtsp: codec data change, please call HandleCodecDataChange()")

@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"strings" "strings"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
) )
type Session struct { type Session struct {

@ -3,8 +3,8 @@ package rtsp
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/rtsp/sdp" "git.icomsys.co.kr/ljhwan026/joy4/format/rtsp/sdp"
) )
type Stream struct { type Stream struct {

@ -6,11 +6,11 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio" "git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
type Demuxer struct { type Demuxer struct {

@ -3,8 +3,8 @@ package ts
import ( import (
"io" "io"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/av/avutil" "git.icomsys.co.kr/ljhwan026/joy4/av/avutil"
) )
func Handler(h *avutil.RegisterHandler) { func Handler(h *avutil.RegisterHandler) {

@ -5,10 +5,10 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/codec/aacparser" "git.icomsys.co.kr/ljhwan026/joy4/codec/aacparser"
"gitlab.com/ics_cinnamon/joy4/codec/h264parser" "git.icomsys.co.kr/ljhwan026/joy4/codec/h264parser"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio" "git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
) )
var CodecTypes = []av.CodecType{av.H264, av.AAC} var CodecTypes = []av.CodecType{av.H264, av.AAC}

@ -3,8 +3,8 @@ package ts
import ( import (
"time" "time"
"gitlab.com/ics_cinnamon/joy4/av" "git.icomsys.co.kr/ljhwan026/joy4/av"
"gitlab.com/ics_cinnamon/joy4/format/ts/tsio" "git.icomsys.co.kr/ljhwan026/joy4/format/ts/tsio"
) )
type Stream struct { type Stream struct {

@ -5,7 +5,7 @@ import (
"io" "io"
"time" "time"
"gitlab.com/ics_cinnamon/joy4/utils/bits/pio" "git.icomsys.co.kr/ljhwan026/joy4/utils/bits/pio"
) )
const ( const (

Loading…
Cancel
Save