Commit Graph

  • 456099981d Add AfterClose handler master Luke Street 2020-02-06 10:04:27 -05:00
  • 64bf0cf072 Rewrite import paths for fork Luke Street 2020-01-31 04:06:23 -05:00
  • 36c4101db5 Better playback support & userHandler improvements Luke Street 2020-01-31 03:59:24 -05:00
  • 4e41609a99 Merge pull request #35 from octu0/playback-support yutopp 2019-12-13 00:28:52 +09:00
  • 7e7a1d4c9e add Conn.Write Yusuke Hata 2019-12-12 18:42:41 +09:00
  • e8f8ac1dd6 avoid io.EOF on clients not specify start pos when play() Yusuke Hata 2019-12-12 18:30:26 +09:00
  • c41e2e80b8 Merge pull request #34 from paralin/go-module yutopp 2019-10-08 23:52:12 +09:00
  • 3f0fe2210e Bump Go version to 1.13 in CircleCI Christian Stewart 2019-10-07 04:00:33 -07:00
  • cdfe37bdf8 Fix all linter errors Christian Stewart 2019-10-07 03:57:53 -07:00
  • 8305a133ba Switch to Go modules and add linting Christian Stewart 2019-10-07 03:48:55 -07:00
  • 679b17dc81 Merge pull request #30 from JulienBreux/master yutopp 2019-02-16 02:41:11 +09:00
  • 3902c028de Fix typos Julien Breux 2019-02-14 16:36:15 +01:00
  • 54eb726e76 Add missing logrus import in example Julien Breux 2019-02-14 11:18:26 +01:00
  • cb2d763d2a Merge pull request #28 from koba-e964/koba-e964/support-custom-response yutopp 2019-01-28 16:17:26 +09:00
  • 7bc4ffae79 Rename (ServerInfo -> ResponsePreset) hiroki_kobayashi 2019-01-28 16:09:39 +09:00
  • 3760d02a96 Apply suggestions from code review yutopp 2019-01-28 15:29:35 +09:00
  • a99f206637 Add type ServerInfo, add SInfo entry to ConnConfig hiroki_kobayashi 2019-01-23 13:09:31 +09:00
  • e80644d81d Merge pull request #27 from yutopp/feature/fix_ci yutopp 2019-01-19 23:59:42 +09:00
  • 1cb136f44d Add a config for nightly build yutopp 2019-01-19 23:52:32 +09:00
  • dd205fc567 Change stream interfaces to take a body of command. Add Publish function. Add tests yutopp 2018-12-06 15:14:40 +09:00
  • a30e24e864 Use same data when sending Connect results yutopp 2018-11-23 16:21:08 +09:00
  • 1e9de6771d Reuse buffers and comment out logs to reduce memory allocations yutopp 2018-10-17 19:24:25 +09:00
  • 0f018b5ec1 Remove closer of chunk_stream_reader. etc yutopp 2018-10-17 18:42:21 +09:00
  • bbffa09a05 Use uint32 instead of uint64 for timestamp in chunks yutopp 2018-10-17 17:52:12 +09:00
  • 60d6d16ffc examples: Copy flv buffers to calculate body size yutopp 2018-10-17 17:39:22 +09:00
  • 3980ffb53d Update deps yutopp 2018-10-17 17:25:37 +09:00
  • 88fc779ec3 Split modules for bitrate limitation and timeout management yutopp 2018-10-17 17:13:48 +09:00
  • 07fc76d5fb Merge pull request #25 from yutopp/feature/fix_bench_and_improve_performace yutopp 2018-10-05 22:27:49 +09:00
  • dd87fb56cc Use io.Reader instead of []byte for Command/DataMessage yutopp 2018-10-05 21:53:07 +09:00
  • ed0b9a3a27 Reduce memory copies for Audio/Video packets. Add/Fix tests yutopp 2018-10-05 20:59:56 +09:00
  • 21fdf81131 Use message.Encoder/Decoder caches(And change interfaces). Fix benchmarks(now, show correct costs...) yutopp 2018-10-05 17:21:35 +09:00
  • b87565f137 Add bench for various sized video messages yutopp 2018-10-05 16:58:41 +09:00
  • d1f7c6a55a Add tests. Fix dataraces. Add timeouts to streamer. Fix interface of Dial. Refactoring(handlers). etc yutopp 2018-09-30 02:57:19 +09:00
  • f263bf8020 Support CreateStream on client side yutopp 2018-09-29 17:43:01 +09:00
  • e2cd28edbb Merge DataMessage(AMF0|AMF3) into DataMessage. etc yutopp 2018-09-29 16:26:06 +09:00
  • 60dcc4097a Rename StreamFragment to ChunkMessage. Fix streams interface, return *Stream instead of StreamID. etc yutopp 2018-09-29 13:32:31 +09:00
  • 134d033927 Provide *Conn args to Handler.OnServe yutopp 2018-09-27 06:11:04 +09:00
  • 9ef592894f Merge pull request #22 from yutopp/feature/client_support yutopp 2018-09-27 06:06:44 +09:00
  • ce57bc5360 Rename message.ComposeAMFMessage to message.EncodeBodyAnyValues yutopp 2018-09-27 06:05:07 +09:00
  • 6df98bf75a Use chunkStreamID instead of csID yutopp 2018-09-27 06:01:19 +09:00
  • 9a71efda61 [WIP] Support sync style RTMP client. Add transaction management. Support pluggable cmd/data body encoder/decoder. [WIP] Add a client demo. etc yutopp 2018-09-27 05:54:49 +09:00
  • 9b52215ac9 Add support client side handshaking yutopp 2018-09-27 00:46:25 +09:00
  • 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 yutopp 2018-09-27 00:45:22 +09:00
  • b143dd00c5 Add Dial and DialWithDialier yutopp 2018-08-24 00:55:49 +09:00
  • d5ec2662b1 Support timeout by newConn by default. Move configs for timeout from ServerConfig to ConnConnfig yutopp 2018-08-24 00:55:29 +09:00
  • d520de3a82 Make strings into enum yutopp 2018-08-24 00:53:48 +09:00
  • 191e9afa26 Reference *Conn in entryHandler instead of some args yutopp 2018-08-24 00:23:27 +09:00
  • 83c86ef9e8 Move server-side specific features to serverConn. Discard logs by default yutopp 2018-08-24 00:09:09 +09:00
  • d396d15c6a Make NewConn to private. Move some initializations to newConn yutopp 2018-08-23 23:39:38 +09:00
  • 0531d96ca7 Fix comments yutopp 2018-08-21 23:13:18 +09:00
  • 996a37404b Divide handlers per states. Call callbacks for unknown messages correctly. etc yutopp 2018-08-21 23:09:37 +09:00
  • ea5d95849e Change parameter names in Handler yutopp 2018-08-16 20:42:24 +09:00
  • 770c9068a2 Add callbacks for unknown messages yutopp 2018-08-16 20:06:06 +09:00
  • f58d590c0a Add a parser for closeStream message yutopp 2018-08-16 19:34:02 +09:00
  • 8dcff961f5 Add a parser for ping message yutopp 2018-08-16 19:31:44 +09:00
  • 1518796cf7 Add tests for amf message parser yutopp 2018-08-16 19:23:14 +09:00
  • b2aa1b2342 Suppress log outputs yutopp 2018-08-16 18:45:06 +09:00
  • 4fd94ce8c7 Add options to ignore messages on not exist streams yutopp 2018-08-16 18:32:47 +09:00
  • a65400b907 Fix order of methods yutopp 2018-08-16 18:09:46 +09:00
  • 9c74203cc6 Add comments yutopp 2018-08-16 18:09:36 +09:00
  • 4057118907 Return error responses at NetStream yutopp 2018-08-16 18:09:23 +09:00
  • 6c70c14534 Return error responses at NetConnection yutopp 2018-08-16 17:33:07 +09:00
  • 94ff0d369d Rename AMFType to EncodingType. Fix typo. Support objectEncoding fields in NetConnectionConnect yutopp 2018-08-16 16:27:00 +09:00
  • 0f8c539497 Add well typed write methods to Stream yutopp 2018-08-16 16:02:23 +09:00
  • 90d14f2c0d Fix log level. use const to specify a chunk stream ID for Ack messages yutopp 2018-08-15 17:46:44 +09:00
  • 210b456b78 Fix misc yutopp 2018-08-13 19:02:31 +09:00
  • 969879b499 Fix bug: deadlock happens when multiple writing chunks are exist yutopp 2018-08-09 21:11:02 +09:00
  • 2ee7a7d36f define chunk stream id for low-level control messages yutopp 2018-08-09 19:57:34 +09:00
  • 705fe0864a Add Close method to Server yutopp 2018-08-09 17:27:56 +09:00
  • b031d78049 Send an ordered _result message. Send a begin stream message. Fix chunk stream ids in a connect phase yutopp 2018-08-05 01:29:00 +09:00
  • 587df76d16 Update deps yutopp 2018-08-04 23:06:39 +09:00
  • 552d9a7ed1 Merge pull request #19 from yutopp/feature/performance_01 yutopp 2018-07-30 01:35:24 +09:00
  • 3308ce9b7c Reduce memory allocations yutopp 2018-07-30 01:33:34 +09:00
  • 0ad2f12231 Remove dependencies for conn from handlers yutopp 2018-07-29 20:29:59 +09:00
  • 766dbe4363 Merge pull request #16 from yutopp/feature/support_basic_play_messages yutopp 2018-07-28 17:54:44 +09:00
  • d123b78989 Support OnPlay handler yutopp 2018-07-28 17:51:12 +09:00
  • b0ac778278 Support add UserCtrlEvent messages yutopp 2018-07-28 17:40:33 +09:00
  • d75f27fc26 Add getStreamLength yutopp 2018-07-28 16:39:03 +09:00
  • 5842738abe Add play command yutopp 2018-07-28 16:35:12 +09:00
  • f94e4fba39 Extend net_connnection_connect message fields yutopp 2018-07-28 16:27:24 +09:00
  • a5f1c9df3c Support releaseStream, FCPublish, FCUnpublish (Fix #4) yutopp 2018-07-27 19:20:00 +09:00
  • fbdd1df571 Fix #15 yutopp 2018-07-27 18:38:37 +09:00
  • d4b518139f go fmt yutopp 2018-07-27 18:38:12 +09:00
  • afac7bd1cf Merge pull request #14 from yutopp/feature/reduce_memory_usage_01 yutopp 2018-07-23 20:41:10 +09:00
  • df93652477 Use raw cache buffer instead of using sync.Pool yutopp 2018-07-23 20:40:22 +09:00
  • 50b1f1fad8 Reduce memory usage. Add benchs yutopp 2018-07-23 20:31:34 +09:00
  • e741d9894b Add bench subcommand yutopp 2018-07-23 20:31:14 +09:00
  • 770ab5051b Fix #13 yutopp 2018-07-19 22:11:04 +09:00
  • 9922da60c6 Add string representation for handler states yutopp 2018-07-18 21:13:21 +09:00
  • 986268d619 Handle SetChunkSize and WinAckSize anytime on control streams. Improve logs yutopp 2018-07-18 21:10:15 +09:00
  • b6cb5898fa Update deps yutopp 2018-07-18 21:06:03 +09:00
  • ae67edcf33 Fix sending ack timing yutopp 2018-07-18 20:39:53 +09:00
  • 22aef0a2d0 Improve log information. Fix message handling location yutopp 2018-07-18 20:27:21 +09:00
  • f7db52766a Add message streams limitations yutopp 2018-07-17 21:44:18 +09:00
  • 5b2524c577 Add tests to check chunk streams limitation yutopp 2018-07-17 21:38:36 +09:00
  • cc6f891b37 Support limitations for number of chunk streams yutopp 2018-07-16 22:32:53 +09:00
  • 0d8aeea32e Reduce new calls yutopp 2018-07-16 22:22:50 +09:00
  • f208471870 Merge pull request #12 from yutopp/feature/fix_goroutine_leaks yutopp 2018-07-15 04:48:20 +09:00
  • 06e596ff88 Add a test to check goroutine leaks yutopp 2018-07-15 04:47:00 +09:00
  • 4de1437ca2 Change type of chan yutopp 2018-07-15 04:45:56 +09:00