Closed vovanb closed 3 months ago
Hello @vovanb
To skip the preview dialog and automatically join a group call, you can utilize the skipSetupScreen
property of the CommunicationLocalDataOptionProxy
class. Set skipSetupScreen
to true
to bypass the preview dialog and directly join the call.
Here's an example of how to use it:
let localDataOption = CommunicationLocalDataOptionProxy()
localDataOption.skipSetupScreen = true
// Set other properties as needed, such as turning on the microphone and camera
localDataOption.microphoneOn = true
localDataOption.cameraOn = true
// Pass the local data options when joining the call
yourCommunicationManager.joinGroupCall(localDataOption)
By setting skipSetupScreen
to true
, the user will automatically join the group call without seeing the preview dialog.
Hope this helps! Let me know if you have any further questions.
Thanks Shauna
@ShaunaSong thanks for example, but where in CommunicationCallingSampleMauiApp i can customize joinGroupCall? for example in ...\CommunicationCallingSampleMauiApp\Platforms\Android\Composite.cs used below callComposite.Launch(MainActivity.Instance, remoteOptions, new CallCompositeLocalOptions(personaData)); So will apreciate if you will provide example relevant to your sample application
@ShaunaSong any chance to get answer?
Hi @vovanb, please look at https://github.com/Azure-Samples/communication-services-ui-library-maui/blob/main/CommunicationCallingSampleMauiApp/JoinCallPage.xaml.cs
_callControlProps.isSkipSetupON = false;
thanks it is working now with release 1.8
Could you help how to skip preview dialog and join group call - similar to press join call button click on preview dialog