mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-18 01:28:42 +00:00
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
a687274308
commit
7e1aad02b2
@ -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…
x
Reference in New Issue
Block a user