diff --git a/rtmp/session.go b/rtmp/session.go index 6f059904..6d1fad40 100644 --- a/rtmp/session.go +++ b/rtmp/session.go @@ -149,7 +149,7 @@ func (s *Session) close() { } // Write writes a frame (flv tag) to the rtmp connection. -//func (s *Session) Write(data []byte) (int, error) { +func (s *Session) Write(data []byte) (int, error) { if !s.isConnected() { return 0, errNotConnected }