<div>
Hi,
</div><div><br></div><div>What is video-floor-only trying to do in conference? I assume it tries to freeze the floor holder ( and his video) as long as he has video, but in my testing it's not the case, I set the param in the default profile and it seems doesn't make any difference. I tried the following change it looks more clear to me and seems works as what I expected.</div><div><br></div><div><br></div><div><div><div>- if ((!floor_holder || (imember->score_iir > SCORE_IIR_SPEAKING_MAX && (floor_holder->score_iir < SCORE_IIR_SPEAKING_MIN))) &&</div><div>- (!switch_test_flag(conference, CFLAG_VID_FLOOR) || switch_channel_test_flag(channel, CF_VIDEO))) {</div><div>- floor_holder = imember;</div><div>+ if (switch_channel_test_flag(channel, CF_VIDEO)) {</div><div>+ if (!floor_holder) {</div><div>+ floor_holder = imember;</div><div>+ } else if ((imember->score_iir > SCORE_IIR_SPEAKING_MAX) && (floor_holder->score_iir < SCORE_IIR_SPEAKING_MIN) &&</div><div>+ (!switch_test_flag(conference, CFLAG_VID_FLOOR))) {</div><div>+ floor_holder = imember;</div><div>+ }</div><div> }</div></div></div><div><br></div><div><br></div><div>Another thing I found is that in the normal case(without floor-only set), the video changes according to the volume of the speaker fine, but if the floor press 0 to be muted, there's no chance of other members can get the floor, is there a problem?</div><div><br></div><div><br></div><div>Thanks.</div><div><br></div><div><br></div>
<div><div><br></div><div>-- </div><div>About: <a href="http://about.me/dujinfang">http://about.me/dujinfang</a></div><div>Blog: <a href="http://www.dujinfang.com">http://www.dujinfang.com</a></div><div>Proj: <a href="http://www.freeswitch.org.cn">http://www.freeswitch.org.cn</a></div><div><br></div>Sent with <a href="http://www.sparrowmailapp.com">Sparrow</a><br><div><br></div></div>