saxon
a5cb1c5abb
stream/mts: made modifications such that the segment test is passing
2019-02-16 23:52:40 +10:30
saxon
3356457c71
revid: not wrapping t.Errorf
2019-02-16 16:43:15 +10:30
saxon
bb091f5961
revid: wrote test for mtsSender_test.go to see if the mtsSender is segmenting properly
2019-02-16 16:33:39 +10:30
saxon
4ddf87d63d
stream/mts/discontinuity.go: fixed expectedCC logic
2019-02-16 14:38:10 +10:30
saxon
361f5edbc9
stream/mts: wrote sender interface and a minimalHttpSender type
2019-02-16 14:26:51 +10:30
saxon
34daa45b46
Merge branch 'master' into mts-chunking
2019-02-16 09:17:43 +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
281aa47fd5
stream/mts: fixing discontinuities that could be caused by ringbuffer
2019-02-16 01:40:35 +10:30
saxon
bea0000340
stream/mts: creating ring.Chunk so that we can use another loadSender
2019-02-15 23:55:51 +10:30
saxon
b6bf41b17d
stream/mts: made mtsSender more general
...
The mtsSender can now use any loadSender to send fixed and segmented mts data to.
2019-02-15 23:35:45 +10:30
saxon
31d36577b1
stream/mts: ausOceanSender => mtsSender
2019-02-15 23:17:13 +10:30
saxon
4044368837
stream/mts: fixed commenting in discontinuity.go
2019-02-15 22:24:07 +10:30
saxon
3aa94887eb
revid/senders.go: commenting of ausOceanSender
2019-02-15 14:33:18 +10:30
saxon
6964ac513e
stream/mts: adding discontinuity.go which contains discontinuity repairer
2019-02-15 13:49:37 +10:30
saxon
694ec5d009
stream/mts: fixed build errors
2019-02-15 13:43:01 +10:30
saxon
d3a8bb20de
revid: using ausOceanSender if we're doing http output with mpegtrs packetization
2019-02-15 13:05:48 +10:30
saxon
7d03830a4e
revid & stream/mts: senders now handle clip duration and cc fixing for mts.
...
Removed rtpSender as we now put in loadSender slice. Removed packer write method as no longer required to do clip duration logic. For initialisation of encoders, they are now no longer writing
to packer, but now straight to the ring buffer. Wrote ausOceanSender which will deal with clip logic and cc fixing for mts. Added some functionality to mts/mpegts.go that allows adding
of adaptation fields to mts packets.
2019-02-15 12:01:07 +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
saxon
ad04893432
revid/revid.go: intialising err from rtp send
2019-02-08 18:14:33 +10:30
saxon
f4be7e72d7
Merge branch 'cpu-fix' of http://bitbucket.org/ausocean/av into cpu-fix
2019-02-08 18:12:29 +10:30
saxon
020428db62
revid/revid.go: checking err from ring buffer write within destinations length check
2019-02-08 18:12:03 +10:30
Saxon Milton
bc1cb5245a
Merged master into cpu-fix
2019-02-08 18:09:25 +10:30
saxon
7951575771
stream/mts: undo changes to encoder.go
...
stream/rtp/encoder.go: undoing changes
2019-02-08 18:07:59 +10:30
saxon
383b2962af
experimentation/ts-repair: added description to file header
2019-02-08 18:07:59 +10:30
saxon
7b789aed29
moved cmd/ts-repair to experimentation
2019-02-08 18:07:59 +10:30
saxon
19821553e8
cmd/ts-repair: added required consts and undid changes to mts pkg
2019-02-08 18:07:59 +10:30
saxon
e98d7bb62e
created experimentation dir under av, and moved flac package here.
...
created experimentation dir under av, and moved flac pkg here.
experimentation/flac: removed wav file
2019-02-08 18:07:59 +10:30