chore: update repository references from go-onvif to onvif-go
This commit is contained in:
@@ -96,7 +96,7 @@ Help us maintain compatibility information:
|
|||||||
### Clone and Build
|
### Clone and Build
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/0x524A/go-onvif.git
|
git clone https://github.com/0x524A/onvif-go.git
|
||||||
cd go-onvif
|
cd go-onvif
|
||||||
go build ./...
|
go build ./...
|
||||||
```
|
```
|
||||||
@@ -262,9 +262,9 @@ go-onvif/
|
|||||||
|
|
||||||
## Getting Help
|
## Getting Help
|
||||||
|
|
||||||
- 💬 [GitHub Discussions](https://github.com/0x524A/go-onvif/discussions) - Ask questions
|
- 💬 [GitHub Discussions](https://github.com/0x524A/onvif-go/discussions) - Ask questions
|
||||||
- 🐛 [GitHub Issues](https://github.com/0x524A/go-onvif/issues) - Report bugs
|
- 🐛 [GitHub Issues](https://github.com/0x524A/onvif-go/issues) - Report bugs
|
||||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/go-onvif) - Read the docs
|
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go) - Read the docs
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ body:
|
|||||||
placeholder: |
|
placeholder: |
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import "github.com/0x524A/go-onvif"
|
import "github.com/0x524A/onvif-go"
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
// Your code here
|
// Your code here
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
blank_issues_enabled: false
|
blank_issues_enabled: false
|
||||||
contact_links:
|
contact_links:
|
||||||
- name: 💬 Discussions
|
- name: 💬 Discussions
|
||||||
url: https://github.com/0x524A/go-onvif/discussions
|
url: https://github.com/0x524A/onvif-go/discussions
|
||||||
about: Ask questions and discuss ideas with the community
|
about: Ask questions and discuss ideas with the community
|
||||||
- name: 📖 Documentation
|
- name: 📖 Documentation
|
||||||
url: https://pkg.go.dev/github.com/0x524A/go-onvif
|
url: https://pkg.go.dev/github.com/0x524A/onvif-go
|
||||||
about: Read the API documentation
|
about: Read the API documentation
|
||||||
- name: 📚 Examples
|
- name: 📚 Examples
|
||||||
url: https://github.com/0x524A/go-onvif/tree/main/examples
|
url: https://github.com/0x524A/onvif-go/tree/main/examples
|
||||||
about: Browse code examples
|
about: Browse code examples
|
||||||
|
|||||||
+4
-4
@@ -117,8 +117,8 @@ Docker images are automatically built for:
|
|||||||
|
|
||||||
Available at:
|
Available at:
|
||||||
```
|
```
|
||||||
ghcr.io/0x524a/go-onvif:latest
|
ghcr.io/0x524a/onvif-go:latest
|
||||||
ghcr.io/0x524a/go-onvif:v1.0.0
|
ghcr.io/0x524a/onvif-go:v1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
## Manual GitHub Release
|
## Manual GitHub Release
|
||||||
@@ -209,8 +209,8 @@ Users can verify downloads using checksums:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Download binary and checksum
|
# Download binary and checksum
|
||||||
wget https://github.com/0x524A/go-onvif/releases/download/v1.0.0/go-onvif-v1.0.0-linux-amd64.tar.gz
|
wget https://github.com/0x524A/onvif-go/releases/download/v1.0.0/onvif-go-v1.0.0-linux-amd64.tar.gz
|
||||||
wget https://github.com/0x524A/go-onvif/releases/download/v1.0.0/checksums.txt
|
wget https://github.com/0x524A/onvif-go/releases/download/v1.0.0/checksums.txt
|
||||||
|
|
||||||
# Verify
|
# Verify
|
||||||
sha256sum -c checksums.txt --ignore-missing
|
sha256sum -c checksums.txt --ignore-missing
|
||||||
|
|||||||
+1
-1
@@ -48,4 +48,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Comprehensive documentation
|
- Comprehensive documentation
|
||||||
- README with usage guide
|
- README with usage guide
|
||||||
|
|
||||||
[Unreleased]: https://github.com/0x524A/go-onvif/compare/v0.1.0...HEAD
|
[Unreleased]: https://github.com/0x524A/onvif-go/compare/v0.1.0...HEAD
|
||||||
|
|||||||
+1
-1
@@ -45,7 +45,7 @@ git clone https://github.com/YOUR_USERNAME/go-onvif.git
|
|||||||
cd go-onvif
|
cd go-onvif
|
||||||
|
|
||||||
# Add upstream remote
|
# Add upstream remote
|
||||||
git remote add upstream https://github.com/0x524A/go-onvif.git
|
git remote add upstream https://github.com/0x524A/onvif-go.git
|
||||||
|
|
||||||
# Create a branch
|
# Create a branch
|
||||||
git checkout -b feature/my-new-feature
|
git checkout -b feature/my-new-feature
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ We have successfully created a **comprehensive, production-ready Go ONVIF librar
|
|||||||
|
|
||||||
### Basic Library Usage
|
### Basic Library Usage
|
||||||
```go
|
```go
|
||||||
import "github.com/0x524A/go-onvif"
|
import "github.com/0x524A/onvif-go"
|
||||||
|
|
||||||
client, err := onvif.NewClient(
|
client, err := onvif.NewClient(
|
||||||
"http://192.168.1.100/onvif/device_service",
|
"http://192.168.1.100/onvif/device_service",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
# Go ONVIF Library Makefile
|
# ONVIF GO Library Makefile
|
||||||
|
|
||||||
.PHONY: all build test clean install deps lint fmt vet check examples cli docker
|
.PHONY: all build test clean install deps lint fmt vet check examples cli docker
|
||||||
|
|
||||||
@@ -181,7 +181,7 @@ release: build-all
|
|||||||
# Create Docker image
|
# Create Docker image
|
||||||
docker:
|
docker:
|
||||||
@echo "🐳 Building Docker image..."
|
@echo "🐳 Building Docker image..."
|
||||||
docker build -t go-onvif:latest .
|
docker build -t onvif-go:latest .
|
||||||
|
|
||||||
# Development setup
|
# Development setup
|
||||||
dev-setup:
|
dev-setup:
|
||||||
|
|||||||
+2
-2
@@ -191,7 +191,7 @@ Tested/compatible with major brands:
|
|||||||
## Usage Example
|
## Usage Example
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "github.com/0x524A/go-onvif"
|
import "github.com/0x524A/onvif-go"
|
||||||
|
|
||||||
// Create client
|
// Create client
|
||||||
client, _ := onvif.NewClient(
|
client, _ := onvif.NewClient(
|
||||||
@@ -255,7 +255,7 @@ go-onvif/
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Install
|
# Install
|
||||||
go get github.com/0x524A/go-onvif
|
go get github.com/0x524A/onvif-go
|
||||||
|
|
||||||
# Run discovery example
|
# Run discovery example
|
||||||
cd examples/discovery
|
cd examples/discovery
|
||||||
|
|||||||
+6
-6
@@ -5,7 +5,7 @@ Get up and running with go-onvif in 5 minutes!
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/0x524A/go-onvif
|
go get github.com/0x524A/onvif-go
|
||||||
```
|
```
|
||||||
|
|
||||||
## Step 1: Discover Cameras
|
## Step 1: Discover Cameras
|
||||||
@@ -20,7 +20,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -52,7 +52,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -178,7 +178,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -262,9 +262,9 @@ func main() {
|
|||||||
## Next Steps
|
## Next Steps
|
||||||
|
|
||||||
1. **Explore Examples**: Check out the `examples/` directory for more detailed use cases
|
1. **Explore Examples**: Check out the `examples/` directory for more detailed use cases
|
||||||
2. **Read Documentation**: Visit [pkg.go.dev](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
2. **Read Documentation**: Visit [pkg.go.dev](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||||
3. **Review Architecture**: See [ARCHITECTURE.md](ARCHITECTURE.md) for design details
|
3. **Review Architecture**: See [ARCHITECTURE.md](ARCHITECTURE.md) for design details
|
||||||
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524A/go-onvif/issues) for known issues
|
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524A/onvif-go/issues) for known issues
|
||||||
|
|
||||||
## Common Patterns
|
## Common Patterns
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# go-onvif - ONVIF Client and Server Library for Go
|
# onvif-go - ONVIF Client and Server Library for Go
|
||||||
|
|
||||||
[](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
[](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||||
[](https://goreportcard.com/report/github.com/0x524A/go-onvif)
|
[](https://goreportcard.com/report/github.com/0x524A/onvif-go)
|
||||||
[](LICENSE)
|
[](LICENSE)
|
||||||
[](https://github.com/0x524A/go-onvif/stargazers)
|
[](https://github.com/0x524A/onvif-go/stargazers)
|
||||||
[](https://github.com/0x524A/go-onvif/issues)
|
[](https://github.com/0x524A/onvif-go/issues)
|
||||||
|
|
||||||
> **Modern, high-performance Go library for ONVIF IP camera integration** - Control surveillance cameras, NVRs, and video devices with comprehensive ONVIF Profile S/T/G support. Includes both client and server implementations for complete ONVIF camera simulation and testing.
|
> **Modern, high-performance Go library for ONVIF IP camera integration** - Control surveillance cameras, NVRs, and video devices with comprehensive ONVIF Profile S/T/G support. Includes both client and server implementations for complete ONVIF camera simulation and testing.
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ ONVIF (Open Network Video Interface Forum) is an open industry standard for IP-b
|
|||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/0x524A/go-onvif
|
go get github.com/0x524A/onvif-go
|
||||||
```
|
```
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
@@ -87,7 +87,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -118,7 +118,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -319,7 +319,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -547,9 +547,9 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
|||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|
||||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/go-onvif)
|
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||||
- 🐛 [Issue Tracker](https://github.com/0x524A/go-onvif/issues)
|
- 🐛 [Issue Tracker](https://github.com/0x524A/onvif-go/issues)
|
||||||
- 💬 [Discussions](https://github.com/0x524A/go-onvif/discussions)
|
- 💬 [Discussions](https://github.com/0x524A/onvif-go/discussions)
|
||||||
- 🔒 [Security Policy](.github/SECURITY.md)
|
- 🔒 [Security Policy](.github/SECURITY.md)
|
||||||
|
|
||||||
## Keywords
|
## Keywords
|
||||||
|
|||||||
+1
-1
@@ -62,7 +62,7 @@ cd bin
|
|||||||
for platform in "${PLATFORMS[@]}"; do
|
for platform in "${PLATFORMS[@]}"; do
|
||||||
OS="${platform%/*}"
|
OS="${platform%/*}"
|
||||||
ARCH="${platform#*/}"
|
ARCH="${platform#*/}"
|
||||||
ARCHIVE_NAME="go-onvif-${VERSION}-${OS}-${ARCH}"
|
ARCHIVE_NAME="onvif-go-${VERSION}-${OS}-${ARCH}"
|
||||||
|
|
||||||
# Check if any binary exists for this platform
|
# Check if any binary exists for this platform
|
||||||
if [ "$OS" = "windows" ]; then
|
if [ "$OS" = "windows" ]; then
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CLI struct {
|
type CLI struct {
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/soap"
|
"github.com/0x524A/onvif-go/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Device service namespace
|
// Device service namespace
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
// This is a comprehensive demonstration of all go-onvif features
|
// This is a comprehensive demonstration of all go-onvif features
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/discovery"
|
"github.com/0x524A/onvif-go/discovery"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"syscall"
|
"syscall"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -6,8 +6,8 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
module github.com/0x524A/go-onvif
|
module github.com/0x524A/onvif-go
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/soap"
|
"github.com/0x524A/onvif-go/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Imaging service namespace
|
// Imaging service namespace
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/soap"
|
"github.com/0x524A/onvif-go/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Media service namespace
|
// Media service namespace
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import (
|
|||||||
"encoding/xml"
|
"encoding/xml"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/soap"
|
"github.com/0x524A/onvif-go/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// PTZ service namespace
|
// PTZ service namespace
|
||||||
|
|||||||
@@ -213,7 +213,7 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
+5
-5
@@ -41,7 +41,7 @@ A complete ONVIF-compliant server implementation that simulates multi-lens IP ca
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Clone the repository (if not already done)
|
# Clone the repository (if not already done)
|
||||||
git clone https://github.com/0x524A/go-onvif
|
git clone https://github.com/0x524A/onvif-go
|
||||||
cd go-onvif
|
cd go-onvif
|
||||||
|
|
||||||
# Build the server CLI
|
# Build the server CLI
|
||||||
@@ -128,7 +128,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -164,7 +164,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server"
|
"github.com/0x524A/onvif-go/server"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -251,7 +251,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@@ -430,7 +430,7 @@ This project is licensed under the MIT License - see the [LICENSE](../../LICENSE
|
|||||||
|
|
||||||
## Acknowledgments
|
## Acknowledgments
|
||||||
|
|
||||||
- Built on top of the [go-onvif](https://github.com/0x524A/go-onvif) client library
|
- Built on top of the [go-onvif](https://github.com/0x524A/onvif-go) client library
|
||||||
- ONVIF specifications from [ONVIF.org](https://www.onvif.org)
|
- ONVIF specifications from [ONVIF.org](https://www.onvif.org)
|
||||||
- Inspired by the need for flexible camera simulation in development workflows
|
- Inspired by the need for flexible camera simulation in development workflows
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server/soap"
|
"github.com/0x524A/onvif-go/server/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Device service SOAP message types
|
// Device service SOAP message types
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif/server/soap"
|
"github.com/0x524A/onvif-go/server/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// New creates a new ONVIF server with the given configuration
|
// New creates a new ONVIF server with the given configuration
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
originsoap "github.com/0x524A/go-onvif/soap"
|
originsoap "github.com/0x524A/onvif-go/soap"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Handler handles incoming SOAP requests
|
// Handler handles incoming SOAP requests
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Config represents the ONVIF server configuration
|
// Config represents the ONVIF server configuration
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
|||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
onviftesting "github.com/0x524A/go-onvif/testing"
|
onviftesting "github.com/0x524A/onvif-go/testing"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestBosch_FLEXIDOME_indoor_5100i_IR_8710066 tests ONVIF client against Bosch_FLEXIDOME_indoor_5100i_IR_8.71.0066 captured responses
|
// TestBosch_FLEXIDOME_indoor_5100i_IR_8710066 tests ONVIF client against Bosch_FLEXIDOME_indoor_5100i_IR_8.71.0066 captured responses
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
|||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/0x524A/go-onvif"
|
"github.com/0x524A/onvif-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
// TestEnhancedDeviceFeatures tests new Device service methods with real camera data
|
// TestEnhancedDeviceFeatures tests new Device service methods with real camera data
|
||||||
|
|||||||
Reference in New Issue
Block a user