Comments (4)
The web iFrame API is more advanced than the mobile SDKs and allows users to use executeCommand to overwrite the config.js. According to the web iFrame doc, interfaceConfigOverwrite can only be set at the launch of a meeting using new JitsiMeetExternalAPI() and not dynamically.
To see the limitation of the mobile SDKs, see the two commands available on Android, which are 1) join, and 2) dispose. https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-android-sdk#jitsimeetview
The iOS offers a few more commands but those are not used to change the interface on-the-fly. https://jitsi.github.io/handbook/docs/dev-guide/dev-guide-ios-sdk#jitsimeetview-class
I offer customization service for the UI interface of the mobile SDKs. Let me know if I can be of help. My customization is only for static customization and not for on-the-fly UI customization.
For the web IFrame interface customization, you need to be hosting your own server so you can edit the core files such as config.js / interface_config.js. see jitsi/jitsi-meet#7354 (comment)
from capacitor-jitsi-meet.
Can I modify the interface configuration before initializing a meeting?
For instance, in the iFrame API, we're able to configure settings and incorporate interfaceConfigOverwrite using various variables for customizing the toolbar.
We have the capability to enable or disable toolbar functionalities like the microphone, camera, and hangup, among others. You can refer to this link: "https://github.com/jitsi/jitsi-meet/blob/master/interface_config.js"
Here's an example code snippet:
jitsiOptions: {
configOverwrite: {
enableNoisyMicDetection: true,
startAudioOnly: this.appointment.type === 1, // If the appointment is a VOICE CALL, start with audio only
enableWelcomePage: false,
enableClosePage: true,
prejoinConfig: {
enabled: false,
},
},
interfaceConfigOverwrite: {
APP_NAME: "APP NAME HERE",
DEFAULT_LOGO_URL: 'DEFAULT LOGO HERE',
SHOW_BRAND_WATERMARK: false,
SHOW_JITSI_WATERMARK: false,
SHOW_WATERMARK_FOR_GUESTS: false,
SHOW_CHROME_EXTENSION_BANNER: false,
MOBILE_APP_PROMO: false,
SHOW_PROMOTIONAL_CLOSE_PAGE: false,
TOOLBAR_BUTTONS: [
'microphone',
this.appointment.type === 1 ? '' : 'camera', // If the appointment is a VOICE CALL, disable the camera button
'closedcaptions', 'fullscreen', 'fodeviceselection', 'hangup', 'tileview', 'select-background'
]
},
preferredTranscribeLanguage: 'en-US',
apiLogLevels: 'error',
}
This code illustrates how to modify the interface configuration before starting a Jitsi Meet session, along with various customization options.
Can we do that in Mobile SDK? Can we set toolbar options dynamically before starting the meeting?
PS: I am using a Self-Hosted solution, so I can overwrite the interface configuration on the server side. Also, I need to set the toolbar if the meet type is "Voice Only".
from capacitor-jitsi-meet.
I found a solution to make the toolbox button change dynamically before joining the meeting.
There are 'featureFlags', we can enable/disable the Camera button with the 'video-mute.enabled' param.
You can check all flags at: https://github.com/jitsi/jitsi-meet/blob/master/react/features/base/flags/constants.ts
from capacitor-jitsi-meet.
Yes, my plugin supports the featureFlags configuration in the joinConference() method.
https://github.com/calvinckho/capacitor-jitsi-meet#usage
from capacitor-jitsi-meet.
Related Issues (20)
- Cannot restart conference HOT 2
- Documentation issue iOS HOT 1
- Joining a 8x8 room from android results in empty room HOT 1
- Video call continues in background when user is kicked out from server HOT 3
- sdk customization
- Capacitor 6.0 support HOT 4
- PIP in app HOT 5
- dosc(ios): new step needed for Xcode 14 HOT 3
- Default NPM installation version still 2.3.0 HOT 1
- Screen sharing is not working between web and mobile HOT 7
- its is not working ionic 6 HOT 4
- Update to Jitsi Meet SDK 7 HOT 3
- Error when opening Jitsi Android HOT 2
- Video/Audio/Chat Not Working But Participants Connect HOT 1
- Language Option HOT 4
- app:processDebugResources FAILED run android error capacitor plugin HOT 6
- Log in as a moderator pop up HOT 1
- Builds constantly require re-signing the Plugin code HOT 2
- Suggested Documentation Additions - meet.jitsi.si not suitable for production use HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from capacitor-jitsi-meet.