From 0e34623f0f5bb50adb6d17eed657338c38bfb15b Mon Sep 17 00:00:00 2001 From: scruzin Date: Sat, 2 Feb 2019 12:27:21 +1030 Subject: [PATCH] rtmp: Use a net.Conn interface instead of *net.TCPConn. --- rtmp/conn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtmp/conn.go b/rtmp/conn.go index 3864df98..7e1b3b15 100644 --- a/rtmp/conn.go +++ b/rtmp/conn.go @@ -76,7 +76,7 @@ type link struct { protocol int32 timeout uint port uint16 - conn *net.TCPConn + conn net.Conn } // method represents an RTMP method.