mirror of https://bitbucket.org/ausocean/av.git
Using my C_RTMP_IsConnected - tested and working
This commit is contained in:
parent
ed536b2cdd
commit
44187cdc22
|
@ -419,8 +419,8 @@ func (s *session) Write(data []byte) (int, error) {
|
|||
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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue