Files
go2rtc/scripts/README.md
T
2026-02-06 21:45:55 +03:00

3.1 KiB

Scripts

This folder contains a script for building binaries for all platforms.

The project has no CGO dependencies, so building is as simple as possible using the go build command.

The project has to use the latest versions of go due to dependencies on third-party go libraries. Such as pion/webrtc or golang.org/x. Unfortunately, this breaks compatibility with older versions of operating systems.

The project uses UPX to compress binaries for Linux. The project does not use compression for Windows due to false antivirus alarms. The project does not use compression for macOS due to broken result.

Useful commands

go get -u
go mod tidy
go mod why github.com/pion/rtcp
go list -deps .\cmd\go2rtc_rtsp\
./goweight

Dependencies

- gopkg.in/yaml.v3
  - github.com/kr/pretty
- github.com/AlexxIT/go2rtc/pkg/hap
  - github.com/tadglines/go-pkgs
  - golang.org/x/crypto
- github.com/AlexxIT/go2rtc/pkg/mdns
  - github.com/miekg/dns
- github.com/AlexxIT/go2rtc/pkg/pcm
  - github.com/sigurn/crc16
  - github.com/sigurn/crc8
- github.com/pion/ice/v2
  - github.com/google/uuid
  - github.com/wlynxg/anet
- github.com/rs/zerolog
  - github.com/mattn/go-colorable
  - github.com/mattn/go-isatty
- github.com/stretchr/testify
  - github.com/davecgh/go-spew
  - github.com/pmezard/go-difflib
- ???
  - golang.org/x/mod
  - golang.org/x/net
  - golang.org/x/sys
  - golang.org/x/tools

Licenses

  • github.com/asticode/go-astits - MIT
  • github.com/eclipse/paho.mqtt.golang - EPL-2.0
  • github.com/expr-lang/expr - MIT
  • github.com/gorilla/websocket - BSD-2
  • github.com/mattn/go-isatty - MIT
  • github.com/miekg/dns - BSD-3
  • github.com/pion/dtls - MIT
  • github.com/pion/ice - MIT
  • github.com/pion/interceptor - MIT
  • github.com/pion/rtcp - MIT
  • github.com/pion/rtp - MIT
  • github.com/pion/sdp - MIT
  • github.com/pion/srtp - MIT
  • github.com/pion/stun - MIT
  • github.com/pion/webrtc - MIT
  • github.com/rs/zerolog - MIT
  • github.com/sigurn/crc16 - MIT
  • github.com/sigurn/crc8 - MIT
  • github.com/stretchr/testify - MIT
  • github.com/tadglines/go-pkgs - Apache
  • golang.org/x/crypto - BSD-3
  • gopkg.in/yaml.v3 - MIT and Apache
  • github.com/asticode/go-astikit - MIT
  • github.com/davecgh/go-spew - ISC (BSD/MIT like)
  • github.com/google/uuid - BSD-3
  • github.com/kr/pretty - MIT
  • github.com/mattn/go-colorable - MIT
  • github.com/pion/datachannel - MIT
  • github.com/pion/logging - MIT
  • github.com/pion/mdns - MIT
  • github.com/pion/randutil - MIT
  • github.com/pion/sctp - MIT
  • github.com/pmezard/go-difflib - ???
  • github.com/wlynxg/anet - BSD-3
  • golang.org/x/mod - BSD-3
  • golang.org/x/net - BSD-3
  • golang.org/x/sync - BSD-3
  • golang.org/x/sys - BSD-3
  • golang.org/x/tools - BSD-3

Virus