I have noticed that hiding the showSettingsButton or the showMicButton seems to have no effect.
This is the code I have used:
- Code: Select all
var style = {
buttonDisplayMode: "off",
nameDisplayMode: "off",
showMicButton: false,
showCameraToggleButton: false,
showSettingsButton: false
}
_publisher.setStyle(style);
In the console I can see that the modification is processd by the publisher object:
- Code: Select all
[DEBUG] opentok: Publisher.setStyle: showMicButton
[DEBUG] opentok: setStyle::Setting showMicButton to false
[DEBUG] opentok: Publisher.setStyle: showSettingsButton
[DEBUG] opentok: setStyle::Setting showSettingsButton to false
However, the mic button and the settings button are still displayed in the lower right corner of the publisher object.
Somehow the changes of the style are ignored... is this a bug?
Thanks
Consatntin