Commit Graph

3817 Commits

Author SHA1 Message Date
Scott a111f21427 filter: return length from the filter's Write method 2020-01-27 11:23:56 +10:30
Scott fb43e9214a filter: change formatting of code 2020-01-27 10:51:06 +10:30
Scott b15b649151 filter: check for errors after decoding 2020-01-27 10:51:06 +10:30
Scott e0fa474906 filter: DiffFilter → Difference 2020-01-27 10:51:06 +10:30
Scott 458933babb filter: create function for satisfying circleci tests 2020-01-27 10:50:54 +10:30
Scott ced8727c07 filter: create a simple difference motion filter using gocv 2020-01-27 10:50:27 +10:30
Scott Barnard 2084753985 Merged in bitrate-calc (pull request #336)
Bitrate calculations in revid.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-27 00:16:26 +00:00
Saxon cfd3f0fc3c revid: consider when r.cfg.FileFPS ==0 2020-01-25 10:15:27 +10:30
Saxon Milton 89ca5d6052 Merged in loop-mode (pull request #354)
revid: add input source loop mode

Approved-by: Alan Noble <anoble@gmail.com>
2020-01-24 23:24:58 +00:00
Saxon dcafcbf69e cmd/revid-cli: fixed build error 2020-01-25 09:53:21 +10:30
Saxon a0a99e17db revid/revid.go: logging unexpected EOF from input source 2020-01-25 09:42:32 +10:30
Saxon f82ab42246 revid & cmd/revid-cli: InputFPS field now FileFPS and added check so that only used with File input 2020-01-25 09:39:42 +10:30
Saxon 64754f7e0f revid: use loop in processFrom instead of goto 2020-01-24 21:58:57 +10:30
Trek H e8766ce5cb mjpeg-player: matched order of functions to simplify PR diff 2020-01-24 21:45:03 +10:30
Saxon 0e14c0a056 cmd/revid-cli: improved commentfor Loop flag description 2020-01-24 20:24:23 +10:30
Saxon 4e7e5ebca3 revid/revid.go: cleaned up prcoessFrom (added deger for waitgroup.Done and added info log) 2020-01-24 20:15:40 +10:30
Trek H 5647946bac mjpeg-player: minor changes to xhr-loader and frag-loader
Changes include: using console for logger, import statements, formatting.
2020-01-24 20:15:04 +10:30
Trek H 58747c0b05 mjpeg-player: playlist loader modification
Typescript code has been removed.

Functionality that is not being used has been removed.
2020-01-24 20:07:54 +10:30
Saxon 0f5aaf6cb5 revid & cmd/revid-cli: added InputFPS config.Config field
The InputFPS field can control rate at which we lex frames from the input source. This has
not been a useful feature until now; we now want to simulate realtime input device using file
input. This requires firstly the Loop mode, and now also realistic input rate.
2020-01-24 20:05:43 +10:30
Trek H 7126f7aa12 mjpeg-player: mtsdemuxer functionality change
Changed MTSDemuxer's 'append' function 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 that 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-24 20:02:17 +10:30
Trek H 2e297101a7 mjpeg-player: ts code to js code
This PR is for the hls.js files where the only modifications made are for typescript to javascript conversion, and updated import statements.
2020-01-24 19:50:48 +10:30
Trek H 179f9cfa03 mjpeg-player: reduced hlsjs code
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-24 19:41:43 +10:30
Trek H 640f50543d mjpeg-player: added back changes that were overwritten 2020-01-24 19:22:51 +10:30
Trek H b6176fa46a Merge branch 'master' into m3u-update 2020-01-24 19:21:58 +10:30
Saxon 99b931f948 revid & cmd/revid-cli: added loop mode so that input may be restarted after completion
Loop flag has been added to command line flags and in turn sets the Loop field that has been
added to the config.Config struct. mode variable now also checked to see if value set to
Loop, in which case revid config.Config.Loop = true. Revid.processFrom modified so that
when input source has completed Revid.cfg.Loop is checked and input restarted if true.
2020-01-24 19:21:18 +10:30
Trek H 6be40c8849 mjpeg-player: added back changes that were overwritten 2020-01-24 19:17:35 +10:30
Trek H 4565c22366 Merge branch 'master' into m3u-reduc 2020-01-24 19:16:05 +10:30
Trek Hopton 1b7e817266 Merged in m3u-packages (pull request #332)
mjpeg-player: made node.js packages compatible for es6 import/exports

Approved-by: Saxon Milton
Approved-by: Scott Barnard
2020-01-24 08:44:25 +00:00
Trek H bd52a5e658 mjpeg-player: added back changes that were overwritten 2020-01-24 19:12:07 +10:30
Trek H be0e2c81b8 Merge branch 'master' into m3u-packages 2020-01-24 19:10:35 +10:30
Trek H ea13e78716 Merge branch 'master' into m3u-reduc 2020-01-24 17:21:34 +10:30
Trek Hopton da4562b948 Merged in m3u-live (pull request #348)
Original hls.js files for reloading live playlists.

Approved-by: Saxon Milton
Approved-by: Scott Barnard
2020-01-24 06:43:30 +00:00
Ella Pietraroia f3c7b0f6ac basic filter that does not use gocv for motion detection 2020-01-24 17:01:28 +10:30
Trek H 5373bb4256 Merge branch 'master' into m3u-live 2020-01-24 15:59:59 +10:30
Trek H 94e82c898f Merge branch 'master' into m3u-update 2020-01-24 15:59:16 +10:30
Trek H 382ca30e4b Merge branch 'master' into m3u-reduc 2020-01-24 15:58:09 +10:30
Trek H 0cbe77c205 Merge branch 'master' into m3u-packages 2020-01-24 15:57:18 +10:30
Trek H 445fc6bc71 mjpeg-player: keeping track of loaded fragments 2020-01-24 15:50:59 +10:30
Scott 7419bdff7a Using utils v1.2.13 2020-01-24 15:47:45 +10:30
Scott 1876fe9dea Added bitrate reporting to RTP sender. 2020-01-24 15:46:14 +10:30
Scott cdd74c7a22 revid/senders.go: reportSent -> report 2020-01-24 15:46:14 +10:30
Scott 9a0fa09879 revid/senders.go,revid.go: Added bitrate calculations to revid. 2020-01-24 15:46:14 +10:30
Scott Barnard 27681e773f Merged in send-logs (pull request #337)
Send log files to netreciever

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2020-01-24 05:11:51 +00:00
Scott 44508fd269 use iot v1.2.13 2020-01-24 15:36:27 +10:30
Trek H c6a096f5a0 mjpeg-player: added reloading of live playlists
Reduced level-contoller.js to keep only what we need (reloading of live playlists).
Added a LevelController to Hls in hls.js.
Removed stop message from player.js which was causing false stops.
Minor changes to level-helper.js (formatting and logger).
2020-01-24 15:24:29 +10:30
Trek H 5b10741754 Merge branch 'm3u-reduc' into m3u-live-minor 2020-01-24 15:21:38 +10:30
Trek H 6a1a44edee Merge branch 'm3u-update' into m3u-live-minor 2020-01-24 15:21:08 +10:30
Trek H 4e4eaf95d4 Merge branch 'master' into m3u-reduc 2020-01-24 15:17:51 +10:30
Trek H c8be6c9e1b Merge branch 'master' into m3u-update 2020-01-24 15:17:08 +10:30
Scott 62141926ff main: netLogger → netLog 2020-01-24 15:15:42 +10:30