Commit Graph
306 Commits
Author SHA1 Message Date
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
QuantumEntangledAndyandtwistedddx 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
QuantumEntangledAndyandtwistedddx 9604ecb29f Merge branch 'error_updates'
Co-Authored-By: twistedddx <bits@live.com>
2020-11-26 17:03:46 +07:00
QuantumEntangledAndyandtwistedddx 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
QuantumEntangledAndyandtwistedddx 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
QuantumEntangledAndyandtwistedddx 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 Kingandtwistedddx 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
QuantumEntangledAndy 59d7600cdb Apply rustfmt to media_packet 2020-09-17 09:38:27 -05:00
QuantumEntangledAndy b0eee39f13 Add clippy and fmt checks and conform to clippy style 2020-09-17 09:38:27 -05:00
Andrew King fab6a11820 Use management bool to set the clock
See #69 on GitHub.
2020-09-16 08:35:42 -05:00
George Hilliard 6d7b07d07b Fix Windows build: use choco package for gst-devel 2020-09-16 08:14:42 -05:00
George Hilliard 28830d55d0 Merge pull request #71 from m1k1o/patch-1
add tzdata to Dockerfile
2020-09-14 10:54:06 -05:00
George Hilliard fb83321d70 Merge pull request #70 from twistedddx/channel_id
Allow setting channel_id
2020-09-13 01:40:14 -05:00
Miroslav Šedivý 0f1c30fe00 add tzdata to Dockerfile 2020-08-15 10:33:26 +02:00
twistedddx e4f67ef3c2 -allow setting channel_id 2020-08-14 23:26:42 +09:30
George Hilliard 9f3181e2cd Merge pull request #50 from QuantumEntangledAndy/magic_headers
Filter data sent to gsteamer using magic bytes
2020-08-11 21:33:46 -05:00
QuantumEntangledAndy 9ca38b1e8b Add warning when hitting unexpected data in the stream 2020-08-12 09:29:58 +07:00
QuantumEntangledAndy d44b1dcdb0 Rename MAGIC_LEN to MAGIC_SIZE 2020-08-12 09:20:12 +07:00
QuantumEntangledAndy efd79ba00c Use simple magic header checks and remove Invalid Media Packet 2020-08-12 05:58:16 +07:00
QuantumEntangledAndy d69f1cc557 Remove dead code and vars from media_packet 2020-08-11 16:55:51 +07:00
QuantumEntangledAndy b0378e08b1 Clippy linting 2020-08-11 16:50:47 +07:00
QuantumEntangledAndy 11396dfe68 Using bytes instead of string for header checks 2020-08-11 16:46:07 +07:00
QuantumEntangledAndy e5f579860c Removed uneeded pup from media_packet 2020-08-11 16:40:48 +07:00