Commit Graph

2180 Commits

Author SHA1 Message Date
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
scruzin e8002582da Added DecodeInt32LE. 2019-01-13 09:59:57 +10:30
scruzin 40ce3357eb Removed unused code for unwritable links, and collapsed unhandled cases in switch statments. 2019-01-13 09:47:04 +10:30
scruzin 8898ee3add setupURL() now a method on Session and renamed init(). 2019-01-13 09:18:52 +10:30
scruzin f1e46461c3 Removed unused swfUrl, pageUrl, swfAge and flashVer from link and renamed tcUrl to url. 2019-01-13 09:12:41 +10:30
scruzin 8f2a8ced9d More idiomatic names for Object's property getters. 2019-01-13 08:09:54 +10:30
scruzin 8a68cbca2f PropEncode/PropDecode -> EncodeProperty/DecodeProperty. 2019-01-13 07:51:35 +10:30
scruzin 9ca1a49178 Removed unused chunk type and associated unused code. 2019-01-13 07:46:47 +10:30
scruzin 2219a26890 Removed unused Session.encoding and sendEncoding. 2019-01-13 07:29:36 +10:30
scruzin 40806d4de7 Removed unused extras from rtmp.link. 2019-01-13 07:11:25 +10:30
scruzin e0a4c39c8b Fix typo in comment. 2019-01-12 20:07:56 +10:30
scruzin 32c281d2dc Added type-specific wrappers for amf.Object.GetProperty, namely GetNumber, GetString and GetObject. 2019-01-12 18:43:51 +10:30
scruzin 5b94ddfbe9 Renamed Object.Props to Properties. 2019-01-12 18:04:04 +10:30
scruzin 5505edab5a Remove reference to deprecated invalidType data type. 2019-01-12 17:53:02 +10:30
saxon c4e2ca64a9 psi: modified addPadding to only do one resize 2019-01-12 17:51:39 +10:30
scruzin cb2ea08fff Use literal values for data type consts per the AMF spec, rather than iota. 2019-01-12 17:48:17 +10:30
scruzin b31c65001e Implemented boolean properties (although our rtmp implementation does not seem to require it at present). 2019-01-12 17:39:32 +10:30
saxon 46f5ffd6f2 mts: PktSize to PacketSize 2019-01-12 17:36:35 +10:30
saxon 010abcfd0c mts: ccMask to continuityCounterMask in encoder.go 2019-01-12 17:34:43 +10:30
saxon 662d71bf54 mts+psi: fixed conflicts with master 2019-01-12 17:03:55 +10:30
scruzin 2105339657 Export Property members so getters are no longer required and made amf.GetProp a method on Object. 2019-01-12 16:10:09 +10:30
scruzin 396c809424 Documented methods and standardized on 'buf' for parameter name. 2019-01-12 15:33:14 +10:30