Merge pull request #23 from 0x524a/reponame-change
fix: update repository references from '0x524A' to '0x524a' across do…
This commit is contained in:
@@ -96,7 +96,7 @@ Help us maintain compatibility information:
|
||||
### Clone and Build
|
||||
|
||||
```bash
|
||||
git clone https://github.com/0x524A/onvif-go.git
|
||||
git clone https://github.com/0x524a/onvif-go.git
|
||||
cd go-onvif
|
||||
go build ./...
|
||||
```
|
||||
@@ -262,9 +262,9 @@ go-onvif/
|
||||
|
||||
## Getting Help
|
||||
|
||||
- 💬 [GitHub Discussions](https://github.com/0x524A/onvif-go/discussions) - Ask questions
|
||||
- 🐛 [GitHub Issues](https://github.com/0x524A/onvif-go/issues) - Report bugs
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go) - Read the docs
|
||||
- 💬 [GitHub Discussions](https://github.com/0x524a/onvif-go/discussions) - Ask questions
|
||||
- 🐛 [GitHub Issues](https://github.com/0x524a/onvif-go/issues) - Report bugs
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524a/onvif-go) - Read the docs
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@ body:
|
||||
placeholder: |
|
||||
package main
|
||||
|
||||
import "github.com/0x524A/onvif-go"
|
||||
import "github.com/0x524a/onvif-go"
|
||||
|
||||
func main() {
|
||||
// Your code here
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
blank_issues_enabled: false
|
||||
contact_links:
|
||||
- name: 💬 Discussions
|
||||
url: https://github.com/0x524A/onvif-go/discussions
|
||||
url: https://github.com/0x524a/onvif-go/discussions
|
||||
about: Ask questions and discuss ideas with the community
|
||||
- name: 📖 Documentation
|
||||
url: https://pkg.go.dev/github.com/0x524A/onvif-go
|
||||
url: https://pkg.go.dev/github.com/0x524a/onvif-go
|
||||
about: Read the API documentation
|
||||
- name: 📚 Examples
|
||||
url: https://github.com/0x524A/onvif-go/tree/main/examples
|
||||
url: https://github.com/0x524a/onvif-go/tree/main/examples
|
||||
about: Browse code examples
|
||||
|
||||
+2
-2
@@ -209,8 +209,8 @@ Users can verify downloads using checksums:
|
||||
|
||||
```bash
|
||||
# Download binary and checksum
|
||||
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/onvif-go/releases/download/v1.0.0/checksums.txt
|
||||
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/onvif-go/releases/download/v1.0.0/checksums.txt
|
||||
|
||||
# Verify
|
||||
sha256sum -c checksums.txt --ignore-missing
|
||||
|
||||
+1
-1
@@ -66,4 +66,4 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Comprehensive documentation
|
||||
- README with usage guide
|
||||
|
||||
[Unreleased]: https://github.com/0x524A/onvif-go/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
|
||||
|
||||
# Add upstream remote
|
||||
git remote add upstream https://github.com/0x524A/onvif-go.git
|
||||
git remote add upstream https://github.com/0x524a/onvif-go.git
|
||||
|
||||
# Create a branch
|
||||
git checkout -b feature/my-new-feature
|
||||
|
||||
+6
-6
@@ -5,7 +5,7 @@ Get up and running with go-onvif in 5 minutes!
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
go get github.com/0x524A/onvif-go
|
||||
go get github.com/0x524a/onvif-go
|
||||
```
|
||||
|
||||
## Step 1: Discover Cameras
|
||||
@@ -20,7 +20,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -52,7 +52,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -181,7 +181,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -265,9 +265,9 @@ func main() {
|
||||
## Next Steps
|
||||
|
||||
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/onvif-go)
|
||||
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
|
||||
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524A/onvif-go/issues) for known issues
|
||||
4. **Check Issues**: Look at [GitHub Issues](https://github.com/0x524a/onvif-go/issues) for known issues
|
||||
|
||||
## Common Patterns
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# onvif-go - ONVIF Client and Server Library for Go
|
||||
|
||||
[](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||
[](https://goreportcard.com/report/github.com/0x524A/onvif-go)
|
||||
[](LICENSE)
|
||||
[](https://github.com/0x524A/onvif-go/stargazers)
|
||||
[](https://github.com/0x524A/onvif-go/issues)
|
||||
[](https://pkg.go.dev/github.com/0x524a/onvif-go)
|
||||
[](https://goreportcard.com/report/github.com/0x524a/onvif-go)
|
||||
[](LICENSE)
|
||||
[](https://github.com/0x524a/onvif-go/stargazers)
|
||||
[](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.
|
||||
|
||||
@@ -71,7 +71,7 @@ ONVIF (Open Network Video Interface Forum) is an open industry standard for IP-b
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
go get github.com/0x524A/onvif-go
|
||||
go get github.com/0x524a/onvif-go
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
@@ -87,7 +87,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -118,7 +118,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -322,7 +322,7 @@ import (
|
||||
"context"
|
||||
"log"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -529,14 +529,14 @@ go test -v ./testdata/captures/
|
||||
|
||||
If you find this project useful, please consider giving it a star! ⭐
|
||||
|
||||
[](https://star-history.com/#0x524A/go-onvif&Date)
|
||||
[](https://star-history.com/#0x524a/go-onvif&Date)
|
||||
|
||||
## 📊 Project Stats
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
## License
|
||||
|
||||
@@ -550,9 +550,9 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
|
||||
|
||||
## Support
|
||||
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524A/onvif-go)
|
||||
- 🐛 [Issue Tracker](https://github.com/0x524A/onvif-go/issues)
|
||||
- 💬 [Discussions](https://github.com/0x524A/onvif-go/discussions)
|
||||
- 📖 [Documentation](https://pkg.go.dev/github.com/0x524a/onvif-go)
|
||||
- 🐛 [Issue Tracker](https://github.com/0x524a/onvif-go/issues)
|
||||
- 💬 [Discussions](https://github.com/0x524a/onvif-go/discussions)
|
||||
- 🔒 [Security Policy](.github/SECURITY.md)
|
||||
|
||||
## Keywords
|
||||
|
||||
@@ -9,8 +9,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
type CLI struct {
|
||||
|
||||
@@ -8,8 +8,8 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/onvif-go/internal/soap"
|
||||
"github.com/0x524a/onvif-go/internal/soap"
|
||||
)
|
||||
|
||||
// Device service namespace
|
||||
|
||||
@@ -25,7 +25,7 @@ onvif-go/
|
||||
```
|
||||
|
||||
**Design Rationale:**
|
||||
- **Root-level API**: Main package at root for clean imports (`github.com/0x524A/onvif-go`)
|
||||
- **Root-level API**: Main package at root for clean imports (`github.com/0x524a/onvif-go`)
|
||||
- **internal/**: Private packages not intended for external use (SOAP implementation)
|
||||
- **Subpackages**: Additional features like `discovery/` and `server/`
|
||||
- **cmd/**: Executable applications and tools
|
||||
|
||||
@@ -85,7 +85,7 @@ We have successfully created a **comprehensive, production-ready Go ONVIF librar
|
||||
|
||||
### Basic Library Usage
|
||||
```go
|
||||
import "github.com/0x524A/onvif-go"
|
||||
import "github.com/0x524a/onvif-go"
|
||||
|
||||
client, err := onvif.NewClient(
|
||||
"http://192.168.1.100/onvif/device_service",
|
||||
|
||||
+12
-12
@@ -85,7 +85,7 @@ onvif-go/
|
||||
As a **library package**, the main API lives at the root level:
|
||||
|
||||
```go
|
||||
import "github.com/0x524A/onvif-go"
|
||||
import "github.com/0x524a/onvif-go"
|
||||
|
||||
client, err := onvif.NewClient("192.168.1.100")
|
||||
```
|
||||
@@ -102,7 +102,7 @@ The `internal/` directory contains implementation details not intended for exter
|
||||
|
||||
```go
|
||||
// This import is ONLY available within onvif-go:
|
||||
import "github.com/0x524A/onvif-go/internal/soap"
|
||||
import "github.com/0x524a/onvif-go/internal/soap"
|
||||
```
|
||||
|
||||
**Go's internal package restriction:**
|
||||
@@ -122,10 +122,10 @@ Public subpackages for optional or specialized functionality:
|
||||
|
||||
```go
|
||||
// Discovery subpackage
|
||||
import "github.com/0x524A/onvif-go/discovery"
|
||||
import "github.com/0x524a/onvif-go/discovery"
|
||||
|
||||
// Server subpackage
|
||||
import "github.com/0x524A/onvif-go/server"
|
||||
import "github.com/0x524a/onvif-go/server"
|
||||
```
|
||||
|
||||
**When to create a subpackage:**
|
||||
@@ -148,7 +148,7 @@ cmd/
|
||||
**Naming convention:**
|
||||
- Directory name = binary name
|
||||
- Each cmd has its own `main.go`
|
||||
- Can import the library: `import "github.com/0x524A/onvif-go"`
|
||||
- Can import the library: `import "github.com/0x524a/onvif-go"`
|
||||
|
||||
**Build commands:**
|
||||
```bash
|
||||
@@ -191,7 +191,7 @@ Comprehensive documentation in `docs/` directory:
|
||||
|
||||
```go
|
||||
// Main client functionality
|
||||
import "github.com/0x524A/onvif-go"
|
||||
import "github.com/0x524a/onvif-go"
|
||||
|
||||
client, err := onvif.NewClient("192.168.1.100",
|
||||
onvif.WithCredentials("admin", "password"),
|
||||
@@ -202,7 +202,7 @@ client, err := onvif.NewClient("192.168.1.100",
|
||||
|
||||
```go
|
||||
// Device discovery
|
||||
import "github.com/0x524A/onvif-go/discovery"
|
||||
import "github.com/0x524a/onvif-go/discovery"
|
||||
|
||||
devices, err := discovery.Discover(ctx, 5*time.Second)
|
||||
```
|
||||
@@ -211,7 +211,7 @@ devices, err := discovery.Discover(ctx, 5*time.Second)
|
||||
|
||||
```go
|
||||
// Virtual ONVIF server
|
||||
import "github.com/0x524A/onvif-go/server"
|
||||
import "github.com/0x524a/onvif-go/server"
|
||||
|
||||
srv := server.NewServer(
|
||||
server.WithCredentials("admin", "admin"),
|
||||
@@ -223,7 +223,7 @@ srv := server.NewServer(
|
||||
|
||||
```go
|
||||
// Only usable within onvif-go itself
|
||||
import "github.com/0x524A/onvif-go/internal/soap"
|
||||
import "github.com/0x524a/onvif-go/internal/soap"
|
||||
|
||||
// External projects CANNOT import internal packages
|
||||
```
|
||||
@@ -327,12 +327,12 @@ my-app/
|
||||
|
||||
**Old:**
|
||||
```go
|
||||
import "github.com/0x524A/onvif-go/soap"
|
||||
import "github.com/0x524a/onvif-go/soap"
|
||||
```
|
||||
|
||||
**New:**
|
||||
```go
|
||||
import "github.com/0x524A/onvif-go/internal/soap"
|
||||
import "github.com/0x524a/onvif-go/internal/soap"
|
||||
```
|
||||
|
||||
**External users:** No changes needed (they never imported soap directly)
|
||||
@@ -341,7 +341,7 @@ import "github.com/0x524A/onvif-go/internal/soap"
|
||||
|
||||
### For Library Users
|
||||
|
||||
1. **Simple imports**: `import "github.com/0x524A/onvif-go"`
|
||||
1. **Simple imports**: `import "github.com/0x524a/onvif-go"`
|
||||
2. **Clear API**: Public vs private clearly separated
|
||||
3. **Stable interface**: Internal changes don't affect users
|
||||
4. **Good documentation**: Examples and docs organized
|
||||
|
||||
@@ -191,7 +191,7 @@ Tested/compatible with major brands:
|
||||
## Usage Example
|
||||
|
||||
```go
|
||||
import "github.com/0x524A/onvif-go"
|
||||
import "github.com/0x524a/onvif-go"
|
||||
|
||||
// Create client
|
||||
client, _ := onvif.NewClient(
|
||||
@@ -255,7 +255,7 @@ go-onvif/
|
||||
|
||||
```bash
|
||||
# Install
|
||||
go get github.com/0x524A/onvif-go
|
||||
go get github.com/0x524a/onvif-go
|
||||
|
||||
# Run discovery example
|
||||
cd examples/discovery
|
||||
@@ -296,4 +296,4 @@ This library is a complete refactoring and modernization inspired by the origina
|
||||
|
||||
**Status**: ✅ Production Ready (v0.1.0)
|
||||
**Last Updated**: October 2025
|
||||
**Maintainer**: 0x524A
|
||||
**Maintainer**: 0x524a
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
// This is a comprehensive demonstration of all go-onvif features
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/discovery"
|
||||
"github.com/0x524a/onvif-go/discovery"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"syscall"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -9,7 +9,7 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -6,8 +6,8 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module github.com/0x524A/onvif-go
|
||||
module github.com/0x524a/onvif-go
|
||||
|
||||
go 1.21
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/onvif-go/internal/soap"
|
||||
"github.com/0x524a/onvif-go/internal/soap"
|
||||
)
|
||||
|
||||
// Imaging service namespace
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/onvif-go/internal/soap"
|
||||
"github.com/0x524a/onvif-go/internal/soap"
|
||||
)
|
||||
|
||||
// Media service namespace
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/xml"
|
||||
"fmt"
|
||||
|
||||
"github.com/0x524A/onvif-go/internal/soap"
|
||||
"github.com/0x524a/onvif-go/internal/soap"
|
||||
)
|
||||
|
||||
// PTZ service namespace
|
||||
|
||||
@@ -213,7 +213,7 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
+5
-5
@@ -41,7 +41,7 @@ A complete ONVIF-compliant server implementation that simulates multi-lens IP ca
|
||||
|
||||
```bash
|
||||
# Clone the repository (if not already done)
|
||||
git clone https://github.com/0x524A/onvif-go
|
||||
git clone https://github.com/0x524a/onvif-go
|
||||
cd go-onvif
|
||||
|
||||
# Build the server CLI
|
||||
@@ -128,7 +128,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -164,7 +164,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server"
|
||||
"github.com/0x524a/onvif-go/server"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -251,7 +251,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@@ -430,7 +430,7 @@ This project is licensed under the MIT License - see the [LICENSE](../../LICENSE
|
||||
|
||||
## Acknowledgments
|
||||
|
||||
- Built on top of the [go-onvif](https://github.com/0x524A/onvif-go) 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)
|
||||
- Inspired by the need for flexible camera simulation in development workflows
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server/soap"
|
||||
"github.com/0x524a/onvif-go/server/soap"
|
||||
)
|
||||
|
||||
// Device service SOAP message types
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"net/http"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go/server/soap"
|
||||
"github.com/0x524a/onvif-go/server/soap"
|
||||
)
|
||||
|
||||
// New creates a new ONVIF server with the given configuration
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
originsoap "github.com/0x524A/onvif-go/internal/soap"
|
||||
originsoap "github.com/0x524a/onvif-go/internal/soap"
|
||||
)
|
||||
|
||||
// Handler handles incoming SOAP requests
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
// Config represents the ONVIF server configuration
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"log"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
onviftesting "github.com/0x524A/onvif-go/testing"
|
||||
"github.com/0x524a/onvif-go"
|
||||
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
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/0x524A/onvif-go"
|
||||
"github.com/0x524a/onvif-go"
|
||||
)
|
||||
|
||||
// TestEnhancedDeviceFeatures tests new Device service methods with real camera data
|
||||
|
||||
Reference in New Issue
Block a user