mirror of https://bitbucket.org/ausocean/av.git
Fix typo.
This commit is contained in:
parent
1fe011b5fb
commit
9b7feb4dfc
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue