Commit Graph

1904 Commits

Author SHA1 Message Date
Saxon 7c6719ab5a stream/mts: using packet.Packet straight away and not doing unnecessary conversions 2019-03-02 13:15:18 +10:30
Saxon 5dd3045db2 revid: checking that we have more than 0 destinations before we write to the ring buffer 2019-03-02 13:08:48 +10:30
Saxon 7619f5b921 revid: mtsSender_test.go corrected comment 2019-03-01 15:35:54 +10:30
Saxon 8452d8f3d1 revid: cleaned up code structure in mtsSender_test.go 2019-03-01 15:28:40 +10:30
Saxon ef5e43dac7 revid: improved code layout in mtsSender_test.go 2019-03-01 15:15:44 +10:30
Saxon 2570cb6ecb revid: simplified some mtsSender logic 2019-03-01 15:14:01 +10:30
Saxon ff4778945e revid: not doing redundant conversions 2019-03-01 14:48:26 +10:30
Saxon 7070c4e434 revid: in TestSendFailDiscontinuity disconClipNo const => clipWithDiscontinuity 2019-03-01 13:35:22 +10:30
Saxon 88eac4900d revid: discarding error from loadSender.send() in mtsSender_test.go TestSendFailDiscontinuity 2019-03-01 13:32:58 +10:30
Saxon b1b5ff2f49 revid: fixed import stanzas in senders.go 2019-03-01 13:30:06 +10:30
Saxon 5eb832e6c3 revid: cleaned up documentation in senders.go and mtsSender_test.go 2019-03-01 13:28:34 +10:30
Saxon 8baff93918 revid: renamed fields of sender in mtsSender_test.go 2019-03-01 11:17:40 +10:30
Saxon b3f2439c5b revid: unexported buf in sender within mtsSender_test.go 2019-03-01 11:11:20 +10:30
Saxon 74110dee31 revid: sender interface renamed to Sender and tstSender in mtsSender_test.go renamed to sender 2019-03-01 10:16:54 +10:30
Saxon 91d21f1da8 revid: fixed import stanzas in mtsSender_test.go file header 2019-03-01 10:03:39 +10:30
Saxon 559d15d6eb revid & stream/mts: fixed file headers in mtsSender_test.go and discontinuity.go regarding licensing location 2019-03-01 10:02:43 +10:30
Saxon 6188d756fd revid: moved some mtsSender logic into load rather than send so that we're not doing the same work over and over again in the case of send failure and retry 2019-03-01 10:01:52 +10:30
Saxon ae4debd388 revid & stream/mts: fixed file headers regarding licensing location 2019-03-01 10:00:33 +10:30
Saxon Milton baf033c281 Merge branch 'mts-chunking' of https://bitbucket.org/ausocean/av into mts-chunking 2019-02-28 07:51:04 +00:00
Saxon 31025a114a stream/mts: fixed logic regarding psi writing frequency 2019-02-28 18:19:06 +10:30
Saxon 651e4d892a Merge branch 'master' into mts-chunking 2019-02-28 18:00:20 +10:30
Saxon Milton 8c2ea564b1 Merge branch 'master' into mts-chunking 2019-02-28 06:26:27 +00:00
Saxon b9bccaabdd cmd/revid-cli: fixed default value for log verbosity flag 2019-02-28 16:53:06 +10:30
Saxon ee915b58ac stream/mts: fixed conflict 2019-02-28 16:47:24 +10:30
Saxon Milton 6228123f7d Merged in add-findpid (pull request #145)
stream/mts: added general FindPID func and FindPAT func.
2019-02-28 05:46:39 +00:00
Saxon 589d922ddb cmd/revid-cli: verbosity flag default to Info 2019-02-28 14:12:44 +10:30
Saxon Milton b6a3e062b5 Merged in path-flag-fix (pull request #143)
revid: got rid of OutputFileName and InputFileName
2019-02-28 03:04:05 +00:00
Saxon Milton 4cfb85b8e1 Merged in fix-verbosity-flag (pull request #144)
cmd/revid-cli: initialisation of logger actually usses what was given as revid-cli verbosity flag input
2019-02-28 03:03:13 +00:00
Saxon a7989955ca stream/mts: corrected func comments for FindPat, FindPmt and FindPid 2019-02-28 11:06:27 +10:30
Saxon 1e9b6c25c9 stream/mts: lowercase PID PAT and PMT in func names 2019-02-28 11:04:40 +10:30
Saxon c1f7497078 stream/mts: using fmt.Errorf instead of fmt.Sprintf inside errors.New 2019-02-27 17:16:15 +10:30
Saxon 1e9fcda47c stream/mts: %v to %d in fmt.Sprintf usage in error message 2019-02-27 17:12:52 +10:30
Saxon 947f818bc6 stream/mts: modified error in FindPid in the case that we can't a packet with given pid so that we show pid 2019-02-27 16:36:59 +10:30
Alan Noble 8a13bb7007 Temporary fix: Make ringBufferSize size larger for RTMP to work over flaky networks. 2019-02-27 05:53:49 +00:00
Saxon b669d2645b Merge branch 'master' of http://bitbucket.org/ausocean/av 2019-02-26 09:07:21 +10:30
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
kortschak e64bae84d1 Merged in test/vet-failure (pull request #152)
revid: fix build

Approved-by: Alan Noble <anoble@gmail.com>
2019-02-25 08:58:57 +00:00
Dan Kortschak 8240fea9ab revid: fix build 2019-02-25 18:39:01 +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