George Hilliard
a562dcdba2
Reword readme
2020-07-02 08:49:00 -05:00
George Hilliard
5583313394
Refactor creating multiple-path streams
...
This way, we don't stream from the Reolink camera more than once, and
simply create multiple Gstreamer mountpoints for the underlying factory.
2020-07-02 08:44:03 -05:00
QuantumEntangledAndy
55555333ff
Do subvalidation on the config
2020-07-02 10:02:13 +07:00
QuantumEntangledAndy
698fc0841f
Updates to the readme
2020-07-02 09:41:18 +07:00
QuantumEntangledAndy
8d13f14bea
Add appropiate submounts
2020-07-01 12:40:27 +07:00
QuantumEntangledAndy
84b4c0659a
Added port specification
2020-07-01 11:56:25 +07:00
QuantumEntangledAndy
3ba10ace5d
Moved gst launch str to gst and using enums
2020-07-01 11:34:58 +07:00
QuantumEntangledAndy
c4e3745d27
Added validation to the config file
2020-07-01 11:34:19 +07:00
QuantumEntangledAndy
7ab104a4ac
Renaming and type changes in sub stream selection
2020-07-01 11:32:33 +07:00
QuantumEntangledAndy
73536b5f55
Add timestamps to the stream
2020-06-30 21:16:33 +07:00
QuantumEntangledAndy
83e25c86b2
Info message when connecting to stream tells you which stream it is
2020-06-30 21:15:46 +07:00
QuantumEntangledAndy
0548b422da
Updated README with changes h264 and subStream instructions.
2020-06-30 11:48:58 +07:00
QuantumEntangledAndy
4ea20f0542
Allow stream specification in config
2020-06-30 11:41:19 +07:00
QuantumEntangledAndy
826814abd7
Allowing custom gst-launches and specification of format in the camera
2020-06-30 11:30:24 +07:00
George Hilliard
63875d1175
Update README, mention buffer sizes
2020-06-26 11:40:26 -05:00
George Hilliard
9a0eb567dd
Mention opening issue with other cameras
2020-06-19 14:48:07 -05:00
George Hilliard
c836c956f8
MaybeAppSrc: Don't require "success" from EOS push
...
Gstreamer's definition of success is too narrow, and we panic on a
"flushing" result.
Addresses #13 on GitHub.
2020-06-18 14:42:34 -05:00
George Hilliard
fa44f7077f
Update issue templates
2020-06-18 14:02:36 -05:00
George Hilliard
3d94f30145
Notify Gstreamer of end-of-stream on hangup from camera
...
This may help resolve #13 on GitHub.
2020-06-18 13:46:23 -05:00
George Hilliard
bfb84807e8
Banish println, use all logging
2020-06-13 18:17:34 -05:00
George Hilliard
728e2fde05
Raise level of "uninteresting message" to DEBUG
2020-06-13 18:17:34 -05:00
George Hilliard
86b0fb091e
Raise default verbosity to INFO
2020-06-13 18:17:34 -05:00
George Hilliard
01d60b336e
Delay marking camera as connected until we've logged in
...
The reason for this change is that a "not responding" camera proxy such
as a ^Z'd `socat` instance will connect just fine, but never send any
data. In such a case, we retry in a 1-second loop, which is not the
intent of the retry loop.
2020-06-13 18:17:34 -05:00
George Hilliard
bfa1fdf3b3
Add read timeout to Baichuan socket
...
This might help with #13 , although I remain unable to reproduce it
exactly as described.
2020-06-13 18:17:34 -05:00
George Hilliard
283f70cac4
Publish v0.2.0
v0.2.0
2020-06-05 20:42:35 -05:00
George Hilliard
7ef2b85fea
Print version at startup
...
Closes #9 on GitHub.
2020-06-05 20:42:35 -05:00
George Hilliard
f8dd564296
Refactor CameraErr to be less verbose
2020-06-05 18:12:12 -05:00
George Hilliard
c783f8ad78
Change return type of start_video to empty enum
2020-06-05 18:07:11 -05:00
George Hilliard
d90e22cf8e
Execute the Great Autoformatting of 2020
2020-06-05 17:41:54 -05:00
George Hilliard
97daab15da
Refactor into library and binary crates
2020-06-05 17:41:36 -05:00
George Hilliard
ba59860c05
Clarify that configuration file is for all cameras
2020-06-01 08:50:43 -05:00
George Hilliard
f4a4fc6715
Add note about VLC
2020-06-01 08:49:01 -05:00
George Hilliard
452c237236
Add better setup directions
2020-06-01 08:47:02 -05:00
George Hilliard
4f17b3e43b
Allow trace debugging on release builds
2020-05-22 22:44:46 -05:00
George Hilliard
4ebaf731de
Mention supported cameras
2020-05-21 10:38:31 -05:00
George Hilliard
0368f0ed1b
Update readme
2020-05-20 09:11:21 -05:00
George Hilliard
80eed7b515
Reset backoff after successful connect
2020-05-20 09:11:06 -05:00
George Hilliard
f50b9d8e87
Merge branch 'socket-timeout'
2020-05-13 17:36:09 -05:00
George Hilliard
cffb05fe40
Remove backoff library and replace with simple retry loop
...
The backoff library was stopping for transient errors!
I think this fixes #6 on GitHub.
2020-05-13 09:10:11 -05:00
George Hilliard
5439f45eab
Enable TCP keepalive on Baichuan connections
...
More help for #6 on GitHub. Can't reproduce the exact issue, but there
are several related ones.
2020-05-11 22:24:45 -05:00
George Hilliard
98f2e2602d
Set read, write, and connect timeouts on the Baichuan socket
...
Fixes #6 on GitHub.
2020-05-10 17:51:51 -05:00
George Hilliard
c47553e6f9
Use 0.3.16 yaserde release
2020-05-10 08:41:53 -05:00
George Hilliard
7fab45d5a9
Implement timeouts during read and proper retry behavior
2020-05-09 15:52:06 -05:00
George Hilliard
8908c7f62e
Implement ping command (not used yet)
2020-05-09 15:52:06 -05:00
George Hilliard
4aaec0d72c
deserialization: Handle read length of zero from Read
2020-05-09 15:42:08 -05:00
George Hilliard
5b7d304a39
Properly guard multithreaded TCP sends, and clean up on connection drop
2020-05-09 13:35:13 -05:00
George Hilliard
f38bf36ee2
Update README
2020-05-09 12:33:27 -05:00
George Hilliard
ed110611bd
Merge branch 'multithread'
2020-05-08 01:17:59 -05:00
George Hilliard
2685e1fe43
Clean imports slightly
2020-05-08 01:17:47 -05:00
George Hilliard
934caa20b0
Log errors in camera_loop()
2020-05-08 01:16:03 -05:00