<div dir="ltr">Hi guys,<div><br></div><div>I am experimenting with mod_conference and video, I have a conference (not in video-bridge mode), I am connecting with 2 clients using SIPjs, my goal is to have video from client1 to client2.</div><div><br></div><div>Here is what I&#39;v tried:</div><div>Assume client1 is the broadcaster while client2 is the receiver. Client1 connects to the conference first, he is floor at this point:</div><div><div>freeswitch@internal&gt; conference list</div><div>Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound)</div><div>1;sofia/internal/anonymous.2po4ni@anonymous.invalid;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0</div></div><div><br></div><div>Now, client2 joins in, as expected, client1 is still floor:</div><div><div>freeswitch@internal&gt; conference list</div><div>Conference 1234-172.30.3.212 (2 members rate: 16000 flags: running|answered|enforce_min|dynamic|exit_sound|enter_sound)</div><div>2;sofia/internal/anonymous.hgbmm4@anonymous.invalid;80a2f38e-decc-11e4-93d3-2391a0614a29;anonymous.hgbmm4;anonymous.hgbmm4;video;0;0;0;0</div><div>1;sofia/internal/anonymous.2po4ni@anonymous.invalid;7c8e7494-decc-11e4-93cd-2391a0614a29;anonymous.2po4ni;anonymous.2po4ni;video|floor;0;0;0;0</div></div><div><br></div><div>No video goes through to client2. Now, if I am setting client2 as floor and then setting back client1 as floor, video start to come in.. And just before the video starts, the log shows that client2&#39;s video DTLS handshake becomes READY:</div><div><div>2015-04-09 15:24:40.391590 [DEBUG] switch_core_media.c:4361 sofia/internal/anonymous.2po4ni@anonymous.invalid Video thread resumed  Echo is off</div><div>2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2923 Changing video DTLS state from HANDSHAKE to SETUP</div><div>2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2831 video Fingerprint Verified.</div><div>2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3373 Activating Video Secure RTP SEND</div><div>2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:3351 Activating Video Secure RTP RECV</div><div>2015-04-09 15:24:41.851825 [INFO] switch_rtp.c:2871 Changing video DTLS state from SETUP to READY</div></div><div><br></div><div>In addition, even before doing the floor toggle to get the video going, I see mod_conference&#39;s video thread doing: <span class="">switch_core_session_write_video_frame(imember-&gt;session, vid_frame, SWITCH_IO_FLAG_NONE, </span><span class="">0</span><span class="">); on line 2991.</span></div><div><span class=""><br></span></div><div><span class="">Something in the video thread seems to delay/lock the video DTLS handshake....</span></div><div><span class=""><br></span></div><div><span class="">Any idea?</span></div><div><span class=""><br></span></div><div><span class="">Thanks!</span></div><div><span class="">Adam</span></div>







</div>