yutopp
|
07fc76d5fb
|
Merge pull request #25 from yutopp/feature/fix_bench_and_improve_performace
Use io.Reader instead of []byte for all cases
|
2018-10-05 22:27:49 +09:00 |
|
yutopp
|
dd87fb56cc
|
Use io.Reader instead of []byte for Command/DataMessage
|
2018-10-05 21:53:07 +09:00 |
|
yutopp
|
ed0b9a3a27
|
Reduce memory copies for Audio/Video packets. Add/Fix tests
|
2018-10-05 20:59:56 +09:00 |
|
yutopp
|
21fdf81131
|
Use message.Encoder/Decoder caches(And change interfaces). Fix benchmarks(now, show correct costs...)
|
2018-10-05 17:21:35 +09:00 |
|
yutopp
|
b87565f137
|
Add bench for various sized video messages
|
2018-10-05 16:58:41 +09:00 |
|
yutopp
|
d1f7c6a55a
|
Add tests. Fix dataraces. Add timeouts to streamer. Fix interface of Dial. Refactoring(handlers). etc
|
2018-09-30 02:57:19 +09:00 |
|
yutopp
|
f263bf8020
|
Support CreateStream on client side
|
2018-09-29 17:43:01 +09:00 |
|
yutopp
|
e2cd28edbb
|
Merge DataMessage(AMF0|AMF3) into DataMessage. etc
|
2018-09-29 16:44:30 +09:00 |
|
yutopp
|
60dcc4097a
|
Rename StreamFragment to ChunkMessage. Fix streams interface, return *Stream instead of StreamID. etc
|
2018-09-29 13:32:31 +09:00 |
|
yutopp
|
134d033927
|
Provide *Conn args to Handler.OnServe
|
2018-09-27 06:11:04 +09:00 |
|
yutopp
|
9ef592894f
|
Merge pull request #22 from yutopp/feature/client_support
[WIP] Support RTMP client.
|
2018-09-27 06:06:44 +09:00 |
|
yutopp
|
ce57bc5360
|
Rename message.ComposeAMFMessage to message.EncodeBodyAnyValues
|
2018-09-27 06:05:07 +09:00 |
|
yutopp
|
6df98bf75a
|
Use chunkStreamID instead of csID
|
2018-09-27 06:01:19 +09:00 |
|
yutopp
|
9a71efda61
|
[WIP] Support sync style RTMP client. Add transaction management. Support pluggable cmd/data body encoder/decoder. [WIP] Add a client demo. etc
|
2018-09-27 05:54:49 +09:00 |
|
yutopp
|
9b52215ac9
|
Add support client side handshaking
|
2018-09-27 00:46:25 +09:00 |
|
yutopp
|
2cba672397
|
Fix interface of ServerConfig. Now, HandlerFactory is renamed to OnConnect and returns *ConnConfig. Some options like Handler and Logger are moved into *ConnConfig from ServerConfig.Conn
|
2018-09-27 00:45:22 +09:00 |
|
yutopp
|
b143dd00c5
|
Add Dial and DialWithDialier
|
2018-08-24 00:55:49 +09:00 |
|
yutopp
|
d5ec2662b1
|
Support timeout by newConn by default. Move configs for timeout from ServerConfig to ConnConnfig
|
2018-08-24 00:55:29 +09:00 |
|
yutopp
|
d520de3a82
|
Make strings into enum
|
2018-08-24 00:53:48 +09:00 |
|
yutopp
|
191e9afa26
|
Reference *Conn in entryHandler instead of some args
|
2018-08-24 00:23:27 +09:00 |
|
yutopp
|
83c86ef9e8
|
Move server-side specific features to serverConn. Discard logs by default
|
2018-08-24 00:09:09 +09:00 |
|
yutopp
|
d396d15c6a
|
Make NewConn to private. Move some initializations to newConn
|
2018-08-23 23:39:38 +09:00 |
|
yutopp
|
0531d96ca7
|
Fix comments
|
2018-08-21 23:13:18 +09:00 |
|
yutopp
|
996a37404b
|
Divide handlers per states. Call callbacks for unknown messages correctly. etc
|
2018-08-21 23:09:37 +09:00 |
|
yutopp
|
ea5d95849e
|
Change parameter names in Handler
|
2018-08-16 20:42:24 +09:00 |
|