Commit Graph

7376 Commits

Author SHA1 Message Date
Isaac Connor caaaffbb5d change sematics of pop to return the packet* instead of boolean. Free packets in clearQueue 2016-09-09 10:05:29 -04:00
Isaac Connor c6607ea5fe change sematics of pop to return the packet* instead of boolean. Free packets in clearQueue 2016-09-09 10:05:24 -04:00
Isaac Connor 5e7404d448 define zm_av_unref_packet 2016-09-09 10:04:54 -04:00
Isaac Connor 8148e35ec6 rework to dynamically allocate packet instead of putting it on the stack. Plus packet freeing cleanups 2016-09-09 10:04:42 -04:00
Isaac Connor 3a06ba7a65 Turn off instantiating a default zone before even loading the zones. Implement the use of Camera->setMonitor so that the camera object doesn't have to load it later. 2016-09-09 09:15:04 -04:00
Isaac Connor 6e9cb06290 Merge branch 'storageareas' into packetqueue 2016-09-08 09:40:52 -04:00
Isaac Connor f67a58723c Merge ../ZoneMinder.Steve into packetqueue 2016-09-08 09:40:05 -04:00
Steve Gilvarry 34a85ba3f1 Moron forgot a file 2016-09-08 23:39:04 +10:00
Isaac Connor 7a62d84bd2 Merge ../ZoneMinder.Steve into packetqueue 2016-09-08 09:23:31 -04:00
Steve Gilvarry 33baa3b302 Free Audio and pickup unconverted video codec context. 2016-09-06 23:25:59 +10:00
Steve Gilvarry e40acc301d Add mAudioCodecContext and mAudioCodec and turn existing into video
versions. Check if audio stream available and check audio stream codec
same as video is being checked now. Was Seg faulting if no audio stream.
2016-09-06 01:27:57 +10:00
Isaac Connor 586eab25e6 Merge branch 'fix_issue_1460' of https://github.com/mattdurant/ZoneMinder into merge_1607 2016-09-01 10:25:00 -04:00
Isaac Connor 10abe98e91 merge from packet queue. add monitorId to livestream div lookup 2016-09-01 10:15:12 -04:00
Isaac Connor 9262487a77 deprecate wasRecording 2016-09-01 10:10:16 -04:00
Isaac Connor f723e29b33 stash refactor in zm_remote_camera_rtsp 2016-09-01 10:10:03 -04:00
Matt Durant 0950ecbcb9 Replaced loops to create color tables during initialization with statically declared arrays. 2016-08-31 19:36:14 -05:00
Steve Gilvarry 957c8fbdbf Merge pull request #8 from connortechnology/monitor_packetqueue
Monitor packetqueue
2016-09-01 08:11:17 +10:00
Isaac Connor 17e7f0ecfb Merge branch 'monitor_packetqueue' into packetqueue 2016-08-31 16:59:43 -04:00
Isaac Connor d5f60ad3f8 merge pertinent restructuring and packet queue worko 2016-08-31 16:58:59 -04:00
Isaac Connor 9d19e2587c fix should only write out the queue if we are starting a new event 2016-08-31 16:58:41 -04:00
Isaac Connor df6844a8d2 change return code for when writing an audio packet when no audio otuput stream. -1 causes bad things to happen 2016-08-31 16:47:51 -04:00
Isaac Connor 8bb956c3b1 re-organize to remove code duplication and make logic clearer 2016-08-31 16:47:15 -04:00
Isaac Connor 9153d2a986 when the audio stream is not aac, don't save it. 2016-08-31 15:59:05 -04:00
Isaac Connor a1941c5a65 variable renaming to be more readable. Don't save anythign except AAC. 2016-08-31 15:46:19 -04:00
Isaac Connor a51944b2c5 cleanup, remove separate audio and video queues 2016-08-31 15:38:44 -04:00
Isaac Connor 4dce24a276 write out queued packets when instantiating videostore 2016-08-31 15:38:24 -04:00
Isaac Connor ddb7398017 fix scaling because the livestream has the monitorId appended to it now 2016-08-31 13:26:53 -04:00
Isaac Connor f35fe185fb the liveStream div now has the monitorId appended to it, so add that when we lookup the livestream and put a new rand on it to force a reload 2016-08-31 12:53:34 -04:00
Isaac Connor 824d7c5b43 Merge ../ZoneMinder.Steve into packetqueue 2016-08-31 11:58:22 -04:00
Isaac Connor 55c6e5a6db cleanup putting packetqueue in the monitor. It should be in the camera 2016-08-31 11:47:42 -04:00
Isaac Connor 35d4650a1f Merge branch 'feature-h264-videostorage' into monitor_packetqueue 2016-08-31 11:38:41 -04:00
Steve Gilvarry e371d9ec7f Merge pull request #7 from connortechnology/feature-h264-videostorage
Feature h264 videostorage
2016-09-01 01:07:33 +10:00
Isaac Connor e74bf3fedf pull in the new byte range code for viewing videos 2016-08-31 10:58:50 -04:00
Isaac Connor fb35f5c48a Merge ../ZoneMinder.master into feature-h264-videostorage 2016-08-31 10:58:19 -04:00
Isaac Connor 5f07911a63 fix spacing 2016-08-31 10:09:42 -04:00
Isaac Connor ed1b6ccd58 Implement range support 2016-08-31 10:09:01 -04:00
Steve Gilvarry d1bcb14629 Right direction 2016-09-01 00:00:10 +10:00
Isaac Connor ffaf046485 fix missing / 2016-08-30 14:51:56 -04:00
Isaac Connor 27c1f95607 handle when ZM_BASE_PATH == '/' 2016-08-30 14:36:14 -04:00
Isaac Connor a28e7d8df8 fix typo 2016-08-30 14:24:51 -04:00
Isaac Connor 7411b47834 fix typo 2016-08-30 14:23:20 -04:00
Isaac Connor 6ce18c3628 ZM_BASE_URL is deprecated. Use ZM_BASE_PATH instead 2016-08-30 14:08:52 -04:00
Isaac Connor 237a4494b2 correct incorrect use of isset instead of array_key_exists 2016-08-30 13:44:57 -04:00
Isaac Connor 6204ed8dd4 correct incorrect use of isset instead of array_key_exists 2016-08-30 13:43:49 -04:00
Isaac Connor 6994a76488 cleanup, update version #'s on db update scripts that need to move because we released 1.30 2016-08-30 12:27:45 -04:00
Kyle Johnson 3320ad24ea Merge pull request #1605 from ZoneMinder/mageia-fix-spelling
Correct spelling of 'Mageia' in readme
2016-08-30 09:47:50 -06:00
Kyle Johnson 4b6b28983e Correct spelling of 'Mageia' in readme 2016-08-30 09:47:08 -06:00
Isaac Connor 4c96d12009 Merge pull request #1604 from donnieblaw/typo_getstarted
Fix name of OPT_USE_AUTH option in getting started guide.
2016-08-30 09:24:31 -04:00
Isaac Connor 81dd65352d better debugging and testing for different aspect ratios 2016-08-29 21:54:32 -04:00
Don Law 28b18066a9 Fix name of OPT_USE_AUTH option in getting started guide. 2016-08-29 20:34:54 -04:00