mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-02 14:48:22 +00:00
FS-7236 #resolve
This commit is contained in:
parent
556cb5c096
commit
27c8622eab
@ -8958,6 +8958,8 @@ SWITCH_STANDARD_APP(conference_auto_function)
|
|||||||
|
|
||||||
static int setup_media(conference_member_t *member, conference_obj_t *conference)
|
static int setup_media(conference_member_t *member, conference_obj_t *conference)
|
||||||
{
|
{
|
||||||
|
switch_mutex_lock(member->audio_out_mutex);
|
||||||
|
|
||||||
switch_codec_implementation_t read_impl = { 0 };
|
switch_codec_implementation_t read_impl = { 0 };
|
||||||
switch_core_session_get_read_impl(member->session, &read_impl);
|
switch_core_session_get_read_impl(member->session, &read_impl);
|
||||||
|
|
||||||
@ -9052,6 +9054,8 @@ static int setup_media(conference_member_t *member, conference_obj_t *conference
|
|||||||
goto codec_done1;
|
goto codec_done1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switch_mutex_unlock(member->audio_out_mutex);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
codec_done1:
|
codec_done1:
|
||||||
@ -9060,6 +9064,8 @@ static int setup_media(conference_member_t *member, conference_obj_t *conference
|
|||||||
switch_core_codec_destroy(&member->write_codec);
|
switch_core_codec_destroy(&member->write_codec);
|
||||||
done:
|
done:
|
||||||
|
|
||||||
|
switch_mutex_unlock(member->audio_out_mutex);
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user