Saxon
f55daa02c1
stream/flv & stream/mts: updated commenting for flv and mts encoders
2019-03-10 13:04:15 +10:30
Saxon
9f4f9e8920
revid: Encoder type now implements io.Writer
2019-03-10 13:00:58 +10:30
Saxon
9be2f95bef
stream/mts: improved and added commenting
2019-03-02 13:21:46 +10:30
Saxon
31025a114a
stream/mts: fixed logic regarding psi writing frequency
2019-02-28 18:19:06 +10:30
saxon
9e9e349cbf
stream: reverted some changes I made to tick() in both mts encoder and rtp encoder
2019-02-17 13:27:01 +10:30
saxon
3f3d587eeb
revid: mtsSender test for segmenting actually working now
2019-02-17 03:35:59 +10:30
saxon
a5cb1c5abb
stream/mts: made modifications such that the segment test is passing
2019-02-16 23:52:40 +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
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
8bdfed9960
stream/mts: fixing conflicts
2019-02-08 10:13:51 +10:30
saxon
ad671b520c
stream/mts/encoder.go: put todo under comment for Meta meta.Data global
2019-02-07 08:31:02 +10:30
saxon
7cb58c81eb
stream/mts/encoder.go: added comment to Meta meta.Data global as it unexported.
2019-02-07 08:29:51 +10:30
saxon
fb2217a1f9
stream/mts/encoder.go: wrote todo to make Meta meta.Data struct not be global
2019-02-07 08:27:37 +10:30
saxon
2b7ab27763
cmd/revid-cli & stream/mts/meta: added meta.NewWith function that creates a new meta.Data and adds an initial entry. Using meta.NewWith in revid-cli to initialise mts' global meta.Data with some preamble data.
2019-02-06 10:19:12 +10:30
saxon
6b32064a2b
stream/mts/encoder.go: changed updateMeta signature to return bytes slice rather than passing in pointer to byte slice.
2019-02-05 23:24:00 +10:30
saxon
dc46d9f0b2
stream/mts/encoder.go: not doing scoped conditional in writePSI when calling updateMeta
2019-02-05 23:18:05 +10:30
saxon
6425403fcb
stream/mts/encoder.go: adding copyright meta first thing
2019-02-05 13:14:42 +10:30
saxon
0a96d18a10
stream/mts/encoder.go: finished comment for updateMeta function
2019-02-04 22:17:39 +10:30
saxon
1570974ab7
stream/mts/encoder.go: removed init func where Meta was being initialised - just doing initialisation on same line
2019-02-04 22:14:17 +10:30
saxon
eb54871402
stream/mts/encoder.go: simplified updateMeta
2019-02-01 11:39:47 +10:30
saxon
1f1546a284
revid: updated code in senders.go to work with meta changes
2019-01-31 21:30:08 +10:30
saxon
d373f85b85
stream/mts: wrote test in metaEncode_test.go and found bug which was fixed
2019-01-30 15:37:15 +10:30
saxon
7dd1ce99e1
stream/mts: started writing metaEncode_test.go file
2019-01-30 13:23:07 +10:30
saxon
1786ed2661
stream/mts/psi: finished writing AddDescriptor
2019-01-29 16:14:00 +10:30
saxon
3bb1ca9379
stream/mts: wrote NewMeta func to initialize map in the Meta struct. Also wrote two tests, one TestAddAndGet to see if we can add and get metadata, and also second TestUpdate to see if we can correctly update metadata with the same key using Meta.Add
2019-01-27 17:57:42 +10:30
saxon
9171b56d31
stream/mts: created new type to represent Descriptor (typedef of []bytes) so that we can create receiver functions. Wrote AddDescriptor func to add or update a descriptor in a pmt. Wrote ProgramInfoLen func to return the program info length i.e. len of descriptors. Wrote HasDescriptor to check if descriptor exists, if so return the descriptor so that we can update. Wrote descriptors which returns []byte of all descriptors. Wrote create descriptor, which adds a descriptor to the existing if any i.e. shifts data downwards to accomodate new data. Wrote update func to update a descriptor.
2019-01-27 16:55:00 +10:30
saxon
6f421ab706
stream/mts/psi.go: added more to AddDescriptor and added signature for edistDesc
2019-01-26 23:35:31 +10:30
saxon
ecf7263bc1
stream/mts/meta.go: started using mutex where I was supposed to
2019-01-26 22:42:31 +10:30
saxon
8f5a2352b2
stream/mts: added meta.go file to contain struct and methods relating to Metadata and operations
2019-01-26 21:57:14 +10:30
saxon
87ded6bf2e
stream/mts/encoder.go: implemented metadata receiver functions: Add, Get, All and Delete
2019-01-26 21:53:19 +10:30
saxon
d107231224
stream/mts: starting to work out meta logistics in encoder.go and added incomplete AddDescriptor function in psi package
2019-01-26 18:04:21 +10:30
saxon
aea41fb710
stream/mts: adding some constants
2019-01-25 16:25:01 +10:30
saxon
31b9ec07e9
stream/mts/encoder.go: no need to have a now field to capture current time - this can be local to encode function
2019-01-24 14:39:14 +10:30
saxon
42c9fb1d09
stream/mts/encoder.go: writing psi based on time interval rather than number of packets interval
2019-01-24 14:33:22 +10:30
saxon
df146cfb17
stream/mts/encoder.go: writing psi at start of stream
2019-01-23 15:50:25 +10:30
saxon
46f5ffd6f2
mts: PktSize to PacketSize
2019-01-12 17:36:35 +10:30
saxon
010abcfd0c
mts: ccMask to continuityCounterMask in encoder.go
2019-01-12 17:34:43 +10:30
saxon
662d71bf54
mts+psi: fixed conflicts with master
2019-01-12 17:03:55 +10:30
Dan Kortschak
65e2ab3f6a
stream/mts{,psi}: fix comments
2019-01-11 22:29:48 +10:30
saxon
f88115f811
mts: fixed comment
2019-01-11 10:57:53 +10:30
saxon
7fe8356b11
mts: nonembeded mutex in TimeLocation
2019-01-10 17:26:48 +10:30
saxon
304d5501ac
mts: improved some commenting
2019-01-10 11:12:33 +10:30
saxon
459b1895de
mts: got rid of blank line
2019-01-09 09:16:57 +10:30
saxon
f432950c28
mts: GetLocation()=>Location() and GetTimeStamp()=>TimeStamp()
2019-01-09 09:15:08 +10:30
saxon
c76c4aafb9
mts: fixed some commenting
2019-01-09 09:12:46 +10:30
saxon
6cb56421d3
mts: add getters and setters with mutex to the TimeLocation struct.
2019-01-08 20:01:30 +10:30
saxon
ddf7a94ab8
mts: made standard pat and pmt tables unexported
2019-01-08 19:46:24 +10:30
saxon
a63013ca4a
mts: UCed some words and any std => standard
2019-01-08 19:44:33 +10:30
saxon
b75dfaa4de
mts: added full stops to some comments
2019-01-08 19:42:46 +10:30
saxon
ffc1af2cd4
psi: removed declaration and initialisation of standard psi structures in std.go as this is dangerous
2019-01-07 17:13:50 +10:30