scruzin
|
ffcd011220
|
Added more number and string encoding/decoding tests.
|
2019-01-13 19:06:04 +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 |
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 |
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 |
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 |
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 |
scruzin
|
f7de9526c8
|
Removed Reset and PropReset which are not required.
|
2019-01-12 15:29:58 +10:30 |
scruzin
|
1fe1849393
|
amf.Decode and amf.PropDecode now return an error.
|
2019-01-12 14:55:12 +10:30 |
scruzin
|
b79a035d0f
|
Added error return value to all encoding functions.
|
2019-01-12 14:18:50 +10:30 |
scruzin
|
f0b98ab371
|
Added TestProperties and TestObjects.
|
2019-01-12 13:46:21 +10:30 |
scruzin
|
c2d4e0b4a2
|
Initial revision.
|
2019-01-12 08:57:53 +10:30 |
scruzin
|
255464d85a
|
amf.AMF now amf.Object, amf type consts now prefixed with type and vu struct merged into Property.
|
2019-01-12 08:56:57 +10:30 |
scruzin
|
f13d4010cc
|
Moved AMF functions into a new rtmp/amf package; names otherwise unchanged.
|
2019-01-12 07:13:27 +10:30 |
scruzin
|
355e069b5b
|
Improved description.
|
2019-01-12 06:48:33 +10:30 |
scruzin
|
de8c3ab64d
|
Remove unused file.
|
2019-01-12 06:45:27 +10:30 |
scruzin
|
19f245ae76
|
First cut at AMF refactoring; use idiomatic names.
|
2019-01-12 06:42:34 +10:30 |
scruzin
|
e78cc93432
|
minDataSize is out and flvTagheaderSize is in!
|
2019-01-11 16:00:00 +10:30 |
scruzin
|
2f3c2cc0e2
|
Added ToDo.
|
2019-01-11 11:17:14 +10:30 |
scruzin
|
22b76b5bda
|
Session.read()/write() both now return (int, error).
|
2019-01-11 10:35:20 +10:30 |
scruzin
|
67cc591dd2
|
Use idiomatic consts.
|
2019-01-11 10:27:41 +10:30 |
scruzin
|
fc815c23e7
|
Session.Write() now checks len(data) before the FLV test.
|
2019-01-11 10:10:27 +10:30 |