0.0.65 • Published 5 months ago

@camera.ui/go2rtc v0.0.65

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@camera.ui/go2rtc

Go2RTC binary downloader for camera.ui - downloads the camera.ui-optimized version with enhanced streaming capabilities.

Installation

npm install @camera.ui/go2rtc

The Go2RTC binary will be automatically downloaded during installation.

Usage

import { go2rtcPath, isGo2rtcAvailable } from '@camera.ui/go2rtc';

// Get Go2RTC binary path
const go2rtc = go2rtcPath();
console.log('Go2RTC path:', go2rtc);

// Check if Go2RTC is available
if (isGo2rtcAvailable()) {
  console.log('Go2RTC is ready to use');
}

Platform Support

Supported Platforms:

  • Linux - x64, ARM64, ARMv6, ARMv7, x86, MIPSEL
  • Windows - x64, ARM64, x86
  • macOS - Intel (x64), Apple Silicon (ARM64)
  • FreeBSD - x64, ARM64

Examples

Basic Usage

import { go2rtcPath } from '@camera.ui/go2rtc';
import { spawn } from 'child_process';

const go2rtc = spawn(go2rtcPath(), ['-config', 'go2rtc.yaml']);

Check Availability

import { isGo2rtcAvailable, go2rtcPath } from '@camera.ui/go2rtc';

if (!isGo2rtcAvailable()) {
  console.error('Go2RTC not found');
  process.exit(1);
}

console.log('Using Go2RTC at:', go2rtcPath());

Cross-Platform Installation

# Force specific platform/architecture
npm_config_os=linux npm_config_cpu=arm64 npm install

Examples:

npm_config_os=linux npm_config_cpu=x64     # Linux x64
npm_config_os=linux npm_config_cpu=arm64   # Linux ARM64
npm_config_os=win32 npm_config_cpu=x64     # Windows x64
npm_config_os=darwin npm_config_cpu=arm64  # Apple Silicon

Installation Process

The installer automatically: 1. Detects your platform and architecture 2. Downloads the appropriate binary from camera.ui Go2RTC releases 3. Extracts and makes executable (Unix systems) 4. Cleans up temporary files

Installation Log

Detected platform: linux / arm64
Downloading Go2Rtc v1.9.9-cui.18...
Extracting binary...
Making executable...
Done!

Contributing

Contributions are welcome! Please read our contributing guidelines and submit pull requests to our repository.

License

MIT


Part of the camera.ui ecosystem - A comprehensive camera management solution.

0.0.40

8 months ago

0.0.41

8 months ago

0.0.42

8 months ago

0.0.43

8 months ago

0.0.44

8 months ago

0.0.45

8 months ago

0.0.46

7 months ago

0.0.37

9 months ago

0.0.38

8 months ago

0.0.39

8 months ago

0.0.30

11 months ago

0.0.31

10 months ago

0.0.32

10 months ago

0.0.33

10 months ago

0.0.34

10 months ago

0.0.35

10 months ago

0.0.36

9 months ago

0.0.26

1 year ago

0.0.27

1 year ago

0.0.28

12 months ago

0.0.29

12 months ago

0.0.62

6 months ago

0.0.63

5 months ago

0.0.64

5 months ago

0.0.65

5 months ago

0.0.60

6 months ago

0.0.61

6 months ago

0.0.59

6 months ago

0.0.51

6 months ago

0.0.52

6 months ago

0.0.53

6 months ago

0.0.55

6 months ago

0.0.56

6 months ago

0.0.57

6 months ago

0.0.58

6 months ago

0.0.50

6 months ago

0.0.48

7 months ago

0.0.49

6 months ago

0.0.24

1 year ago

0.0.25

1 year ago

0.0.23

1 year ago

0.0.22

1 year ago

0.0.21

1 year ago

0.0.20

1 year ago

0.0.19

1 year ago

0.0.18

1 year ago

0.0.17

1 year ago

0.0.16

1 year ago

0.0.15

2 years ago

0.0.14

2 years ago

0.0.13

2 years ago

0.0.12

2 years ago

0.0.11

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago