Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.
1144 Discussions

Adjusting the size of mixed video in intel OWT

BinuMathai
Beginner
599 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
497 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