Skip to main content

Other Methods

Update media resolution at runtime

Camera

meeting.self.updateVideoConstraints(resolution)

Example

meeting.self.updateVideoConstraints({
width: { ideal: 1920 },
height: { ideal: 1080 },
});

Screenshare

meeting.self.updateScreenshareConstraints(resolution)

Example

meeting.self.updateScreenshareConstraints({
width: { ideal: 1920 },
height: { ideal: 1080 },
});

Pinning & unpinning

You can pin or unpin yourself given you have the appropriate permissions. You can check the pinned status of the local user using meeting.isPinned.

meeting.self.pin();
meeting.self.unpin();