Isaac Connor
|
97dff2fb28
|
Open/CLose RTSP with analysis thread when opening and closing monitor. We have to have successfully PrimeCapture before adding streams to RTSP Server and need to shut it down when closing the monitor because the packetqueue goes away
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
1316c6ea86
|
Update codec opening to properly handle passthrough
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
894ad11816
|
change outputFd which is unused to stream_id which is the stream_id to concern ourselves with when getting packets from the packetqueue. Add more tests for zm_terminate. Add testing for AV_CODEC_ID instead of v4l2 PIX_FMT to determine stream type
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
514e0d2e93
|
remove analysis_it and correctly manage external iterators. Fix testing for ability to remove packets from packetqueue. Fix some cases where the order of testing zm_terminate and packet locking is important
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
9187b08b7a
|
add missing and mix order of Packet initializers
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
b3ca0ac2d9
|
add missing and mix order of Packet initializers
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
65fc5bf478
|
move code from Load for purpose==ANALYSIS because it will never run. Analysis is a thread now and must assume that PrimeCapture has already succeeded.
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
824cbb7879
|
spacing and NULL=>nullptr
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
f842e9e2ed
|
NULL=>nullptr
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
02f65cec4d
|
Don't need to get_ref_image anymore. It will block waiting for a capture packet and the ref image will be set by capture thread
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
432bb338e8
|
Rename H264PASSTHROUGH to just PASSTHROUGH. Add an analysis_it to the Monitor object as it will no longer exist in the packetqueue
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
da7a50c92d
|
Rename H264PASSTHROUGH to just PASSTHROUGH. Start with last_signal set to true so that we don't have a signal change event on startup. Use new generic packetqueue functions
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
22ae83a0d6
|
Rename H264PASSTHROUGH to just PASSTHROUGH
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
705959d1ec
|
Set codec_type in zm_packet
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
510cbd8b19
|
Add AVPacket parsing queue and other files for rtsp_server
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
3f5bc97e6e
|
continue roughing in rtsp server. Fix not adding session to rtspServer.
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
92ac012324
|
Add rtsp_server files to CMakeLists.txt
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
cf2d987fc0
|
Add MIN_RTSP_PORT config item, but commented out for now
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
60fa3f9ec1
|
cleanup. Add h264_vaapi codec support
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
0cc123a460
|
small cleanup in logging
|
2021-01-11 13:46:50 -05:00 |
Isaac Connor
|
fe7007cc2b
|
Remove old LOG line
|
2021-01-11 13:45:37 -05:00 |
Isaac Connor
|
62ffc20c98
|
dumpPacket when addPacket
|
2021-01-11 13:45:21 -05:00 |
Isaac Connor
|
2fe325efe7
|
further disable rtsp_server
|
2021-01-11 13:38:22 -05:00 |
Isaac Connor
|
35b5bb7b85
|
Fix changeScale not updating zms url when the page initially loads as not scale to fit
|
2021-01-11 13:38:04 -05:00 |
Isaac Connor
|
9a821e1fb9
|
split long line
|
2021-01-11 13:37:32 -05:00 |
Isaac Connor
|
1b1438bf7a
|
Add detecting target pixfmt and if rgb0 is supported, use it to do the transfer direct to the Image.
|
2021-01-11 13:36:51 -05:00 |
Isaac Connor
|
e1f6f5984d
|
Handle signal loss, improve debugging
|
2021-01-11 13:35:48 -05:00 |
Isaac Connor
|
70090f7edc
|
Add AVBufferRef setup when Populating AVFrame from Image. This allows hwtranfer to work because it relies on AVBuffer AVFrame. Please note that we don't want AVBuffer to free the buffer so we pass an empty function to it.
|
2021-01-11 13:35:23 -05:00 |
Isaac Connor
|
f625734c82
|
Set imagePixFormat everywhere. Add PopulateFrame which creates and AVFrame pointing to the image's buffer. Will do this with proper refcounting eventually
|
2021-01-11 11:57:34 -05:00 |
Isaac Connor
|
29255d1528
|
Fix missing comma
|
2021-01-11 11:15:22 -05:00 |
Isaac Connor
|
ab9583cbdf
|
clean up code giving warning when no starttime is given
|
2021-01-11 10:06:54 -05:00 |
Andrew Bauer
|
9e9860d6c0
|
replace mootools getelement and addevent
|
2021-01-11 09:06:21 -06:00 |
Andrew Bauer
|
2094f78adf
|
use plain js to get the livestream rather than mootools
|
2021-01-11 07:27:11 -06:00 |
Andrew Bauer
|
ff7a1037be
|
use plain js for mouseover thumb animation
|
2021-01-11 07:21:51 -06:00 |
Isaac Connor
|
dd4685ecf2
|
include kleyframe status in zm_dump_video_frame
|
2021-01-10 19:13:02 -05:00 |
Andrew Bauer
|
9968a65ee6
|
bind this to streamCmdQuery
|
2021-01-10 14:21:52 -06:00 |
Andrew Bauer
|
4a2b3e569b
|
increase timeout value for streamQuery to avoid contention with streamScale during jpeg playback
|
2021-01-10 13:02:07 -06:00 |
Andrew Bauer
|
d45b4ca434
|
deprecate legacy "stills" option from event view
|
2021-01-10 10:25:22 -06:00 |
Andrew Bauer
|
2e0b32b2fc
|
add a button to go to the stats view
|
2021-01-09 16:13:33 -06:00 |
Andrew Bauer
|
08d640a06c
|
autohide frame stats when out of pixels
|
2021-01-09 16:01:32 -06:00 |
Andrew Bauer
|
1ea4ee6ef1
|
remove extra uneeded on change event handler
|
2021-01-09 15:09:20 -06:00 |
Andrew Bauer
|
9cb1709f77
|
fix frame view scale control
|
2021-01-09 15:08:08 -06:00 |
Andrew Bauer
|
e415118f77
|
clean up postlogin js
|
2021-01-09 14:40:38 -06:00 |
Andrew Bauer
|
22be24ccde
|
eslint
|
2021-01-09 08:54:13 -06:00 |
Andrew Bauer
|
4eeb0a90f6
|
remove unneeded comment
|
2021-01-09 08:45:20 -06:00 |
Andrew Bauer
|
df44afb164
|
autohide the event stats when out of pixels
|
2021-01-09 08:43:53 -06:00 |
Isaac Connor
|
4b90eb992d
|
remove unused var temp
|
2021-01-08 16:45:16 -05:00 |
Isaac Connor
|
9e353a8837
|
break long line
|
2021-01-08 16:45:03 -05:00 |
Isaac Connor
|
c0a2286dee
|
Code style
|
2021-01-08 15:49:21 -05:00 |
Isaac Connor
|
a6aefcf477
|
get camera if we havn't already. Don't delete the timestamp in shared zmpackets because it is just a pointer to shmem. Set it to null instead so that ~ZMpacket doesn't try to free it
|
2021-01-08 15:49:09 -05:00 |