Resolve the segfault where the channel is destroyed while it is still receiving audio
Conflicts: src/mod/endpoints/mod_rtmp/rtmp.c
This commit is contained in:
parent
3e1d0318a2
commit
62fb1437d9
|
@ -939,7 +939,6 @@ switch_status_t rtmp_handle_data(rtmp_session_t *rsession)
|
||||||
switch_mutex_unlock(rsession->tech_pvt->readbuf_mutex);
|
switch_mutex_unlock(rsession->tech_pvt->readbuf_mutex);
|
||||||
}
|
}
|
||||||
switch_thread_rwlock_unlock(rsession->rwlock);
|
switch_thread_rwlock_unlock(rsession->rwlock);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case RTMP_TYPE_VIDEO: /* Video data */
|
case RTMP_TYPE_VIDEO: /* Video data */
|
||||||
case RTMP_TYPE_METADATA: /* Metadata */
|
case RTMP_TYPE_METADATA: /* Metadata */
|
||||||
|
|
Loading…
Reference in New Issue