Commit Graph

294 Commits

Author SHA1 Message Date
saxon 68eec9de98 psi: wrote func for update timstamp - as well as test (passes). Also wrote func for get timestamp - as well as test (passes) 2018-12-13 12:52:23 +10:30
saxon c6cf3e7244 psi: wrote test for timestampToBytes and also for pmt with timestamp to bytes - everything working as expected 2018-12-13 12:52:23 +10:30
saxon a5fa6bed5f psi: wrote first tests, for simple pat and pmt tables. Pat writing seems to be working 2018-12-13 12:52:23 +10:30
saxon 43abed9522 psi: starting to remove psi stuff from encoder.go and put into psi package 2018-12-13 12:52:23 +10:30
saxon 9e7b65ac6a psi: working on psi test file 2018-12-13 12:52:23 +10:30
saxon 8fe430f5f5 psi: start writing testing file 2018-12-13 12:52:23 +10:30
saxon 94cefe848a psi: wrote read func for pat, pmt, desc and started writing for essd 2018-12-13 12:52:23 +10:30
saxon 2ffa0f9b7b psi: starting to write read functions for psi and tss 2018-12-13 12:52:23 +10:30
saxon ba35615964 psi: completed writing Bytes() for PSI table 2018-12-13 12:52:23 +10:30
saxon 42038a8cb9 psi: wrote Bytes() for TSS and almost done writing for PSI 2018-12-13 12:52:23 +10:30
saxon fa0498bc52 psi: wrote bytes() for pat 2018-12-13 12:52:23 +10:30
saxon 1fd9bed1e4 psi: wrote bytes() for pmt 2018-12-13 12:52:23 +10:30
saxon e2a5e6a16a psi: re-wrote bytes for desc and essd to make less bug prone, though at a cost for performance - but optimisation can happen later 2018-12-13 12:52:23 +10:30
saxon 2a589be6bf psi: using Desc instead of Descriptor 2018-12-13 12:52:23 +10:30
saxon fe11ce6f08 psi: added essd data structure, isolated space check to minimise repetition 2018-12-13 12:52:23 +10:30
saxon 731285d665 psi: restructuring data structures and files 2018-12-13 12:52:23 +10:30
saxon 5f0bef9365 psi: writing new data strcutres to make things neater and more usable 2018-12-13 12:52:23 +10:30
saxon 0531b9542b rtp: client only needs to specify padding length and then padding indicator is set based on this 2018-11-24 12:22:17 +10:30
saxon 5eb7225da9 revid & rtp: fixed up some logging, line breaks, and simplified some decrements/increments 2018-11-24 12:14:44 +10:30
saxon 103bd2b91c rtp: removed exclamation marks in panics 2018-11-22 19:32:31 +10:30
saxon e32cf9c1b7 mts: updated todo message in mpegts.go regarding plans for psi 2018-11-22 10:41:33 +10:30
saxon efe2333683 rtp: added some commenting 2018-11-21 20:28:40 +10:30
saxon 1cebc821d1 revid and rtp: simplified relationship between mts encoder and rtp encoder and revmoed queue 2018-11-21 20:23:02 +10:30
saxon 338bc53e24 rtp: added standards information regarding padding 2018-11-21 17:30:46 +10:30
saxon 6f1515cc46 rtp: simplified addition of padding to rtp packet 2018-11-21 17:30:46 +10:30
saxon f4d44e0c79 rtp: using = instead of |= for setting of rtp packet fields 2018-11-21 17:30:46 +10:30
saxon b09a422baa rtp: use go imports 2018-11-21 17:30:46 +10:30
saxon fc9b0e6ed7 mts: wrote func to wrap PSI packet creation 2018-11-21 17:30:46 +10:30
saxon 842fea8bce rtp: fixed bug in Queue creation 2018-11-21 17:30:46 +10:30
saxon 2ff7e6318d mts: made psi counter max packet interval const 2018-11-21 17:30:46 +10:30
saxon 7a1c628731 rtp: cleaned up queue structure in rtp/encoder.go - made safer, error checking etc 2018-11-21 17:30:46 +10:30
saxon 16614df9f5 rtp: started using mpegts encoder inside rtp encoder so that fragmentation i.e. smaller rtp packets is easier. Streams fine. 2018-11-21 17:30:46 +10:30
saxon fce0937810 rtp: wrote some code so that config validated udp and rtp stuff as well 2018-11-21 17:30:46 +10:30
saxon 5cc35a77a5 rtp: finished encoder file - wrote encode function, wrote timestamp function and sequence number function - need to test 2018-11-17 23:17:08 +10:30
saxon ddf25e1fbe rtp: started writing encoder for rtp. Needto work out what the packet type part of the header should be 2018-11-17 17:43:04 +10:30
saxon 1a15889522 rtp: fixed bug by actually checking to see if there is padding before adding padding size to end buf - which would mean there's actually padding 2018-11-17 17:17:54 +10:30
saxon a6cbfee22b rtp: finished testing function, works, but first test failing 2018-11-17 17:04:26 +10:30
saxon 9f329d49b6 rtp: writing test function inside rtp_test.go 2018-11-17 16:52:57 +10:30
saxon 4e7e779de7 rtp: created rtp packet structure, wrote byte function (interprets packet structure and creates equivalent byte slice and started writing test utilities 2018-11-16 19:35:19 +10:30
kortschak cec4f3803f Merged in remove-stream-chan (pull request #68)
revid: remove stream chan

* revid,stream: factor chan operations out into a separate type

* revid: remove stream chan

* revid: reduce label length

Approved-by: Alan Noble <anoble@gmail.com>
2018-10-19 00:50:08 +00:00
Dan Kortschak aba6ab1645 stream,revid: clean up data flow and docs 2018-10-04 10:35:43 +09:30
Dan Kortschak 9409c3e41b tools: remove package 2018-09-10 21:55:32 +09:30
Dan Kortschak 562ae8d3f3 lex: add missing lex package 2018-08-28 20:28:57 +09:30
Dan Kortschak 05ba19e4aa encoding->stream: rename packages 2018-08-20 07:49:02 +09:30