Using my C_RTMP_IsConnected - tested and working

This commit is contained in:
saxon 2018-08-10 22:20:11 +09:30
parent ed536b2cdd
commit 44187cdc22
1 changed files with 2 additions and 2 deletions

View File

@ -419,8 +419,8 @@ func (s *session) Write(data []byte) (int, error) {
return 0, Err(3) return 0, Err(3)
} }
// if C_RTMP_IsConnected(s.rtmp) == 0 { if C_RTMP_IsConnected(s.rtmp) == 0 {
if C.RTMP_IsConnected(s.rtmp) == 0 { //if C.RTMP_IsConnected(s.rtmp) == 0 {
return 0, Err(1) return 0, Err(1)
} }