captionsFontSizeChanged
When the user changes the captions font size from the settings inside the room, then the captionsFontSizeChanged event will be emitted.
Sample payload
{
"type": "captionsFontSizeChanged",
"data": {
"fontSize": "large"
}
}
Sample subscription code
sambaFrame.on('captionsFontSizeChanged', (event) => {
const data = event.data;
//Possible values for "fontSize" field are "small", "medium" and "large"
console.log('Captions font size has been changed to', data.fontSize);
});
Last updated