Commit Graph

2611 Commits

Author SHA1 Message Date
Saxon Milton ddb8fc1e1c Merged in rtp-ringbuff-bypass (pull request #88)
Rtp ringbuff bypass

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-16 23:22:18 +00:00
Saxon Milton a58a784a16 Merged in clean-up-revid-consts (pull request #111)
revid: clean up some revid constants

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 07:37:07 +00:00
saxon 95349f461d revid/revid.go: removed unused logging consts 2019-01-16 17:52:49 +10:30
saxon d3c8f31c08 revid/revid.go: actually fixed conflict 2019-01-16 17:49:22 +10:30
saxon 606c1a5885 revid/revid.go: fixed conflict 2019-01-16 17:47:57 +10:30
saxon 59024fea79 revid/revid.go: further split up miscy consts 2019-01-16 17:46:17 +10:30
Saxon Milton ef6811d3b8 Merged in webcam (pull request #86)
revid: addition of webcam input

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 07:12:30 +00:00
saxon 582f12d157 revid/revid.go: in execution of ffmpeg, the device path is replaced by r.config.InputFileName 2019-01-16 17:29:56 +10:30
saxon e184b091d3 revid/revid.go: rtmp connection properties comment changed to RTMP 2019-01-16 16:42:37 +10:30
Saxon Milton a76be1fd5b Merged in single-frame-h264 (pull request #108)
av: allow for single h264 frame streaming

Approved-by: kortschak <dan@kortschak.io>
2019-01-16 05:28:20 +00:00
Alan Noble b9d99cc78a Merged in rtmp-refactoring-2 (pull request #107)
Second pass at RTMP refactoring.

Approved-by: Saxon Milton <saxon.milton@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
Approved-by: Alan Noble <anoble@gmail.com>
2019-01-15 04:31:26 +00:00
scruzin 9e6d875089 Remove ! after Dan. 2019-01-15 14:59:30 +10:30
scruzin a1d328b376 Remove unnecessary underscores from for loops with ranges. 2019-01-15 10:04:36 +10:30
scruzin 65d0952dd3 Improved Property doc comment. 2019-01-15 09:57:59 +10:30
saxon 59cc2d409a Revert "revid: removed redundant error logging"
This reverts commit eacbfb9ee3.
2019-01-14 16:37:18 +10:30
saxon eacbfb9ee3 revid: removed redundant error logging 2019-01-14 16:31:43 +10:30
Saxon Milton ae34ebe368 Merged in revid-start-stop-errors (pull request #114)
Return errors from revid.Start and revid.Stop

Approved-by: kortschak <dan@kortschak.io>
2019-01-14 04:27:34 +00:00
scruzin 3ab2c1f69a Reverted Session.clientBW2 to uint8. 2019-01-14 10:31:42 +10:30
Saxon Milton 137943af82 Merged in revid-config-safer (pull request #112)
Made revid's Config() func safer

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 23:57:27 +00:00
scruzin e778488aba Session.inChunkSize, outChunkSize, nBytesIn, nBytesInSent, serverBW, clientBW and clientBW2 now all uint32 to avoid needless conversions. 2019-01-14 10:17:47 +10:30
scruzin b680e3e164 EncodeInt24 and EncodeInt32 now take unsigned integers for consistency with decoder counterparts. 2019-01-14 10:14:25 +10:30
saxon ae792ac11e revid-cli: capturing errors from calls to stopRevid 2019-01-13 22:15:30 +10:30
saxon 19ae6f1ca6 revid-cli: dealing with errors in revid-cli from start and stop if they occur 2019-01-13 22:04:50 +10:30
saxon 5ae1e41e38 revid: start and stop now return errors 2019-01-13 22:01:04 +10:30
saxon ba54974de9 revid: removed Config() func from revid because it's not being used 2019-01-13 21:50:47 +10:30
saxon a0d7681d5f revid: not wrapping webcam args in string to pass to func 2019-01-13 20:52:09 +10:30
saxon fee960ab99 Merge branch 'master' into webcam 2019-01-13 20:50:21 +10:30
Saxon Milton bd91f8dc8b Merged in fix-psi-bug (pull request #113)
Fixed bug in psi addPaddding() func

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 10:14:18 +00:00
saxon ae4d052a9f need to update with master
Merge branch 'master' into fix-psi-bug
2019-01-13 20:13:42 +10:30
saxon 1ae261dce4 psi: return t instead of d in addPadding() func 2019-01-13 20:13:35 +10:30
saxon fc06ec235e revid: checking for webcam input in config.go validate() 2019-01-13 19:33:07 +10:30
saxon 07307ed492 updating webcam branch
Merge branch 'master' into webcam
2019-01-13 19:29:32 +10:30
saxon aa5d316816 revid: made revid.Config() return copy of revid's config rather than pointer so that mutation isn't possible 2019-01-13 19:15:02 +10:30
scruzin ffcd011220 Added more number and string encoding/decoding tests. 2019-01-13 19:06:04 +10:30
Saxon Milton a3fec17cb4 Merged in improve-rtp-encoder-performance (pull request #84)
Improve rtp encoder performance

Approved-by: Alan Noble <anoble@gmail.com>
Approved-by: kortschak <dan@kortschak.io>
2019-01-13 08:05:12 +00:00
Saxon Milton 9b699afa30 Merged in remove-unused-loglevels (pull request #110)
revid: removing unused loglevel consts defined in revid.go

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 08:04:39 +00:00
saxon 08069e22d1 revid: sectioned constants and added some commenting 2019-01-13 17:17:35 +10:30
saxon 9365c4a1de revid: removed unused consts 2019-01-13 17:10:17 +10:30
saxon bf8d85d0ba revid: removed unused loglevels 2019-01-13 17:03:58 +10:30
saxon 7f140baf22 rtp: corrected error in comment 2019-01-13 16:42:30 +10:30
saxon cb762c04c6 rtp: set defPayloadSIze to sendLen which is 7 *188 and also commented consts 2019-01-13 16:40:25 +10:30
scruzin 137ff7990a Removed unnecessary conversions. 2019-01-13 16:18:25 +10:30
scruzin a8572722b5 Uncomment accidentally commented-out code. 2019-01-13 15:55:02 +10:30
scruzin 5cf880761e Further simlified EncodeProperty and improved some comments. 2019-01-13 15:44:54 +10:30
scruzin f7c90e1093 Tested decoding of named properties. 2019-01-13 15:24:38 +10:30
saxon efbc2a1a77 revid: fixed conflict with master regarding fatal log when raspivid doesn't start successfully 2019-01-13 14:36:49 +10:30
scruzin aa789f7e78 TestSetupURL renamed TestInit. 2019-01-13 14:33:14 +10:30
scruzin fb36a2dccf Added TestErrorHandling which subsumes TestOpenClose. 2019-01-13 14:30:40 +10:30
scruzin 4c6c549f98 packet.writeTo now defends against a zero pkt.bodySize. 2019-01-13 14:28:24 +10:30
scruzin 9f3d49faa5 Tidied up some comments and simplified queuing logic in writeTo(). 2019-01-13 13:28:34 +10:30