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

Adjusting the size of mixed video in intel OWT

BinuMathai
Beginner
859 Views

In intel OWT, is there an option to change the size of mixed video from 640x480 using API?

0 Kudos
1 Reply
K-OS
Beginner
757 Views

When you are setting up the room, you'll have to describe the view like this:

views: [
	{
		video: {
			layout: {
				templates: { custom: [], base: 'fluid' },
				fitPolicy: 'letterbox'
			},
			keepActiveInputPrimary: false,
			bgColor: { b: 0, g: 0, r: 0 },
			motionFactor: 0.8,
			maxInput: 16,
			parameters: {
				keyFrameInterval: 10,
				framerate: 25,
				resolution: { width: 1280, height: 720 }
			},
			format: { codec: 'vp8'},
		},
		audio: {
			vad: true,
			format: { codec: 'opus', sampleRate: 48000, channelNum: 2 }
		},
		label: 'common'
	}
]
0 Kudos
Reply