mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-05-11 09:57:16 +00:00
add on to last commit
This commit is contained in:
parent
bd4a0d8cbc
commit
5375d8b643
@ -3923,9 +3923,12 @@ static void *SWITCH_THREAD_FUNC conference_loop_input(switch_thread_t *thread, v
|
|||||||
member->last_score = member->score;
|
member->last_score = member->score;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loops++;
|
||||||
|
|
||||||
if (switch_channel_test_flag(member->channel, CF_CONFERENCE_RESET_MEDIA)) {
|
if (switch_channel_test_flag(member->channel, CF_CONFERENCE_RESET_MEDIA)) {
|
||||||
switch_channel_clear_flag(member->channel, CF_CONFERENCE_RESET_MEDIA);
|
switch_channel_clear_flag(member->channel, CF_CONFERENCE_RESET_MEDIA);
|
||||||
if (++loops > 500) {
|
|
||||||
|
if (loops > 500) {
|
||||||
member->loop_loop = 1;
|
member->loop_loop = 1;
|
||||||
|
|
||||||
if (setup_media(member, member->conference)) {
|
if (setup_media(member, member->conference)) {
|
||||||
@ -7056,8 +7059,6 @@ static switch_status_t conf_api_sub_file_vol(conference_obj_t *conference, switc
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("WTF %p %p\n", (void *) conference, (void *) fnode);
|
|
||||||
|
|
||||||
if (fnode && fnode->type == NODE_TYPE_FILE) {
|
if (fnode && fnode->type == NODE_TYPE_FILE) {
|
||||||
fnode->fh.vol = vol;
|
fnode->fh.vol = vol;
|
||||||
ok = 1;
|
ok = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user