diff --git a/rtmp/rtmp.go b/rtmp/rtmp.go index 5e14c481..d6cde7b6 100644 --- a/rtmp/rtmp.go +++ b/rtmp/rtmp.go @@ -215,15 +215,8 @@ var RTMPProtocolStringsLower = [...]string{ "rtmfp", } -// Session provides an interface for sending flv tags over rtmp. -type Session interface { - Open() error - Write([]byte) (int, error) - Close() error -} - // session provides parameters required for an rtmp communication session. -type session struct { +type Session struct { rtmp *C.RTMP url string timeout uint