Commit Graph

46 Commits

Author SHA1 Message Date
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 ce57bc5360 Rename message.ComposeAMFMessage to message.EncodeBodyAnyValues 2018-09-27 06:05:07 +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 f58d590c0a Add a parser for closeStream message 2018-08-16 19:34:02 +09:00
yutopp 8dcff961f5 Add a parser for ping message 2018-08-16 19:31:44 +09:00
yutopp 1518796cf7 Add tests for amf message parser 2018-08-16 19:23:14 +09:00
yutopp 4057118907 Return error responses at NetStream 2018-08-16 18:09:23 +09:00
yutopp 94ff0d369d Rename AMFType to EncodingType. Fix typo. Support objectEncoding fields in NetConnectionConnect 2018-08-16 16:27:00 +09:00
yutopp b031d78049 Send an ordered _result message. Send a begin stream message. Fix chunk stream ids in a connect phase 2018-08-05 01:29:00 +09:00
yutopp b0ac778278 Support add UserCtrlEvent messages 2018-07-28 17:40:33 +09:00
yutopp d75f27fc26 Add getStreamLength 2018-07-28 16:39:03 +09:00
yutopp 5842738abe Add play command 2018-07-28 16:35:12 +09:00
yutopp f94e4fba39 Extend net_connnection_connect message fields 2018-07-28 16:27:24 +09:00
yutopp a5f1c9df3c Support releaseStream, FCPublish, FCUnpublish (Fix #4) 2018-07-27 19:20:00 +09:00
yutopp d4b518139f go fmt 2018-07-27 18:38:12 +09:00
yutopp df93652477 Use raw cache buffer instead of using sync.Pool 2018-07-23 20:40:22 +09:00
yutopp 50b1f1fad8 Reduce memory usage. Add benchs 2018-07-23 20:31:34 +09:00
yutopp 770ab5051b Fix #13 2018-07-19 22:11:04 +09:00
yutopp d1ddc7ab02 Change WinAckSize to signed int32 2018-07-14 21:08:04 +09:00