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

Adjusting the size of mixed video in intel OWT

BinuMathai
Beginner
411 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
309 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'
	}
]
Reply