Commit Graph

55 Commits

Author SHA1 Message Date
saxon 35d86b559d revid & psi: fixed playback issues... added padding to pat/pmt tables 2018-12-13 15:09:23 +10:30
saxon 9a7d7a9ab3 revid: modified http sender to look at reply of send and get time and gps data to mts package 2018-12-13 12:59:40 +10:30
saxon 2ca393c276 psi: improved commenting in op.go 2018-12-13 12:52:23 +10:30
saxon fe2c5d1033 psi: created const for pmt with time and gps program inormation length 2018-12-13 12:52:23 +10:30
saxon 283689ea6c psi: added a std template PSI struct for pmt with time and gps descriptors to make things easier 2018-12-13 12:52:23 +10:30
saxon 41d98b4dcd psi: added some commenting above testing funcs 2018-12-13 12:52:23 +10:30
saxon f320746b5d psi: wrote test for gpsUpdate - appears to be working 2018-12-13 12:52:23 +10:30
saxon 3cf6c00991 psi: restructured psi_test.go and started writing tests for gps 2018-12-13 12:52:23 +10:30
saxon 14e5676f6f psi: added file headers 2018-12-13 12:52:23 +10:30
saxon 4598d51e79 psi: started commenting and restructuring psi_test.go to make neater 2018-12-13 12:52:23 +10:30
saxon d8c46eefaa psi: restructuring to make neater 2018-12-13 12:52:23 +10:30
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