rename package

This commit is contained in:
xugo
2026-01-08 13:14:12 +08:00
parent 6f168dadd0
commit 338eb89699
78 changed files with 152 additions and 152 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import (
"log/slog"
"net"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
// MessageDeviceListResponse 设备明细列表返回结构
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"log/slog"
"math"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
// 配置参数类型常量定义
+3 -3
View File
@@ -8,9 +8,9 @@ import (
"sync"
"time"
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/pkg/gbs/m"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/pkg/gbs/m"
"github.com/gowvp/owl/pkg/gbs/sip"
"github.com/ixugo/goddd/pkg/conc"
)
+2 -2
View File
@@ -8,8 +8,8 @@ import (
"sync"
"time"
"github.com/gowvp/gb28181/pkg/gbs/m"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/m"
"github.com/gowvp/owl/pkg/gbs/sip"
)
type apiRecordList struct {
+1 -1
View File
@@ -1,7 +1,7 @@
package gbs
import (
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
func (g GB28181API) handlerMessage(ctx *sip.Context) {
+1 -1
View File
@@ -3,7 +3,7 @@ package gbs
import (
"log/slog"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
func (g *GB28181API) QuerySnapshot(deviceID, channelID string) error {
+2 -2
View File
@@ -3,8 +3,8 @@ package gbs
import (
"encoding/hex"
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/pkg/gbs/sip"
)
// QueryDeviceInfo 设备信息查询请求
+2 -2
View File
@@ -1,8 +1,8 @@
package gbs
import (
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/pkg/gbs/sip"
"github.com/ixugo/goddd/pkg/orm"
// "github.com/panjjo/gosip/db"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"strings"
"time"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
const (
+6 -6
View File
@@ -8,11 +8,11 @@ import (
"strings"
"sync"
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/internal/core/sms"
"github.com/gowvp/gb28181/pkg/gbs/m"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/gb28181/pkg/zlm"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/internal/core/sms"
"github.com/gowvp/owl/pkg/gbs/m"
"github.com/gowvp/owl/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/zlm"
sdp "github.com/panjjo/gosdp"
)
@@ -85,7 +85,7 @@ func (g *GB28181API) Play(in *PlayInput) error {
if ok {
log.Debug("PLAY 已存在流")
// TODO: 临时解决方案,每次播放,先停止再播放
// https://github.com/gowvp/gb28181/issues/16
// https://github.com/gowvp/owl/issues/16
if err := g.stopPlay(ch, &StopPlayInput{
Channel: in.Channel,
}); err != nil {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"sync"
"time"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
// 获取录像文件列表
+4 -4
View File
@@ -8,10 +8,10 @@ import (
"time"
"unicode"
"github.com/gowvp/gb28181/internal/conf"
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/internal/core/sms"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/internal/conf"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/internal/core/sms"
"github.com/gowvp/owl/pkg/gbs/sip"
"github.com/ixugo/goddd/pkg/conc"
"github.com/ixugo/goddd/pkg/orm"
)
+6 -6
View File
@@ -10,12 +10,12 @@ import (
"sync"
"time"
"github.com/gowvp/gb28181/internal/conf"
"github.com/gowvp/gb28181/internal/core/bz"
"github.com/gowvp/gb28181/internal/core/ipc"
"github.com/gowvp/gb28181/internal/core/sms"
"github.com/gowvp/gb28181/pkg/gbs/m"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/internal/conf"
"github.com/gowvp/owl/internal/core/bz"
"github.com/gowvp/owl/internal/core/ipc"
"github.com/gowvp/owl/internal/core/sms"
"github.com/gowvp/owl/pkg/gbs/m"
"github.com/gowvp/owl/pkg/gbs/sip"
"github.com/ixugo/goddd/pkg/conc"
"github.com/ixugo/netpulse/ip"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"sync"
"time"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
// Streams Streams
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"fmt"
"net/url"
"github.com/gowvp/gb28181/pkg/gbs/sip"
"github.com/gowvp/owl/pkg/gbs/sip"
)
type zlmGetMediaListReq struct {