Commit Graph
300 Commits
Author SHA1 Message Date
George Hilliard 5a62bb1df1 Merge pull request #83 from QuantumEntangledAndy/protocol_updates
Protocol Updates
2021-04-17 22:34:23 -05:00
QuantumEntangledAndy 9692aa82da Update tests to the new protocol model 2021-04-18 09:10:57 +07:00
QuantumEntangledAndy 05cb032d3c Bump nom version 2021-04-18 08:13:01 +07:00
George Hilliard 6ac4b70ff3 cargo fmt 2021-04-17 16:04:25 -05:00
George Hilliard 949192b620 Use pure Rust AES implementation 2021-04-17 15:53:18 -05:00
QuantumEntangledAndy 4721d364f1 Use context to keep track of binary 2021-04-17 21:30:12 +07:00
QuantumEntangledAndy 0dc25690f4 Removed docs for prototype mqtt 2021-04-17 21:29:56 +07:00
QuantumEntangledAndy ce9f3e7a1b Removed extra init method for context 2021-04-17 21:29:14 +07:00
QuantumEntangledAndy eda598c40f Restore timeout duration 2021-04-17 17:09:05 +07:00
QuantumEntangledAndy f4630f4d07 Treat AES encrypt and decrypt differently 2021-04-17 17:07:40 +07:00
QuantumEntangledAndy 30fad08706 Bug fixes and making serde respect the status code to send 2021-04-17 17:03:29 +07:00
George Hilliard 1227ff1e96 Refactor AesKey to only contain key bytes 2021-04-17 01:49:29 -05:00
QuantumEntangledAndy 02f4cab6ba Added AES encryption 2021-04-17 12:35:55 +07:00
QuantumEntangledAndy f479c8282a Added firmware update to messages.md 2021-04-15 09:23:13 +07:00
QuantumEntangledAndy a2ca630bdd Merge branch 'master' of github.com:thirtythreeforty/neolink into protocol_updates 2021-04-15 08:04:30 +07:00
QuantumEntangledAndy 772ba86156 Bug fix and preperation for new encryption protocol 2021-04-14 17:17:43 +07:00
twistedddx 5c83472fae Update documentation for status code and additional encryption offset data 2021-01-26 18:03:21 -06:00
twistedddx a7202fa9e1 config sample for tls_client_auth, stream, channel_id
remove deprecated format
2021-01-26 18:00:42 -06:00
George Hilliard 055d731fec Merge pull request #111 from kevans91/fwver
Report firmware version after login
2020-12-20 20:18:38 -06:00
George Hilliard ae86407483 Don't unwrap while checking camera version 2020-12-20 19:56:49 -06:00
George Hilliard a91979d2b6 Allow older version of Rust to build adpcm 2020-12-20 19:37:49 -06:00
George Hilliard 64af3dce1a Docker: also install testing packages in release container
Actually closes #104 on GitHub
2020-12-20 19:14:47 -06:00
Kyle Evans 6a432b30ad main: report camera firmware version 2020-12-20 10:27:45 -06:00
Kyle Evans ce8c2d3648 BcCamera: add a version() function for VersionInfo 2020-12-20 01:19:42 -06:00
Kyle Evans e00ed786ac bc: add VersionInfo 2020-12-20 01:16:18 -06:00
George Hilliard bdd270d3ca build.rs: Add GITHUB_SHA detection 2020-12-15 16:19:43 +00:00
George Hilliard 5ccfd6a0d8 Fix clippy lints 2020-12-14 22:40:28 -06:00
George Hilliard f4612b8f8d Fix use of deprecated time::OffsetDateTime::now_local() 2020-12-14 22:37:15 -06:00
George Hilliard b8118dadc9 Remove usage of deprecated env_logger::from_env() 2020-12-14 22:26:28 -06:00
George Hilliard c342434848 Refactor: move camera management into new function 2020-12-14 22:26:15 -06:00
George Hilliard d01f5684b4 Fix Docker build: pull gst-rtsp-server from Alpine testing
Closes #104 on GitHub.
2020-12-14 22:12:35 -06:00
George Hilliard 2b0f465c25 readme: Fix typos in download links 2020-12-11 09:22:35 -06:00
George Hilliard ea4f4130ce readme: Add direct download links to latest CI builds 2020-12-11 09:20:45 -06:00
George Hilliard c581ad43f4 Actions: Rename *.yaml to *.yml
The app https://nightly.link/ requires .yml extensions due to a bug:

oprypin/nightly.link#3

Easy enough to change extensions.
2020-12-11 08:30:20 -06:00
George Hilliard ea0c91ee83 Add list of prebuilts and artifact download instructions 2020-12-10 19:26:46 +00:00
George Hilliard e07f97bc12 Merge pull request #103 from thirtythreeforty/cross-builds-rebased
Implement more CI builds: for macOS and ARM Linux
2020-12-10 13:08:03 -06:00
George Hilliard 17c293b3fd macOS: Do not cache build artifacts
The GitHub-managed cache is missing crates when we cache the build.
Disable this on macOS.
2020-12-10 12:55:49 -06:00
George Hilliard 61e9baab53 Unify cross-build workflows using a matrix 2020-12-10 12:49:38 -06:00
QuantumEntangledAndyandtwistedddx 2e04405550 Format error cause nicely
Co-Authored-By: twistedddx <bits@live.com>
2020-12-09 15:44:33 +07:00
QuantumEntangledAndy afdb0f495c Make armhf use matrix and add more Debian architectures 2020-12-09 01:07:35 -06:00
QuantumEntangledAndy 9b59888b08 Add macos build 2020-12-09 01:07:35 -06:00
d7e84891f6 Bump minimum glib version and update dependencies
Co-Authored-By: twistedddx <bits@live.com>
Co-Authored-By: George Hilliard <thirtythreeforty@gmail.com>
2020-12-09 01:07:17 -06:00
George Hilliard f88b1a6ce6 Merge pull request #99 from kevans91/dns
config: allow hostnames for camera addresses
2020-12-08 10:29:17 -06:00
Kyle Evans 2e8126cd73 config: allow hostnames for camera addresses
This offers more flexibility, as a camera system admin only
needs a DNS assignment rather than DHCP. The syntax is still
as expected:

address = "cameras.example.com:9000"

This is especially handy in more complex topologies, where one
or more specified "camera" may actually be pointed at a system
providing a tunnel through to multiple cameras; names make it
easier to identify said gateway machine.

All IPs that the given name resolves to are tried so that we
correctly handle, e.g., a name with both AAAA and A records.

Note that addresses are no longer validated up front, but instead
simply get resolved when the connection attempt is made.

Name resolution will be aborted after ~60s of failure.
2020-12-07 20:15:47 -06:00
George Hilliard 32400971a5 Merge pull request #87 from QuantumEntangledAndy/error_updates
More detailed error messages on deser fail and timeout
2020-11-30 23:35:26 -06:00
twistedddxandtwistedddx 80a75b20a6 Dissector - Add BC to BC magic 0x0fedcba0
Co-authored-by: twistedddx <bits@live.com>
2020-11-30 23:33:09 -06:00
Andrew 882d34de5a Merge branch 'error_updates' into protocol_updates 2020-11-29 13:51:58 +07:00
QuantumEntangledAndyandtwistedddx cecb29b46f Less naked while loop to print error on deser fail
Co-Authored-By: twistedddx <bits@live.com>
2020-11-28 14:09:44 +07:00
QuantumEntangledAndyandtwistedddx 6396883a26 Merge branch 'master'
Co-Authored-By: twistedddx <bits@live.com>
Conflicts:
	src/bc_protocol.rs
	src/bc_protocol/media_packet.rs
2020-11-28 14:07:52 +07:00
George Hilliard efa4a1d7a7 Merge pull request #90 from QuantumEntangledAndy/bugfix-Lumus-Audio
Transcode audio to PCM for all even for AAC
2020-11-27 18:09:59 -06:00