Commit Graph

1601 Commits

Author SHA1 Message Date
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
scruzin dd562f1a28 Update comment to reflect new method names. 2019-01-13 13:15:03 +10:30
scruzin 21090a6595 Update doc comments to reflect new method names. 2019-01-13 13:14:12 +10:30
scruzin 82c010b6f7 packet.read/write -> readFrom/writeTo. 2019-01-13 13:09:29 +10:30
scruzin bef7177c5a Removed used Session.checkCounter and link.token. 2019-01-13 13:04:05 +10:30
scruzin 60af77017d Remove superfluous error declarations. 2019-01-13 12:52:06 +10:30
scruzin b78aae6a19 Respect decodeName param when recursively decoding objects. 2019-01-13 12:09:40 +10:30
scruzin 8cd5627974 Test nested objects. 2019-01-13 12:09:06 +10:30
Saxon Milton af6c8d875f Merged in improve-ts-encoder-performance (pull request #83)
Improve ts encoder performance

Approved-by: kortschak <dan@kortschak.io>
2019-01-13 00:13:38 +00:00
scruzin f8b8d06b2e Removed ErrEndOfBuffer checks which are not required. 2019-01-13 10:10:43 +10:30
scruzin 9ff10dbbac Use amf.DecodeInt32LE() instead of decodeInt32LE(). 2019-01-13 10:01:03 +10:30