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
|
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
|
22b76b5bda
|
Session.read()/write() both now return (int, error).
|
2019-01-11 10:35:20 +10:30 |
scruzin
|
5be5aad6cf
|
Idiomatic names for constants (1st pass).
|
2019-01-11 09:52:21 +10:30 |
scruzin
|
94446beddb
|
Split remaining code in rtmp_headers across rtmp.go and session.go.
|
2019-01-11 00:19:50 +10:30 |
scruzin
|
7bb9fcc2c7
|
Remove superfluous call to handlePacket() from connectStream().
|
2019-01-11 00:10:29 +10:30 |
scruzin
|
b388f5374f
|
Removed superfluous url param from setupURL() and obtain it from the Session object instead.
|
2019-01-11 00:06:44 +10:30 |
scruzin
|
53bccaaaa7
|
Simplifed connectStream().
|
2019-01-11 00:01:26 +10:30 |
scruzin
|
f635be6712
|
Propagate errors from handleInvoke().
|
2019-01-10 23:48:11 +10:30 |
scruzin
|
058cc41356
|
readPacket(), sendPacket() and resizePacket() now Packet methods read(), write() and resize() respectively.
|
2019-01-10 23:29:51 +10:30 |
scruzin
|
6a8e78a256
|
readN()/writeN() now Session.read()/write() respectfully.
|
2019-01-10 23:16:20 +10:30 |
scruzin
|
26e8133a6e
|
Merge Session.write() into Session.Write().
|
2019-01-10 23:05:24 +10:30 |
scruzin
|
56a3bf8b26
|
Simplified Session.write().
|
2019-01-10 22:52:43 +10:30 |
scruzin
|
3dbaa810fc
|
Additional logging.
|
2019-01-10 12:49:52 +10:30 |
scruzin
|
076a9c030a
|
Better field names.
|
2019-01-09 22:51:07 +10:30 |
scruzin
|
c386f45bbd
|
Removed out of date comment.
|
2019-01-09 22:25:10 +10:30 |
scruzin
|
0a69c59f50
|
Additional logging.
|
2019-01-09 17:33:19 +10:30 |
scruzin
|
88e1415b10
|
Include pkg name in fatal log messages.
|
2019-01-09 16:08:02 +10:30 |
scruzin
|
cbe6149c8f
|
Added proper logging.
|
2019-01-07 23:59:41 +10:30 |
Alan Noble
|
c4bc4f7c61
|
Set debugMode false by default.
|
2019-01-07 11:49:14 +00:00 |
scruzin
|
04679e4757
|
Removed used fields and initalize packets lazily.
|
2019-01-07 21:45:00 +10:30 |
scruzin
|
0b869523b4
|
Removed packet member from Session.
|
2019-01-07 20:16:11 +10:30 |
scruzin
|
31b1a6a7d3
|
Made function names camel case and factored packet functions into packet.go.
|
2019-01-07 18:00:42 +10:30 |
scruzin
|
ad55d31577
|
Made type and variable names idiomatic, and merged C_RTMP into Session.
|
2019-01-07 16:20:35 +10:30 |
scruzin
|
6975f5172e
|
Make member names camel case.
|
2019-01-07 13:33:07 +10:30 |
scruzin
|
9b14883bd3
|
Log packetType when sending.
|
2019-01-07 10:22:04 +10:30 |
scruzin
|
647f10f212
|
Only set ts in C_RTMP_SendPacket() when prevPacket != nil.
|
2019-01-07 08:44:04 +10:30 |
scruzin
|
3dccec4f35
|
Removed C_RTMP_SetBufferMS().
|
2019-01-06 17:43:48 +10:30 |
scruzin
|
9335e2701d
|
Fixed debug mode for C_RTMP_SendPacket().
|
2019-01-06 17:17:51 +10:30 |
scruzin
|
309680f019
|
Removed references to C.RTMP_Free().
|
2019-01-06 16:13:06 +10:30 |
scruzin
|
6133032a05
|
Moved conn from C_RTMPSockBuf to C_RTMP_LNK and deleted the former.
|
2019-01-06 15:54:49 +10:30 |
scruzin
|
474642f53b
|
Simplified C_RTMP_IsConnected().
|
2019-01-06 15:35:55 +10:30 |
scruzin
|
c7b96f1c31
|
Check for an propagate encoding errors.
|
2019-01-06 15:19:58 +10:30 |
scruzin
|
81b92b2302
|
All rmtp functions now return an error (or nothing), except for C_RTMP_IsConnected() which now returns a bool instead of an int.
|
2019-01-06 14:42:51 +10:30 |
scruzin
|
b7871cb2f2
|
Prefix errors with rtmp:
|
2019-01-06 12:06:16 +10:30 |
scruzin
|
26157f47a2
|
Refactored C_ReadN() to use io.ReadFull() and removed now obsolete RTMPSockBuf_Fill().
|
2019-01-06 10:11:31 +10:30 |
scruzin
|
be1610b67f
|
Use unsigned ints for timeouts.
|
2019-01-06 09:37:21 +10:30 |
scruzin
|
e173153ca6
|
Use Go errors for C_RTMP_ParseURL, C_RTMP_SetupURL, C_RTMP_Connect1, and C_RTMP_ConnectStream.
|
2019-01-06 09:20:32 +10:30 |
scruzin
|
4d767f106c
|
Make for Go idiomatic.
|
2019-01-06 08:25:46 +10:30 |
scruzin
|
513b84ad87
|
Further cleaned up sockets related code.
|
2019-01-05 23:13:19 +10:30 |
Dan Kortschak
|
f61bd0a193
|
rtmp: use std net for connections
|
2018-09-30 18:59:01 +09:30 |
Dan Kortschak
|
fcfdd69b8e
|
rtmp: remove unsafe use from rtmp.go
|
2018-09-26 17:06:06 +09:30 |
Dan Kortschak
|
9c72a93763
|
rtmp: replace first half of C_RTMP_SendPacket pointer walk with index walk
|
2018-09-26 16:01:16 +09:30 |
Dan Kortschak
|
d101946cfe
|
rtmp: attempt to find some clarity of flow
|
2018-09-26 15:06:50 +09:30 |
Dan Kortschak
|
b054ab103f
|
rtmp: prepare for the horror of walking backwards
|
2018-09-26 14:52:07 +09:30 |
Dan Kortschak
|
ac15477af1
|
rtmp: remove http-specific code
|
2018-09-26 14:39:46 +09:30 |
Dan Kortschak
|
5203982233
|
rtmp: remove direct unsafe use in C_RTMP_SendPacket
|
2018-09-26 14:37:53 +09:30 |
Dan Kortschak
|
dc040ccf9c
|
rtmp: simplify C_RTMP_SendPacket
|
2018-09-26 14:07:54 +09:30 |