fix(Toolbar.js): hide recording and SIP buttons from the start

This commit is contained in:
paweldomas 2016-11-28 09:26:34 -06:00
parent 09406bfbfc
commit 6669a96fd8
1 changed files with 6 additions and 2 deletions

View File

@ -255,7 +255,9 @@ const defaultToolbarButtons = {
'recording': { 'recording': {
id: 'toolbar_button_record', id: 'toolbar_button_record',
tooltipKey: 'liveStreaming.buttonTooltip', tooltipKey: 'liveStreaming.buttonTooltip',
className: 'button' className: 'button',
hidden: true // will be displayed once
// the recording functionality is detected
}, },
'sharedvideo': { 'sharedvideo': {
id: 'toolbar_button_sharedvideo', id: 'toolbar_button_sharedvideo',
@ -270,7 +272,9 @@ const defaultToolbarButtons = {
'sip': { 'sip': {
id: 'toolbar_button_sip', id: 'toolbar_button_sip',
tooltipKey: 'toolbar.sip', tooltipKey: 'toolbar.sip',
className: 'button icon-telephone' className: 'button icon-telephone',
hidden: true // will be displayed once
// the SIP calls functionality is detected
}, },
'dialpad': { 'dialpad': {
id: 'toolbar_button_dialpad', id: 'toolbar_button_dialpad',