Commit Graph

1842 Commits

Author SHA1 Message Date
Saxon 6143baed0b rtmp: doing conn.close log message after we actually check that there is still a connection, otherwise we might have a nil logger and cause a panic 2019-02-26 09:06:25 +10:30
Alan Noble 4919c972c6 Merged in revid-log-debug-message-upon-ring-timeout (pull request #151)
Only log a debug message when ring.ErrTimeout occurs, not a warning.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-25 07:58:36 +00:00
Alan Noble a90b35b319 Only log a debug message when ring.ErrTimeout occurs, not a warning. 2019-02-25 07:14:30 +00:00
Saxon Milton c247e63bd0 Merged in default-mode-crash-fix (pull request #150)
revid-cli: initialising config.Output slice when no outputs are defined so that a default output can still be set

Approved-by: Alan Noble <anoble@gmail.com>
2019-02-25 06:42:38 +00:00
Alan Noble 95303b4e71 Set default log level to Info (to match the comment). 2019-02-25 06:31:12 +00:00
Saxon 5d5af5601f revid: not closing destinations on call to revid.Reset() anymore 2019-02-25 17:00:31 +10:30
Saxon 8340143622 rtmp: not logging conn close message unless we do have a connection 2019-02-25 16:56:37 +10:30
Saxon 7f2d53e778 revid: now checking for Packetization var from netreceiver 2019-02-25 16:29:44 +10:30
Saxon b7d1bd17a7 revid: initialising ring buffer in different location 2019-02-25 16:03:28 +10:30
Saxon be6e168774 revid: fixed quantization and bitrate logic in config.Validate() 2019-02-25 15:56:51 +10:30
Saxon cc4d683ba6 revid: calling reset inside revid.Update once config is updated 2019-02-25 15:47:43 +10:30
Saxon 5a2d89ef8f revid: using only one output when we're getting config from netreceiver 2019-02-25 15:31:42 +10:30
Saxon e118a639d4 revid: outputting config when we update 2019-02-25 15:28:19 +10:30
Saxon 37850e8350 revid-cli: initialising config.Output slice when no outputs are defined so that a default output can still be set 2019-02-25 12:59:57 +10:30
Saxon Milton 855dfbae01 Merged in netsender-run-in-revid-cli (pull request #141)
cmd/revid-cli: replaced use of send() with netsender.Run() and implemented readPin func.

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-24 23:17:17 +00:00
Alan Noble 471cd56c54 Merged in rtmp-dial-error-close (pull request #149)
Removed incorrect Close upon Dial error.

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-24 23:15:27 +00:00
Alan Noble 01d85af133 Removed incorrect Close upon Dial error. 2019-02-22 20:45:13 +00:00
Saxon Milton 9b57306aed Merged in revert-encoder-timing (pull request #148)
stream: reverted timing changes from most recent PR
2019-02-17 03:08:00 +00:00
saxon c58b207419 stream: reverted timing changes from most recent PR 2019-02-17 13:35:55 +10:30
Saxon Milton 725b40b114 Merged in fix-encoder-timing (pull request #147)
stream/mts & stream/rtp: fixed timing calculations
2019-02-15 22:46:30 +00:00
saxon da5fdccaf3 stream/mts & stream/rtp: fixed timing calculations
Currently time calculations in the mts encoder are based on the premise that each mpegts packet is a 'frame', and in the rtp encoder that
each encoding of multiple packets into one rtp packet is a 'frame', these are both false. Mpegts encoding and rtp encoding should do
timestamp calculations using a reasonable approximation of time at encoding/send.
2019-02-16 09:09:54 +10:30
saxon 2a61f2d08d cmd/revid-cli: added space before rv declaration 2019-02-12 11:37:50 +10:30
saxon e2d80b423c cmd/revid-cli: removed comment we don't need anymore 2019-02-12 11:33:48 +10:30
saxon 69029889fe cmd/revid-cli: using closure for readPin func so that we don't have to have global revid 2019-02-12 11:32:02 +10:30
saxon b9c53791d8 cmd/revid-cli: updated readPin func comment 2019-02-12 10:42:26 +10:30
saxon 4e1c8e7c45 cmd/revid-cli: made Revid global so that revid.Bitrate() can be accessed in readPin 2019-02-12 10:39:23 +10:30
saxon f67fb1ec8a cmd/revid-cli: replaced use of send() with netsender.Run() and implemented readPin func. 2019-02-11 16:49:28 +10:30
Saxon Milton bfdefa97f8 Merged in meta-keys-func (pull request #140)
stream/mts/meta: added Keys() func and appropriate testing

Approved-by: kortschak <dan@kortschak.io>
2019-02-11 06:09:10 +00:00
saxon 934653991d Merge branch 'master' into meta-keys-func 2019-02-11 15:01:49 +10:30
saxon dad70b37b4 stream/mts/meta/meta.go: reduced verbosity of local vars in meta.Keys 2019-02-11 14:30:37 +10:30
kortschak dfb282cd25 Merged in ts-repair-repair (pull request #139)
exp: fix build

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-02-10 23:08:40 +00:00
Dan Kortschak 14ca8e8b27 circle-ci: make test data available 2019-02-10 09:11:21 +10:30
saxon ce92dd37d8 stream/mts/meta: added Keys() func and appropriate testing
A meta.Keys(d []byte) []string, error func has been added that will extract the keys of a metadata string. A test has also been added
to test that this function performs as expected.
2019-02-10 08:58:38 +10:30
Saxon Milton 07d0b7cd5b Merged in add-extract-all (pull request #138)
stream/mts/meta: added ExtractAll func

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-02-09 12:30:38 +00:00
saxon 1f3d34b6bb stream/mts/meta/meta_test.go: corrected func comment for TestGetFrom 2019-02-09 22:27:25 +10:30
saxon cc0becf58c stream/mts/meta: simplified meta checking for Get and GetAll 2019-02-09 22:25:36 +10:30
Dan Kortschak b24e72caa5 experimentation: rename to exp 2019-02-09 22:14:21 +10:30
Dan Kortschak 46ab4b200e exp/ts-repair: fix assignment 2019-02-09 22:12:55 +10:30
Saxon Milton 073678f190 Merged in rtp-encoder-buffer-fix (pull request #137)
stream/rtp/encoder.go: more sensible use of encoder buffer

Approved-by: kortschak <dan@kortschak.io>
2019-02-09 11:07:24 +00:00
saxon 50575270b9 stream/mts/meta: checking if given slice is nil or empty and returning error if either. Also updated some func comments 2019-02-09 21:35:35 +10:30
saxon 716a92a72c stream/rtp/encoder.go: sendLen to sendSize and capturing error from e.Encode() 2019-02-09 19:31:15 +10:30
saxon 01513fbb3f stream/rtp/encoder.go: correct encoder.Write to work if an abitrary number of bytes are written 2019-02-09 13:22:18 +10:30
saxon e796a5a3b7 stream/mts/meta: updating function comments and test function names according to Extract->Get and ExtractAll->GetAll change 2019-02-09 12:16:57 +10:30
saxon f9d8accdae stream/mts/meta/meta.go: Extract and ExtractAll to Get and GetAll 2019-02-09 12:14:32 +10:30
saxon fadc1fed1b stream/mts/meta: added ExtractAll func and added testing utilities 2019-02-08 21:31:00 +10:30
saxon d5a26a98ff stream/rtp/encoder.go: more sensible use of encoder buffer 2019-02-08 20:20:19 +10:30
Saxon Milton 865ce3e7a2 Merged in cpu-fix (pull request #135)
Cpu fix

Approved-by: kortschak <dan@kortschak.io>
2019-02-08 09:46:45 +00:00
Saxon Milton 3c9b9efe91 Merged in send-retry-flag (pull request #126)
revid-cli: add sendRetry flag

Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-02-08 09:04:30 +00:00
saxon 5090056972 cmd/revid-cli: send-retry cmd line flag is now retry 2019-02-08 18:19:44 +10:30
saxon c5d93b53d5 Merge branch 'master' into send-retry-flag 2019-02-08 18:18:01 +10:30