Commit Graph

3923 Commits

Author SHA1 Message Date
Dan Kortschak 926763dd74 cmd/revid-cli: make config struct function scoped 2018-12-06 14:04:55 +10:30
Dan Kortschak 00216b444b cmd/revid-cli,revid: clean up flags handling
This is a first step in simplifying and cleaning up the logic for config
and flag handling for revid.
2018-12-05 19:54:52 +10:30
Dan Kortschak d0addcd355 cmd/revid-cli: don't decorate directory path 2018-12-05 19:14:36 +10:30
Saxon Milton f1586641a0 Merged in multiple-outputs (pull request #71)
Multiple Outputs

Approved-by: kortschak <dan@kortschak.io>
2018-12-03 23:46:17 +00:00
saxon 402f2fb165 revid: revert so that netsender pull request can be done first 2018-12-04 10:14:45 +10:30
saxon 0f273e42b6 revid: using RequestRecv for http sender 2018-12-04 10:13:18 +10:30
saxon e0207d979f revid: fixed test cases to use output1 to fix build errors 2018-12-01 11:17:12 +10:30
saxon a421e4cee8 revid-cli: moved todo comment to correct position above output1 and output2 flag declarations 2018-11-30 22:29:20 +10:30
saxon 1c105405e8 revid: changed request type back to poll so that build compiles on master 2018-11-30 22:25:38 +10:30
saxon 2c2be84499 revid: iterating through destinations and using destination.release() instead of directly talking to ringbuffer chunks 2018-11-29 14:22:39 +10:30
saxon 14f4bb0e63 revid: changed back to requestVideo 2018-11-29 14:06:16 +10:30
saxon d32a715549 revid: testing request poll instead of requestvideo 2018-11-29 13:50:17 +10:30
saxon 89b7a0acfa revid: reverted section of code which deals with failed restart of connection 2018-11-28 15:33:56 +10:30
saxon 0afaa07c1e revid-cli: added todo in regards to the flag list 2018-11-28 15:29:54 +10:30
saxon 1824273f8c revid: undoing logging changes, removed chunk closing in http sender send method 2018-11-28 15:26:17 +10:30
saxon 227f25a3fb revid: improved some naming and revmoed uneeded const 2018-11-26 00:40:18 +10:30
saxon 98eb2c64e8 revid: revid output check and destination setting cleaner. Also changed destination release to single chunk.Close() so that chunks aren't closed more than once 2018-11-25 23:45:38 +10:30
saxon 218dcfb8b2 revid-cli: removed concept of mpegtsrtp packetization as not needed anymore 2018-11-25 23:24:03 +10:30
saxon 5920d1c8d7 revid: made destination for revid a []loadSender and change code such that iterate through this when performing actions relating to destinations like write, send and close. Also created new sender call rtp sender that has a inherent rtp encoder 2018-11-25 23:10:38 +10:30
saxon a4ded5337d revid: changed close operation on destination to close operpation on slice ofoperations in reset() 2018-11-25 17:24:52 +10:30
Saxon Milton 219cafc032 Merged in add-rtp-output (pull request #70)
Add rtp output

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2018-11-24 05:01:58 +00:00
saxon 4ce4525a1c revid: removed blank line under newUdpSender 2018-11-24 15:20:26 +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 a231d57f06 revid: usage of nil error in logging message 2018-11-22 10:21:25 +10:30
saxon 4f4bebae25 revid: removed revid's overwnship of rtp encoder 2018-11-21 21:34:28 +10:30
saxon 92294aed70 rtp: assert that udp with no packetization works 2018-11-21 20:43:17 +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 cedc63a0b5 revid: got rid of debug prints 2018-11-21 18:16:10 +10:30
saxon 315ba6bd76 revid: back to working state 2018-11-21 18:14:36 +10:30
saxon 4c01514b41 revid: commiting unstaged stuff 2018-11-21 17:30:46 +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 f53c866311 revid-cli: using MpegtsRtp to representation packetization under mpegtsrtp packetization 2018-11-21 17:30:46 +10:30
saxon 589ec15259 revid-cli: made -Output=Rtp to mean rtp over udp 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 8be3c4de23 revid-cli: allow setting of udp address through revid-cli options 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 42097ddef7 rtp: added print messages for debugging purposes
rtp: added print messages for debugging purposes

rtp: removed binaries
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 c0e6ba2a5b rtp: checking for udp output and rtp packetisation in revid such that the right sender and encoder is selected 2018-11-21 17:30:46 +10:30
saxon f82c26ee62 rtp: added udp output and rtp packetisation options to revid-cli 2018-11-21 17:30:19 +10:30