Commit Graph

1895 Commits

Author SHA1 Message Date
saxon eb54871402 stream/mts/encoder.go: simplified updateMeta 2019-02-01 11:39:47 +10:30
saxon 4d4a8e04ec stream/mts/meta/meta_test.go: created global err vars 2019-02-01 11:17:53 +10:30
Saxon Milton ea89e7a5af Merged in revid-api-redesign-phase1 (pull request #130)
stream/mts: patch for revid.Start() no exit bug

Approved-by: Alan Noble <anoble@gmail.com>
2019-01-31 23:55:14 +00:00
saxon c44d6bbfd3 revid/revid.go: not during time.Duration conversion 2019-02-01 10:08:49 +10:30
saxon 9bddf343f5 revid/revid.go: moved revid.mu declaration
. Updated todo owner
2019-02-01 10:07:00 +10:30
saxon d26aa8643a revid: renamed transcode to processFrom. Using mutex for isRunning flag. Created setIsRunning func to set state of isRunning. 2019-02-01 09:47:31 +10:30
saxon 38d5d6f0fd stream/mts/meta/meta_test.go: adding test for ReadFrom 2019-02-01 09:27:43 +10:30
Alan Noble 0f346ea523 Merged in rtmp-refactoring-4 (pull request #121)
Rtmp refactoring 4

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-31 21:26:22 +00:00
saxon 1f1546a284 revid: updated code in senders.go to work with meta changes 2019-01-31 21:30:08 +10:30
saxon 10343375a3 stream/mts: moved meta.go and meta_test.go into meta package 2019-01-31 21:23:06 +10:30
saxon 051263c144 revid/revid.go: revid.lex to revid.transcode 2019-01-31 19:58:25 +10:30
saxon 1e307fc37b revid/revid.go: made routines named rather than anonymous 2019-01-31 19:42:20 +10:30
saxon e18b1f51f0 revid/revid.go: capture error from r.Start() in error handling routine 2019-01-31 15:49:44 +10:30
saxon d53eafe215 revid/revid.go: not running r.setupInput() as routine - now getting error an returning 2019-01-31 15:15:38 +10:30
saxon ed4d97f893 stream/mts: patch for revid.Start() no exit bug 2019-01-31 15:03:50 +10:30
saxon 9011c090d9 stream/mts/meta.go: wrote ReadFrom func - still need to write tests for it 2019-01-31 13:26:16 +10:30
saxon 1d9cb57505 stream/mts/metaEncode_test.go: added another test to check behaviour when more meta data is added. 2019-01-30 16:22:57 +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
kortschak 197ca684a6 Merged in sliceoutputs (pull request #120)
cmd/revid-cli,revid: use a slice for output destination flags

Approved-by: Saxon Milton <saxon.milton@gmail.com>
2019-01-30 03:07:30 +00:00
saxon 7dd1ce99e1 stream/mts: started writing metaEncode_test.go file 2019-01-30 13:23:07 +10:30
Dan Kortschak 58102e5587 revid: fix http destination assignment 2019-01-30 13:19:00 +10:30
saxon 83ac98fe84 stream/mts: added metaEncode_test.go a file that will contain tests that will use the Meta struct to actually encode metadata into psi 2019-01-30 12:26:51 +10:30
saxon 60c2eafd8c stream/mts/psi/descriptor_test.go: added some function comments above new test funcs 2019-01-30 12:13:29 +10:30
saxon c2112e58ac stream/mts/psi: added some more tests for AddDescriptor, and in the process fixed some bugs with AddDescriptor 2019-01-30 12:08:55 +10:30
saxon 55bee1532e stream/mts/psi/psi.go: added function comments and improved commenting and layout inside functions 2019-01-30 11:01:04 +10:30
saxon d49a8b8c6b stream/mts/psi.go: removed trimPadding function as we don't need this anymore 2019-01-29 22:09:17 +10:30
saxon 7f8465f1ad stream/mts/psi/descriptor_test.go: added comments to test funcs - as well as some todos for further testing. 2019-01-29 22:07:06 +10:30
Dan Kortschak 071e6fd0f7 revid: honour difference between rtmp dst and others 2019-01-29 19:56:02 +10:30
saxon 568840f691 stream/mts/psi: cleaned up descriptor_test.go 2019-01-29 18:22:57 +10:30
saxon 23e03eeddc cmd: removed ts-repair - which shouldn't have been on this branch 2019-01-29 16:47:55 +10:30
saxon a5e1763c97 stream/mts/psi: finished writing AddDescriptor test -everything working fine now 2019-01-29 16:42:02 +10:30
saxon 5cba861063 stream/mts/psi: removed test that we don't need to do 2019-01-29 16:16:37 +10:30
saxon c7d418ce81 stream/mts/psi: deleted some todos as they have been addressed now 2019-01-29 16:15:18 +10:30
saxon 1786ed2661 stream/mts/psi: finished writing AddDescriptor 2019-01-29 16:14:00 +10:30
saxon 252e6680ed stream/mts/psi: modified way in which we add padding to psi - now we leave it up to the mts package to do this on creation of an ts packet. Also in the middle of writing AddDescriptor func, and finding issues, hence the mentioned change. 2019-01-29 15:42:51 +10:30
saxon 2145db71d4 stream/mts/psi: wrote SetSectionLen func 2019-01-29 15:16:08 +10:30
saxon a5f7c5ad87 stream/mts/psi: removed TestDeleteDescriptor test as we don't need anymore 2019-01-29 14:39:39 +10:30
saxon 287238ddd1 stream/mts/psi: removed deleteDescriptor func as we don't need it yet 2019-01-29 14:39:01 +10:30
saxon 4a3464252b stream/mts/psi: changed HasDescriptor to also return index of descriptor in psi. Wrote func called SetProgInfoLen to set the program info length in a pmt. Started writing deleteDescriptor func to get rid of a descriptor. 2019-01-29 14:38:23 +10:30
saxon a61bdac2de stream/mts/psi: added testing file with tests 2019-01-29 14:21:25 +10:30
saxon af239838d0 stream/mts/psi: modified how update crc works so that we're only giving it data that's included in crc calc as well as the crc field itself. Added some consts to allow working with SyntaxSectionLen. Added trimPadding func so that we can easily get rid of any padding. Fixed createDescriptor func which was found to be broken from TestCreateDescriptor 2019-01-29 14:16:33 +10:30
saxon 3a14b64480 stream/mts/psi/psi.go: simplified HasDescriptor func 2019-01-29 11:30:37 +10:30
saxon dce113d1e4 stream/mts/psi/descriptor_test.go: wrote HasDescriptor test and fixed HasDescriptor function after bug was found 2019-01-29 11:28:40 +10:30
saxon 5aff27ac4d stream/mts/psi/descriptor_test.go: wrote test to check ProgramInfoLen func and descriptors func 2019-01-29 10:40:22 +10:30
saxon 3aa0efc16a stream/mts/meta_test.go: added TestEncode to test Meta.Encoding function 2019-01-28 18:07:34 +10:30
saxon 960c110acb stream/mts/meta.go: fixed Meta.Encode() func so that it calculates data length correctly 2019-01-28 17:45:38 +10:30
saxon 7d34fa1969 stream/mts/meta.go: completed Meta.Encode() function 2019-01-28 17:29:15 +10:30
saxon 00816ecf84 stream/mts/meta_test.go: added test to meta_test.go to remind me to add a test function once the Meta.Encode() function is complete 2019-01-27 18:34:35 +10:30
saxon 601351b021 stream/mts/meta_test.go: adding comments to meta_test.go testing functions 2019-01-27 18:33:15 +10:30
saxon e1ac1ac5d4 stream/mts/meta_test.go: using consts for commonly occuring test strings 2019-01-27 18:29:45 +10:30