Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

3x3 custom layout issue in 3.5

Borenko__Dima
Beginner
541 Views

Hi there,

I'm experiencing issue with 3x3 grid in 3.5 MCU, which I don't think I have seen in previous versions of the product for the same grid.

Here is the option object passed to N.API.createRoom API call, which contains custom layouts:

{mode=hybrid, publishLimit=16, userLimit=32, enableMixing=1, maxInput=16, resolution=hd720p, multistreaming=0, bitrate=2500, r=0, g=0, b=0, base=void, 
custom=[
	region=[
		id=r4_400, left=0, top=0, relativesize=0.25, id=r4_401, left=0, top=0.25, relativesize=0.25, id=r4_402, left=0, top=0.5, relativesize=0.25, id=r4_403, left=0, top=0.75, relativesize=0.25, id=r4_410, left=0.25, top=0, relativesize=0.25, id=r4_411, left=0.25, top=0.25, relativesize=0.25, id=r4_412, left=0.25, top=0.5, relativesize=0.25, id=r4_413, left=0.25, top=0.75, relativesize=0.25, id=r4_420, left=0.5, top=0, relativesize=0.25, id=r4_421, left=0.5, top=0.25, relativesize=0.25, id=r4_422, left=0.5, top=0.5, relativesize=0.25, id=r4_423, left=0.5, top=0.75, relativesize=0.25, id=r4_430, left=0.75, top=0, relativesize=0.25, id=r4_431, left=0.75, top=0.25, relativesize=0.25, id=r4_432, left=0.75, top=0.5, relativesize=0.25, id=r4_433, left=0.75, top=0.75, relativesize=0.25
	],
	region=[
		id=r3_300, left=0, top=0, relativesize=0.3333333333333333, id=r3_301, left=0, top=0.3333333333333333, relativesize=0.3333333333333333, id=r3_302, left=0, top=0.6666666666666666, relativesize=0.3333333333333333, id=r3_310, left=0.3333333333333333, top=0, relativesize=0.3333333333333333, id=r3_311, left=0.3333333333333333, top=0.3333333333333333, relativesize=0.3333333333333333, id=r3_312, left=0.3333333333333333, top=0.6666666666666666, relativesize=0.3333333333333333, id=r3_320, left=0.6666666666666666, top=0, relativesize=0.3333333333333333, id=r3_321, left=0.6666666666666666, top=0.3333333333333333, relativesize=0.3333333333333333, id=r3_322, left=0.6666666666666666, top=0.6666666666666666, relativesize=0.3333333333333333
	],
	region=[
		id=r2_200, left=0, top=0, relativesize=0.5, id=r2_201, left=0, top=0.5, relativesize=0.5, id=r2_210, left=0.5, top=0, relativesize=0.5, id=r2_211, left=0.5, top=0.5, relativesize=0.5
	], 
	region=[
		id=r1_100, left=0, top=0, relativesize=1
	]
], 
avCoordinated=0, audio=null, name=ROOM_NAME}

Here is a frame from mixed stream, illustrating the problem:

3x3_issue_annotated.png

As you can see above, when there are from 5 to 9 participants in a room, MCU picks the 3x3 layout and there is a problem here - mixed stream has a few pixels gaps below the 2nd row and between columns as well.

All other grids - 1x1, 2x2, 4x4 don't have such problem. Here is a sample frame from 4x4 grid (10 participants) from the same room for comparison (no gaps):

4x4 ok 10.png

Is it a known issue with regions flooring in 3.5?

0 Kudos
5 Replies
Qiujiao_W_Intel
Employee
541 Views

Please try fitpolicy with crop to check the effect. or your can try letterbox or crop fitpolicy in version 4.0 to check whether they satisfy your request.  In 3x3 layout case, we adjust the pixel calculation algorithm, so there is black pixel in 3x3 layout in default fitpolicy.

0 Kudos
Bikbaev__Timur1
Beginner
541 Views

Hi Qiujiao, can you help me with example of using fitpolicy? cause this parameter only mentioned in: https://software.intel.com/en-us/webrtc-conference-server-guide-mcu-management-console-brief-guide

and there only brief explanation of this parameter:

view.layout.fitPolicy The fit policy for input that does not perfectly match the width/height ratio
0 Kudos
Bikbaev__Timur1
Beginner
541 Views

Hi again,

ive added to room creation new parameter to layout part:

fitpolicy : 'crop'

but it doesn't hep us. we using MCU 3.5.2 for a moment

0 Kudos
Mark_d_10
Beginner
541 Views

Hi,

Isn't there an overlap because
0.3333333333333333 + 0.6666666666666666 is not 1, but 0.999999999999999

Using
0.333 and 0.667 might work
 

0 Kudos
Qiujiao_W_Intel
Employee
541 Views

You can open http://serverip:3000/console and enter you service key and id to room configuration page to setup. For 4.0 we have different value setting for layout, you can refer to our online document for help.

0 Kudos
Reply