Commit Graph

23 Commits

Author SHA1 Message Date
yutopp ed0b9a3a27 Reduce memory copies for Audio/Video packets. Add/Fix tests 2018-10-05 20:59:56 +09:00
yutopp 134d033927 Provide *Conn args to Handler.OnServe 2018-09-27 06:11:04 +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 ea5d95849e Change parameter names in Handler 2018-08-16 20:42:24 +09:00
yutopp 770c9068a2 Add callbacks for unknown messages 2018-08-16 20:06:06 +09:00
yutopp d123b78989 Support OnPlay handler 2018-07-28 17:51:12 +09:00
yutopp a5f1c9df3c Support releaseStream, FCPublish, FCUnpublish (Fix #4) 2018-07-27 19:20:00 +09:00
yutopp fbdd1df571 Fix #15 2018-07-27 18:38:37 +09:00
yutopp b46e5b2883 Now message.NetStreamDeleteStream messages are passed to Handler 2018-07-14 21:13:36 +09:00
yutopp 0e3c8855c2 Rename OnInit to OnServe and reduce args 2018-07-13 19:10:21 +09:00
yutopp 6d090d6e92 Add OnInit handler callback to notify the Conn instance 2018-07-12 21:43:14 +09:00
yutopp 0bd4bc2868 Fix #11 2018-07-10 00:27:30 +09:00
yutopp a105d38dd0 change interfaces of setting handles and loggers 2018-07-06 21:52:07 +09:00
yutopp 205da81ff5 add OnCreateStream to handler 2018-07-06 21:39:07 +09:00
yutopp ecaa001aa4 implement deleteStream. add tests 2018-07-06 18:48:09 +09:00
yutopp b9120571e3 add OnClose handler 2018-07-02 19:53:32 +09:00
yutopp e1ee45f9c3 add OnSetDataFrame handler 2018-07-02 19:51:25 +09:00
yutopp 5f9b352c18 export state in conn as handlers. net stream and connection values are well typed. add tests 2018-06-11 00:12:29 +09:00
yutopp 10698feb78 divide handler. use raw command objects temporarily 2018-05-31 21:03:04 +09:00
yutopp d3802b127a remove unused codes. add handlers 2018-05-31 20:22:38 +09:00
yutopp 24c94e53d2 change library name from rtmp-go to go-rtmp. add licence. fix flv library path 2018-05-27 20:34:11 +09:00
yutopp 7b221327f4 pass timestamps to handlers 2018-05-25 21:02:21 +09:00
yutopp 25c1e1188f add chunk stream reader/writer. add server conn. add examples 2018-05-25 19:44:56 +09:00