rtmp: Use a net.Conn interface instead of *net.TCPConn.

This commit is contained in:
scruzin 2019-02-02 12:23:20 +10:30
parent ea89e7a5af
commit ead135496a
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ type link struct {
protocol int32 protocol int32
timeout uint timeout uint
port uint16 port uint16
conn *net.TCPConn conn net.Conn
} }
// method represents an RTMP method. // method represents an RTMP method.