Commit Graph

270 Commits

Author SHA1 Message Date
Saxon Milton 043e5b004a cmd/rv/main.go: fixed package comment 2020-01-28 08:49:51 +00:00
Saxon Milton 3362410798 cmd/rv/main.go: fixed file header 2020-01-28 08:46:15 +00:00
Saxon 63e2b24c90 cmd/rv: fixed profile.go and main.go file heaers including USAGE section in main.go 2020-01-28 11:51:05 +10:30
Saxon 86f804cf53 cmd/rv/main.go: moved initialisation of revid to above run call 2020-01-28 10:49:42 +10:30
Saxon 10a8c70e6d cmd/rv/main.go: sleeping at end of complete iteration in main loop 2020-01-28 10:29:40 +10:30
Saxon d5b28f20c8 cmd/rv: updated package name string used for logging 2020-01-28 10:28:16 +10:30
Saxon ed626e02ab cmd/rv: did some cleaning and commenting
Modified profile.go file header. Updated binary name in run.sh.
2020-01-27 15:50:24 +10:30
Saxon 7033d62cc6 cmd/rv: created new revid binary that is only netsender client, not CLI as well 2020-01-27 13:55:09 +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 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 0e14c0a056 cmd/revid-cli: improved commentfor Loop flag description 2020-01-24 20:24:23 +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
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 bd52a5e658 mjpeg-player: added back changes that were overwritten 2020-01-24 19:12:07 +10:30
Trek H 5373bb4256 Merge branch 'master' into m3u-live 2020-01-24 15:59:59 +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 62141926ff main: netLogger → netLog 2020-01-24 15:15:42 +10:30
Trek H 31dc50a4a2 mjpeg-player: adding back files 2020-01-24 14:18:26 +10:30
Trek H 6ed6d1c28b mjpeg-player: removed files from branch that are changed in existing PRs 2020-01-24 14:10:42 +10:30
Scott 0e94a0172b cmd/revid-cli/main.go: netlogger.NetLogger -> netlogger.Logger 2020-01-23 09:41:54 +10:30
Scott 93f7d5849e Added newlines to logger.New 2020-01-22 15:36:20 +10:30
Scott 9d2fd53335 megabytes -> MB 2020-01-22 15:33:23 +10:30
Trek H 971428229b Merge branch 'm3u-packages' into m3u-live 2020-01-21 13:46:23 +10:30
Trek H a5170331e4 mjpeg-player: added original hls.js files for reloading live playlists
These have been added in their unmodified state so that when they are modified to work with our code, the changes can easily be seen.
2020-01-21 13:32:29 +10:30
Trek H 35504f2f4d Merge branch 'm3u-update' into m3u-live 2020-01-21 13:27:04 +10:30
Trek H 2e47a3af92 Merge branch 'm3u-reduc' into m3u-live 2020-01-21 13:26:47 +10:30
Trek H 7eb717a35a Merge branch 'm3u-minor' into m3u-live 2020-01-21 13:26:34 +10:30
Trek H 3ae4670e49 Merge branch 'm3u-loader-correction' into m3u-live 2020-01-21 13:26:15 +10:30
Trek H 9e963d0bb5 Merge branch 'm3u-ts' into m3u-live 2020-01-21 13:25:51 +10:30
Trek H 3702bb2bb3 Merge branch 'm3u-reduction' into m3u-live 2020-01-21 13:25:40 +10:30
Trek H 80b693e0f3 Merge branch 'mtsdemuxer-change' into m3u-live 2020-01-21 13:25:14 +10:30
Trek H 461ff32cc6 Merge branch 'master' into m3u-update 2020-01-21 11:51:31 +10:30
Trek H 6f583a2815 mjpeg-player: comments for classes and functions 2020-01-21 11:47:37 +10:30
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
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
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
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
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