Dan Kortschak
d88f0601bb
rtmp: make C_AMF_DecodeArray take a []byte
...
This is unused.
2018-09-26 12:10:03 +09:30
Dan Kortschak
7f2385b8a2
rtmp: make C_AMFProp_Decode take a []byte
...
Also fix errors that exists in the librtmp implementation that resulted
in failure to progress the data pointer.
2018-09-26 12:10:03 +09:30
Dan Kortschak
7077165e63
rtmp: removed unused C_AMF3Read{Integer,String}
2018-09-26 12:10:03 +09:30
Dan Kortschak
6b2ddd3deb
rtmp: make C_AMF3Read{Integer,String} take a []byte
...
These functions are unused.
2018-09-26 12:10:03 +09:30
Dan Kortschak
04bd966c89
rtmp: make encoders return []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
47e6db5ca1
rtmp: make C_AMF_EncodeArray take a []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
d01109ced6
rtmp: make C_AMF_EncodeEcmaArray take a []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
d38cd89bc3
rtmp: make C_AMF_Encode take a []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
e0311dae58
rtmp: make C_AMF_PropEncode take a []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
b8742e9927
rtmp: make C_AMFObject hold a []C_AMFObjectProperty
2018-09-26 12:10:03 +09:30
Dan Kortschak
52f34e4a85
rtmp: make C_AMF_EncodeNamed{Boolean,Number,String} take []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
458eb932aa
rtmp: make C_AMF_EncodeNumber take []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
00b4e167f4
rtmp: make C_AMF_EncodeBoolean take a []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
cf87480070
rtmp: make C_AMF_EncodeInt{24,32,String} take []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
73dd7f3a7c
rtmp: remove redundant int16 encoder
2018-09-26 12:10:03 +09:30
Dan Kortschak
4f2beed32f
rtmp: make decoders take []byte
2018-09-26 12:10:03 +09:30
Dan Kortschak
f387b827ae
rtmp: remove unnecessary type conversions
2018-09-26 12:10:03 +09:30
Dan Kortschak
fed9d366c6
rtmp: remove C_Aval from C_AMFObjectProperty
2018-09-06 16:49:25 +09:30
Dan Kortschak
c4800034a6
rtmp: remove C_AVal from P_vu
2018-09-06 16:10:15 +09:30
Dan Kortschak
ed40f36ffe
rtmp: remove C_AVal from C_AMF3ReadString
...
Note that this function is not used.
2018-09-06 15:57:09 +09:30
Dan Kortschak
f005c31b44
rtmp: encode/decode typed boolean
2018-09-06 15:36:27 +09:30
Dan Kortschak
470e61a465
rtmp: remove C_AVal from encoder/decoder functions
2018-09-06 15:32:29 +09:30
Dan Kortschak
019a1f1c90
rtmp: make string decoding a returning function
2018-09-06 12:46:07 +09:30
Dan Kortschak
c494da9a1d
rtmp: remove indxBytePtr
...
Manual clean up.
2018-08-31 12:01:34 +09:30
Dan Kortschak
18e1e7fc45
rtmp: simplify indexing
...
This is a mechanical change with the addition of a constant:
gofmt -w -r '*indxBytePtr(unsafe.Pointer(p), i)->(*[_Gi]byte)(unsafe.Pointer(p))[i]' {rtmp,parseurl,amf}.go
2018-08-31 11:24:42 +09:30
Dan Kortschak
7da8c11c58
rtmp: port add_addr_info and remove unused includes
2018-08-30 20:31:19 +09:30
saxon
e0c3cd3b32
rtmp: added more funcs to NOT_PORTED and removed commented out sections from AMFProp_Decode in amf.go
2018-08-28 20:10:13 +09:30
saxon
36dfa31c48
rtmp: fixed broken cases, removed braces from cases, added panic to unsupported types in AMFPRop_Decode
2018-08-25 17:37:36 +09:30
saxon
ecb3f3f4c2
rtmp: finished reordering amf.go such that it resembles the C amf.c file more closely - also readded C_AV_Queue, which I must have deleted somehow
2018-08-24 22:30:40 +09:30
saxon
dfa146f276
rtmp: file header comments to reflect file name and appropriate authors
2018-08-24 10:25:36 +09:30
saxon
4fa0637fa1
rtmp: moved amf structs into amf_headers.go and rtmp structs into rtmp_headers.go
2018-08-24 09:47:11 +09:30
saxon
0adddd1833
rtmp: started reordering funcs in rtmp.go - realised that I need a rtmp_headers.go file to store stuff that's from rtmp.h
2018-08-24 09:38:17 +09:30
saxon
898c843f18
rtmp: added appropriate imports to each file to correct build errors
2018-08-24 09:33:05 +09:30
saxon
8f3d4b75bf
rtmp: moved all AMF funcs from rtmp.go to amf.go
2018-08-24 06:58:22 +09:30
saxon
7a9fef826c
rtmp: moved amf structs from rtmp.go to amf.go
2018-08-24 06:49:47 +09:30
saxon
595fa5a469
rtmp: tracking new file amf.go
2018-08-24 06:47:13 +09:30