Commit Graph

4006 Commits

Author SHA1 Message Date
saxon d0d9e20c87 revid: if no data is provided to rtpSender.send() then we check if the rtpSenders chunk is not nil, if it is, then return error 2019-01-01 16:11:32 +10:30
saxon ccd4c32ff6 revid: revid now has it's own rtpSender seperate from the loadSender slice used for multiple outputs, therefore, we can now bypass the ringbuffer in this case with a check if the rtpSender exists in the packer write method 2019-01-01 16:03:04 +10:30
Saxon Milton ebccfa1a54 Merged in raspivid-no-start-fatal (pull request #87)
revid: fatal when raspivid cannot be started

Approved-by: kortschak <dan@kortschak.io>
2018-12-29 10:57:49 +00:00
saxon e4e4e217c6 revid: using smarter startWebcam func as suggested by Dan 2018-12-29 17:04:35 +10:30
saxon 7f707288eb revid-cli: webcam to Webcam in revid-cli flag interpretation switch 2018-12-29 17:01:50 +10:30
saxon 037b511330 revid: removed fatal when raspivid doesn't start (addressed in another PR) 2018-12-29 16:55:02 +10:30
saxon 24bc974b01 revid: removed fatal log when raspivid doesn't start 2018-12-28 15:29:31 +10:30
Dan Kortschak 1e3b4b1ab8 cmd/revid-cli,revid: reduce stringly typing in config/flags 2018-12-28 13:43:21 +10:30
Saxon Milton 5a181f3576 revid: fix rtmp sending
Approved-by: kortschak <dan@kortschak.io>
2018-12-28 03:09:41 +00:00
saxon ca681a6176 revid: fatal when raspivid cannot be started 2018-12-28 10:53:10 +10:30
saxon f9c1231cc4 revid: added input flag for webcam input and added func to handle webcam input using ffmpeg 2018-12-28 10:48:21 +10:30
saxon 7118f1566c revid: added input flag for webcam input and added func to handle webcam input using ffmpeg 2018-12-28 10:44:53 +10:30
saxon 32e2d61ec1 revid: fixed rtmp problem by adding extra check of output to figure out clip duration before send 2018-12-28 10:31:50 +10:30
saxon e1dd89b348 rtp: using static memory to hold bytes of rtp pkts 2018-12-27 14:44:30 +10:30
saxon c739b10f86 mts: removed repeated use of addPadding func 2018-12-27 14:11:23 +10:30
saxon b28861d690 pes: MaxPesSize to MaxPesLen 2018-12-27 13:36:38 +10:30
saxon 49a6acbde8 mts: some more const naming improvements 2018-12-27 13:29:08 +10:30
saxon 3a872d46c8 mts: improved some const naming 2018-12-27 13:25:51 +10:30
saxon e386f06adf mts: fixed slicing issue 2018-12-27 13:19:11 +10:30
saxon 211a6390d4 mts: using static arrays to store mpegts and pes packets 2018-12-27 13:01:38 +10:30
saxon 26cb2e94df Fatal error when cannot start revid 2018-12-19 11:56:25 +10:30
Saxon Milton 081007b091 Merged in psi-improvements (pull request #79)
Psi improvements

Approved-by: Alan Noble <anoble@gmail.com>
2018-12-17 11:13:30 +00:00
saxon 1095f32ae4 revid: added send retry flag 2018-12-14 20:50:26 +10:30
saxon ab643f2b97 revid: set default bitrate to 400000 2018-12-14 20:38:53 +10:30
saxon 618fadd90b revid: trying to fix jumpy rtp 2018-12-14 20:05:10 +10:30
saxon d8587bdbe2 psi: don't panic when LocationStrBytes get's non 32 byte str 2018-12-14 18:46:19 +10:30
saxon c7f55c3c43 revid: using NewJSONDecoder rather than newJsonDecoder to be consistent with changes in iot 2018-12-14 16:58:02 +10:30
saxon fbdce669e7 revid: cleaned and added commenting 2018-12-14 16:46:36 +10:30
saxon 239b52ad84 psi: simplified LocationStrBytes 2018-12-14 16:37:13 +10:30
saxon 7c24c79287 psi: using binary.BigEndian.Uint64 for TimeFrom 2018-12-14 16:31:13 +10:30
saxon f7991cd0af psi: using array in TimeBytes() 2018-12-14 16:22:48 +10:30
saxon 404a2b6c99 psi: d to dst in updateTime 2018-12-14 16:21:56 +10:30
saxon d961cf172d psi: indicated that time data size const is in bytes to be consistent with storage of uint64 2018-12-14 16:20:20 +10:30
saxon e50a8e6995 revid: zerod to zeroed in comment 2018-12-14 16:18:18 +10:30
saxon 24f0be9917 mts: FindPmt checks validity of data length 2018-12-14 16:15:02 +10:30
saxon 0b9f0f49fe psi: HasTime rather than chkTime 2018-12-14 16:11:45 +10:30
saxon ac11b281c5 mts: patTable and pmtTable in var block instead of init func now 2018-12-14 16:09:53 +10:30
saxon cf4c44f4d5 psi: using HasLocation or HasTime instead of ChkLocation or ChkTime 2018-12-14 16:06:01 +10:30
saxon 21dd2f4b70 revid: using location instead of gps in names 2018-12-14 16:02:47 +10:30
saxon e79f6d191d revid: made extractMeta a function of httpSender 2018-12-14 16:01:10 +10:30
saxon f1ee09ad7b revid: improved naming of encoder globals for location and timestamp 2018-12-14 15:59:44 +10:30
saxon dc6964d41c psi: trimming excess bytes in gps data from pmt 2018-12-14 13:46:10 +10:30
saxon 798add533b revid + mts +psi: wrote func to find pmt in byte slice, wrote func to get gps, changed the way in which psi are insterted, based no of mpgets packets to send on time, i.e. per second 2018-12-14 13:35:56 +10:30
saxon 7fa245bca3 psi: wrote testing for get gps from pmt byte slice 2018-12-14 11:15:49 +10:30
saxon afc7c1f086 mts: actually updating time and gps now 2018-12-13 17:13:34 +10:30
saxon 05fd7c37d1 psi: fixed issue with std psi 2018-12-13 17:06:39 +10:30
saxon b78904ac72 revid + psi: getting metadata from replies now 2018-12-13 15:51:51 +10:30
saxon 35d86b559d revid & psi: fixed playback issues... added padding to pat/pmt tables 2018-12-13 15:09:23 +10:30
saxon ce036abf8b revid: changed request time to recv 2018-12-13 12:59:40 +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