setSettings
setSettings
Description: configure TrueConf Room API settings.
All settings are global which means that they apply to the entire application and do not depend on the authorized user.
Request example:
{
"method" : "setSettings",
"requestId" : "1",
"settings" : {
"audioPlayLevel" : 0.55,
"enableAutologin" : true,
"disableSleepModeWhenContent" : true
}
}Response example:
{
"method" : "setSettings",
"requestId" : "1",
"result" : true
}Parameter description:
aecEnableβ the flag indicating if echo cancellation is enabledagcEnableβ the flag indicating if automatic gain control is enabledappShowUserNameLabelsβ the flag indicating if usersβ display names will be shown in the video layoutaudioCapturerLevelβ the audio capture level. It is a read-only property if automatic gain control is enabledaudioPlayLevelβ Audio playback levelautoAcceptβ Accept calls and invitations automaticallyautoAcceptPodiumFromOwner- flag for automatically accepting an invitation TrueConf Room API to the podium in a moderated role-based conferenceautoAllowPartToTakePodium- flag for automatic podium taking in asmart meetingfor participants when TrueConf Room API is the ownerbestQualityForHttpServerImagesβ Flag for receiving images from the HTTP server with enhanced qualitycameraRemoteControlAccess- behavior upon an incoming remote camera control request TrueConf Room API. It can be:0β Allow for all automatically1β Ask permission every time2β Always forbidden
changeUserAuthPinAfterConfβ change a userβs PIN for authorization after each conference sessiondefaultMultiConfMatrixβ Default layout for a group conference. It can be as follows:0β Show only one window. If there are more windows in the list, the first one will be shown.1β All windows are the same size.2β One window is large (in the upper left corner), other smaller windows are placed around the large one.3β One large window (in the center at the top), other smaller windows are placed at the bottom.4β One window is large (in the left corner), other smaller windows are placed to the right of the large one.5β One window is large (in the center at the top), other smaller windows are placed at the bottom and can overlap the larger one within reasonable limits.7- one large window (centered at the top) and one small window in the bottom left corner overlaying the large one
defaultP2PMatrix- the default video layout for avideo call. It can be:0β Show only one window. If there are more windows in the list, the first one will be shown.1β All windows are the same size.2β One window is large (in the upper left corner), other smaller windows are placed around the large one.3β One large window (in the center at the top), other smaller windows are placed at the bottom.4β One window is large (in the left corner), other smaller windows are placed to the right of the large one.5β One window is large (in the center at the top), other smaller windows are placed at the bottom and can overlap the larger one within reasonable limits.7- one large window (centered at the top) and one small window in the bottom left corner overlaying the large one
disableSleepModeWhenContent- a flag that prevents entering sleep mode when the video source is contentdefaultOutputSelfVideoRotateAngleβ the default turn angle of the self-view video (specified in degrees). The following values are possible:0,90,180,270.disableSelfViewOnBlind- flag for setting self-view hiding when muting the video capture devicedisplayNameAlignβ the location of display names in video windows. The following values are possible:1- top left2- bottom left3- top right4- bottom right5- top center6- bottom center
enableAutoSwitchWhenContentSourceOff- a flag indicating whether to switch back to the previous video device when the signal source is lost in the current video device.enableAirPlayPassword- a flag indicating whether a password is required for AirPlay connectionenableAutologin- a flag indicating whether to automatically log in when connecting to the server if authorization has already been performed previously.forbidDirectConnectionβ prohibit direct connection in avideo callframesInterval- the spacing size between video slots in the overall video layouthighlightActiveSpeakersβ spotlight active speakers in the layoutinputBandWidth- incoming bandwidth limit in kbps. Acceptable values range from32..20480language- the interface language TrueConf Room API. Options include:"ru"β Russian locale"pl"β Polish locale"en"β English locale"es"β Spanish locale"pt"β Portuguese locale"ko"β Korean locale
outputBandWidth- limitation of the outgoing bandwidth in kbit/s. Acceptable values range from32..20480qrCodeRecognitionβ the flag indicating if real-time QR code scanning is enabled for the current camera; this feature will be needed for automatic processing oftrueconf linksrecord- a setting to allow the recording of media content transmitted from TrueConf Room API duringvideo callsandgroup conferences. It can be:0β do not allow recording to anyone1β always request permission for recording2β allow recording to all contacts from the address book3β allow recording to everyone
rejectCallsNotFromAB- a flag to block incoming calls from users not in the address book TrueConf Room APIrestoreWindowWhenCall- expand the TrueConf Room API window and bring it to the foreground during aconference.selfViewMirror- a flag for mirroring your own video. Applicable only on the client-side. TrueConf Room APIshowCurrentUserWidget- PRO flag indicating whether to display information about the current user in the window TrueConf Room APIshowIncomingRequestWidget- PRO is a flag that indicates the need to display the incoming requests widget in the window. TrueConf Room APIshowInfoConnect- PRO flag indicating the necessity to display the connection information widget in the window. TrueConf Room APIshowInfoWidgets- PRO flag indicating the need to display all informational widgets in the window TrueConf Room APIshowLogo- PRO flag indicating whether the logo should be displayed in the window TrueConf Room APIshowTime- PRO flag indicating whether the time and date should be displayed in the window TrueConf Room APIshowUpcomingMeetings- PRO flag indicating the need to display information about upcoming conferences in the window TrueConf Room APIsideβ Party that has stopped a call. It can be as follows:switchToActiveSpeakerβ move the active speaker to the spotlighted window in the layoutstickToDisplay- a flag indicating that the main window of TrueConf Room API is pinned to the current monitor.requestId- a unique request identifier. You can find more details about it here.hideNonVideoParticipants- hiding video slots from participants who are not sending videoalwaysDisplaySelfView- flag for positioning self-view over the video layout in all types of conferencesallowHIDControl- a flag indicating the status of functionality for working with HID devicesaudioDumpEnable- a flag indicating the need to record audio dumpsuseCustomVadFrameColor- a flag that indicates the need to use a custom frame color for the video slot of active speakers in the video layout. If set, the color will be taken from thecustomVadFrameColorsetting.customVadFrameColor- custom color for the border of the video slot of active speakers in the video layout, which will be used if theuseCustomVadFrameColorsetting is enabled.switchToSharedContentis a setting that automatically changes the video layout when content sharing starts (if it wasn't already active), following the logic specified in thesharedContentBehavioursetting.sharedContentBehaviour- a setting that defines the video layout behavior when content sharing starts (if it wasn't already active), provided theswitchToSharedContentsetting is configured. Available values:0- in the large window of the priority layout1- single window, meaning video layout0- displays only one window. If there are more windows in the list, only the first one will be shown.2- the video slot with content will be moved to a separate monitor, the identifier of which is specified in themonitorIdForSharedContentsetting. If there are multiple video slots with content, the slot whose content arrived last will be displayed on the separate monitor. When using the prioritized window in the active speaker video layout, the content will take precedence. Using this value together with the enabledswitchToSharedContentsetting prevents the execution of the moveVideoSlotToMonitor and removeVideoSlotFromMonitor methods.
monitorIdForSharedContent- the identifier of the monitor where the video slot with content will be displayedmoveActiveSpeakerToMonitor- a flag indicating the necessity to move the active speaker's window to a separate monitor when the active speaker highlight function (switchToActiveSpeakersetting) is enabled in the active speaker's video layout. The monitor to which the slot will be moved is specified by themonitorIdForActiveSpeakersetting. If the same identifier is used for both the active speaker and the content, the content will take priority.monitorIdForActiveSpeaker- the ID of the monitor where the video window of the active speaker will be displayed
See also: