Commit Graph

3 Commits

Author SHA1 Message Date
Dan Kortschak 65a4abb24b rtmp: remove unused allocation and copy 2018-06-01 08:25:42 +09:30
Dan Kortschak fb64a47d89 rtmp: fix RTMP* handling 2018-05-30 15:52:33 +09:30
Dan Kortschak 173d7c3879 rtmp: clean up session handling and CGO interface
* Make C compilation arch-independent, including shared lib use and fix
  for broken librtmp include install.
* Provide package-root level makefile for building C lib.
* Remove package global.
* Use Go-idiomatic naming for methods.
* Restucture flow to reduce indentation.
* Use []byte len in place of additional param.
* Use unix-idiomatic return status values.
2018-05-29 15:36:28 +09:30