mirror of https://bitbucket.org/ausocean/av.git
Simplified C_RTMP_IsConnected().
This commit is contained in:
parent
c7b96f1c31
commit
474642f53b
|
@ -236,10 +236,7 @@ func C_RTMP_EnableWrite(r *C_RTMP) {
|
|||
// int RTMP_IsConnected(RTMP *r);
|
||||
// rtmp.c +363
|
||||
func C_RTMP_IsConnected(r *C_RTMP) bool {
|
||||
if r.m_sb.conn != nil {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
return r.m_sb.conn != nil
|
||||
}
|
||||
|
||||
// void RTMP_SetBufferMS(RTMP *r, int size);
|
||||
|
|
Loading…
Reference in New Issue