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
QuantumEntangledAndy and twistedddx
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
twistedddx and twistedddx
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
QuantumEntangledAndy and twistedddx
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
QuantumEntangledAndy and twistedddx
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
QuantumEntangledAndy and twistedddx
a961829c63
Bug fixes from merges
...
Using u8 for channel id throughtout
Using simpler map_err
Co-Authored-By: twistedddx <bits@live.com >
2020-11-26 17:11:22 +07:00
QuantumEntangledAndy and twistedddx
9604ecb29f
Merge branch 'error_updates'
...
Co-Authored-By: twistedddx <bits@live.com >
2020-11-26 17:03:46 +07:00
QuantumEntangledAndy and twistedddx
21030072cc
Merge branch 'master'
...
Co-Authored-By: twistedddx <bits@live.com >
Conflicts:
dissector/baichuan.lua
src/bc_protocol.rs
src/bc_protocol/media_packet.rs
2020-11-26 17:01:58 +07:00
QuantumEntangledAndy and twistedddx
dda603a9a4
Add message handle and status codes and handel encryption correctly
...
Co-Authored-By: twistedddx <bits@live.com >
2020-11-26 16:43:31 +07:00
QuantumEntangledAndy and twistedddx
a8a727a248
Use powershell syntax for setting envs for new github api methods
...
Co-Authored-By: twistedddx <bits@live.com >
2020-11-26 13:17:15 +07:00
QuantumEntangledAndy
25b561c976
More chances to confrom to new protocol
2020-11-26 13:07:27 +07:00
QuantumEntangledAndy
a598ddd2a4
Using new github set path and env
2020-11-17 10:37:13 +07:00
QuantumEntangledAndy
bbc176e9f7
Convert to raw then send as raw over rtsp
2020-11-17 10:14:17 +07:00
QuantumEntangledAndy
7a6a2ca2e7
Always decode and reencode aac audio
...
This is so that we can accept mpeg1 and mpeg2 audio in addition to mpeg4
2020-11-16 09:37:49 +07:00
QuantumEntangledAndy
6e1cf2f020
Work on switching encoffset with channelid and msg_mum
2020-11-16 09:23:44 +07:00
twistedddx
428a6f767a
Dissector - more message_types
2020-11-13 12:07:57 -06:00
Andrew King
f7f12c76a1
Audio and Format auto detect ( #68 )
...
* Add queues to the gstreamer launch
* Add audio to the stream
* Removing format option in prep for auto detect
* Adding format detect from headers
* Set format in gstreamer launch depending on video magic bytes
* Rename MaybeAppSrcs to reflect new role of managing gst outputs
* Auto detect format
* Remove all setting of stream format
* Re-add missing media_format caused by rebase
* Add audio format auto detect too
* Use more appropiate adpcm in gst
* Combined gst and media_packet format enums into a single enum StreamFormat
* Reduce adpcm header size
* Disable adpcm output
* Add oki adpcm native rust support
* Maintain state between packets for adpcm
* Use bytes in adpcm stream to determine adpcm decoding state
* Clean up adpcm code
* Use raw rtp payload for the adpcm stream
* Bug fix to treat adpcm and aac seperatly in the match
* Remove redundent second clamp of the step index in adpcm.
* ADPCM format changes.
This is a squashed commit of changes made during live testing of ADPCM
format.
Summary: Using DVI4 for the ADPCM, with our own decoder written in rust.
* Changes to comments and IMA max range in the adpcm decoder
* ADPCM magic contains block size use it for chunking the adpcm data
* Use error logs rather than asserts in adpcm decode
* Rustfmt and clippy styling
* Use static slice for adpcm step and changes arrays
* Bounds and error checks in ADPCM
* Use i/u32 in adpcm
* Rust fmted
2020-11-13 08:45:40 -06:00
QuantumEntangledAndy
782a9f7c4c
Handle timeout and dissconnect error differently
2020-10-29 13:11:21 +07:00
QuantumEntangledAndy
3803bc02ab
Add error messages when deser fails
2020-10-29 12:57:39 +07:00
QuantumEntangledAndy
71de7da506
Base encryption solely off legacy login reply
2020-10-29 12:52:04 +07:00
QuantumEntangledAndy
d92cb38ec9
Rust fmted
2020-10-15 11:16:06 +07:00
QuantumEntangledAndy
edf2f25952
Fixes from rebase
2020-10-15 11:15:38 +07:00
QuantumEntangledAndy
d0f760ea7b
Refractor to apply ext xml before payload_offset
2020-10-15 11:03:19 +07:00
QuantumEntangledAndy
31aefdbc74
Rename bin_offset to payload_offset
2020-10-15 11:02:32 +07:00
QuantumEntangledAndy
4ff53b73af
Refractored bc connection to treat binary as a generic payload
2020-10-15 11:02:32 +07:00
QuantumEntangledAndy
3acd0b4a3c
Updates to the readme
2020-10-15 10:59:22 +07:00
QuantumEntangledAndy
5baacbeeed
Implement bc make ext xml
2020-10-15 10:59:22 +07:00
Andrew King and twistedddx
b5312edb90
Dissector update and some notes about BC message ( #80 )
...
Co-authored-by: twistedddx <bits@live.com >
2020-10-12 16:34:26 -05:00
George Hilliard
affc0d9b94
Merge pull request #75 from QuantumEntangledAndy/Clippy-fix
...
Fix clippy style check action
2020-09-18 09:46:54 -05:00
QuantumEntangledAndy
5c9a196333
Only install minimum build requirements in apt CI building
2020-09-18 09:44:18 +07:00
QuantumEntangledAndy
da3b0d77c1
Install dependencies before clippy
2020-09-18 09:37:26 +07:00
QuantumEntangledAndy
fc5e8e039f
Rust fmted
2020-09-17 09:38:27 -05:00
QuantumEntangledAndy
e2c2ce26c3
Apply clippy to master
...
Only change was (clippy::redundant_field_names) on channel_id
2020-09-17 09:38:27 -05:00