Commit Graph

3581 Commits

Author SHA1 Message Date
Trek H 6f583a2815 mjpeg-player: comments for classes and functions 2020-01-21 11:47:37 +10:30
Trek Hopton a0026bd2f0 Merged in js-mjpeg (pull request )
mjpeg-player: append to lexer

Approved-by: Alan Noble
2020-01-20 11:40:42 +00:00
Trek H e278397aa3 mjpeg-player: append to lexer
The mjpeg lexer can now have data appended to it as many times as needed instead of having the data passed at construction.
2020-01-20 21:00:24 +10:30
Trek H 9c978be91b mjpeg-player: updated player for m3u changes
Updated player to play data that has been loaded using the hlsjs m3u loading code.
Added an input URL element to html to load playlists.
2020-01-20 20:52:37 +10:30
Trek H ceac1c9e32 mjpeg-player: reduce and simplify hlsjs code
hls.js and stream-controller were both very large ariginally so as to make things simpler, they have been reduced in size and complexity and now just perform the functionality that we need.
2020-01-20 20:31:23 +10:30
Trek H 8e718386f2 mjpeg-player: minor changes to xhr-loader and frag-loader
Changes include: using console for logger, import statements, formatting.
2020-01-20 20:20:03 +10:30
Trek H 6fa4abe78c mjpeg-player: playlist loader modification
Typescript code has been removed.
Functionality that is not being used has been removed.
2020-01-20 20:05:23 +10:30
Trek H 823334a983 mjpeg-player: added file headers 2020-01-20 19:52:22 +10:30
Trek H f062a8456e mjpeg-player: added config and events file headers 2020-01-20 19:46:23 +10:30
Trek H 5ad32207b3 mjpeg-player: updated mtsdemuxer header 2020-01-20 19:44:12 +10:30
Trek H 2d71869104 mjpeg-player: added level-key ts conversion 2020-01-20 17:37:51 +10:30
Scott 8c82a03c25 cmd/revid-cli/main.go: Renamed SendLogs to Send. 2020-01-20 16:20:35 +10:30
Ella Pietraroia d5e0bf7731 remove all tests 2020-01-20 16:19:04 +10:30
Saxon 2d2e1b0ad1 revid/revid.go: added logger message back 2020-01-20 16:10:10 +10:30
Trek H 476c306620 mjpeg-player: mtsdemuxer functionality change
changed MTSDemuxer's 'append' to 'demux' because it is not appending.
Updated MTSDemuxer so that it doesn't store the stream after demuxing it, it simply demuxes the data it's given and returns the demuxed data.
Any PES packets that were truncated are kept to be tried at the next call to demux.
2020-01-20 16:03:35 +10:30
Ella Pietraroia 0c081e0b23 more testing prints now in lex 2020-01-20 15:45:43 +10:30
Trek H 290ba3ae3f mjpeg-player: conversion from typescript to javascript code
Changing the typescript code to javascript code.
Updated import statements.
2020-01-20 15:42:22 +10:30
Trek H b8195e5ef9 mjpeg-player: reduced config vars and events
Reduced the lengthy lists of config vars and events used by hlsjs player that we no longer need.

Also removed typescript typing from config.js
2020-01-20 15:20:13 +10:30
Saxon f64c986efc codec: corrected error handling in lexers 2020-01-20 15:03:49 +10:30
Trek H a9f26eb3fe mjpeg-player: modifications to package exportation
these node.js packages are used in the hls.js code and in order to use them with es6 importing/exporting, they needed to be modified.
2020-01-20 14:51:51 +10:30
Trek Hopton feae838b3f Merged in m3u-files (pull request )
All files for m3u addition present with updated extensions

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-20 04:03:54 +00:00
Ella Pietraroia c99d3564bf more testing 2020-01-20 14:31:40 +10:30
Ella Pietraroia 44aac3f9fd timing for 25 frames testing 2020-01-20 14:09:42 +10:30
Scott Barnard 75946c6bdd Merged in mode-var-type (pull request )
revid: include mode var in var types

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-20 03:18:46 +00:00
Scott eea0f2d9dc revid/config/config.go: added vartype mode 2020-01-20 11:51:30 +10:30
Scott e4315d8203 cmd/revid-cli: added error checking for sending of logs 2020-01-20 10:50:02 +10:30
Scott b1a7adc487 cmd/revid-cli: send logs using netlogger 2020-01-20 10:42:37 +10:30
Saxon 39d0fa12d0 cmd/revid-cli: send logs using smartlogger 2020-01-20 10:33:43 +10:30
Alan Noble 82e2df5d88 revid/config/config.go: reverted incorrect change 2020-01-20 10:33:43 +10:30
Alan Noble 9454ef88c3 revid/config/config.go: fixed typo in outputs data type (enums->enum) 2020-01-20 10:33:43 +10:30
Trek H e58e95f3ed Merge branch 'master' into m3u-files 2020-01-17 16:44:21 +10:30
Saxon fdf393566a codec/h265/lex_test.go: adapted test for changes to error lex can return 2020-01-17 16:41:12 +10:30
Trek H acb6c28b9b mjpeg-player: added packages used by hls.js code 2020-01-17 16:28:48 +10:30
Scott Barnard 123c7d163a Merged in mjpeg-extract-error (pull request )
Fixed mjpeg extract.go returning errors when it should not.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-17 05:56:59 +00:00
Saxon 399ecb8874 revid: do more thinking about errors in processFrom 2020-01-17 16:23:28 +10:30
Trek H fd476ad964 mjpeg-player: renamed all .ts files to .js 2020-01-17 16:20:30 +10:30
Saxon e45f51a31f codec/mjpeg/lex.go: return error if io.EOF is encountered 2020-01-17 16:07:37 +10:30
Saxon a26777b697 codec/h264&h265/lex.go: returning errors even if io.EOF, and not bothering to return what's currently in buffer if error 2020-01-17 16:07:10 +10:30
Ella Pietraroia 61bb0b68f6 adding staright to file testing in, need to remove 2020-01-16 15:57:57 +10:30
Ella Pietraroia b0dd41dcf0 back to no testing 2020-01-16 14:39:44 +10:30
Alan Noble 3a743ea917 revid/config/config.go: reverted incorrect change 2020-01-15 13:58:51 +10:30
Alan Noble ea42a532d7 Merge branch 'master' of https://bitbucket.org/ausocean/av 2020-01-15 13:47:37 +10:30
Alan Noble 4bfad21003 revid/config/config.go: fixed typo in outputs data type (enums->enum) 2020-01-15 13:46:56 +10:30
Scott 8dbcf1c148 extract_test.go: Simplified test code 2020-01-15 13:22:41 +10:30
Scott Barnard bf9f44dfb7 Merged in camera-ip-variable (pull request )
CameraIP variable added

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-14 10:49:56 +00:00
Scott 35a413c80a Added test file for extract.go 2020-01-14 16:46:35 +10:30
Scott 4b28558924 Frame counter resets on a consistent interval. 2020-01-13 10:49:01 +10:30
Ella Pietraroia 0b95041d4f quantization = 0 for input encode is MJPEG 2020-01-13 10:49:01 +10:30
Ella Pietraroia 6f16f68611 adding variable to choose how many frames to skip before filtering 2020-01-13 10:49:01 +10:30
Ella Pietraroia b39a440105 making mog filter that only dectects motion on every 5 frame (will make this a var) 2020-01-13 10:49:01 +10:30