move subfolders in pkg/

This commit is contained in:
aler9
2020-11-15 17:26:09 +01:00
parent 65f6afcd9f
commit c31922be16
43 changed files with 34 additions and 34 deletions

View File

@@ -17,11 +17,11 @@ import (
"sync/atomic"
"time"
"github.com/aler9/gortsplib/auth"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/headers"
"github.com/aler9/gortsplib/multibuffer"
"github.com/aler9/gortsplib/rtcpreceiver"
"github.com/aler9/gortsplib/pkg/auth"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/headers"
"github.com/aler9/gortsplib/pkg/multibuffer"
"github.com/aler9/gortsplib/pkg/rtcpreceiver"
)
const (

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// Announce writes an ANNOUNCE request and reads a Response.

View File

@@ -5,7 +5,7 @@ import (
"sync/atomic"
"time"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// Play writes a PLAY request and reads a Response.

View File

@@ -6,8 +6,8 @@ import (
"sync/atomic"
"time"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/multibuffer"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/multibuffer"
)
type connClientUDPListener struct {

View File

@@ -5,8 +5,8 @@ import (
"net"
"time"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/multibuffer"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/multibuffer"
)
const (

View File

@@ -1,7 +1,7 @@
package gortsplib
import (
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// StreamProtocol is the protocol of a stream.

View File

@@ -7,10 +7,10 @@ import (
"strings"
"time"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/headers"
"github.com/aler9/gortsplib/multibuffer"
"github.com/aler9/gortsplib/rtcpreceiver"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/headers"
"github.com/aler9/gortsplib/pkg/multibuffer"
"github.com/aler9/gortsplib/pkg/rtcpreceiver"
)
// DefaultDialer is the default dialer, used by Dial, DialRead and DialPublish.

View File

@@ -10,7 +10,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/aler9/gortsplib/rtph264"
"github.com/aler9/gortsplib/pkg/rtph264"
)
type container struct {

View File

@@ -7,7 +7,7 @@ import (
"net"
"github.com/aler9/gortsplib"
"github.com/aler9/gortsplib/rtph264"
"github.com/aler9/gortsplib/pkg/rtph264"
)
// This example shows how to generate RTP/H264 frames from a file with Gstreamer,

View File

@@ -7,7 +7,7 @@ import (
"net"
"github.com/aler9/gortsplib"
"github.com/aler9/gortsplib/rtph264"
"github.com/aler9/gortsplib/pkg/rtph264"
)
// This example shows how to generate RTP/H264 frames from a file with Gstreamer,

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"github.com/aler9/gortsplib"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// This example shows how to connect to a server and print informations about

View File

@@ -6,8 +6,8 @@ import (
"net/url"
"strings"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/headers"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/headers"
)
// Client is an object that allows a client to authenticate against a server.

View File

@@ -6,8 +6,8 @@ import (
"github.com/stretchr/testify/require"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/headers"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/headers"
)
var casesAuth = []struct {

View File

@@ -7,8 +7,8 @@ import (
"fmt"
"strings"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/headers"
"github.com/aler9/gortsplib/pkg/base"
"github.com/aler9/gortsplib/pkg/headers"
)
// Server allows a server to authenticate a client.

View File

@@ -5,7 +5,7 @@ import (
"fmt"
"strings"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// AuthMethod is an authentication method.

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
var casesAuth = []struct {

View File

@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// Session is a Session header.

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
var casesSession = []struct {

View File

@@ -5,7 +5,7 @@ import (
"strconv"
"strings"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
// TransportMode is a transport mode.

View File

@@ -5,7 +5,7 @@ import (
"github.com/stretchr/testify/require"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
var casesTransport = []struct {

View File

@@ -7,7 +7,7 @@ import (
"github.com/pion/rtcp"
"github.com/aler9/gortsplib/base"
"github.com/aler9/gortsplib/pkg/base"
)
type frameRtpReq struct {

View File

@@ -10,7 +10,7 @@ import (
"github.com/notedit/rtmp/codec/aac"
psdp "github.com/pion/sdp/v3"
"github.com/aler9/gortsplib/sdp"
"github.com/aler9/gortsplib/pkg/sdp"
)
// Track is a track available in a certain URL.