session-settings

Configure CometChat iOS call session settings with SessionSettingsBuilder before joining.

31|9|Updated Mar 10, 2023
One-click install
npx skills add https://github.com/cometchat/calls-sdk-ios --skill session-settings
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: session-settings
Source: https://github.com/cometchat/calls-sdk-ios/tree/main/skills/session-settings
Command: npx skills add https://github.com/cometchat/calls-sdk-ios --skill session-settings

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the problem of needing to customize how a CometChat call behaves and looks before users join, without changing settings at runtime after building them.

Core Features & Use Cases

  • SessionSettingsBuilder-based configuration: Set session identity, session type (video/audio), layout style, and initial media state before joining.
  • UI control and button visibility: Hide or show panels and specific controls (e.g., control panel, header, recording/share/chat buttons) to match your product requirements.
  • Operational tuning for calls: Configure idle timeout behavior, audio mode, initial camera facing, and whether to enable in-session notifications and auto-start recording.

Quick Start

Use the session-settings Skill to generate a SessionSettingsBuilder configuration that sets your desired layout, audio/video mode, default mute/pause states, and hides any unwanted UI buttons before calling build() and joining the session.

Frequently Asked Questions about session-settings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I configure WebRTC call UI and behavior before joining a session?

To configure WebRTC call UI and behavior before joining, use SessionSettingsBuilder to set your desired layout, audio/video mode, default mute states, and button visibility, then build the immutable configuration and pass it into joinSession().

Can I hide specific call control buttons during a CometChat video session?

Yes, you can hide specific call control buttons during a CometChat video session by applying SessionSettingsBuilder options to toggle the visibility of the control panel, header, recording, share, and chat buttons before calling build().

What is the best way to set default audio mode and initial camera facing for iOS calls?

The best way to set default audio mode and initial camera facing for iOS calls is to pre-configure these operational behaviors within SessionSettingsBuilder, ensuring the immutable built configuration applies them correctly when passed into joinSession().

How do I enable auto-start recording and in-session notifications for audio calls?

To enable auto-start recording and in-session notifications for audio calls, configure these operational toggles using SessionSettingsBuilder during your pre-session setup, generating a built configuration that automatically applies these defaults upon joining.

Does CometChat allow changing call session settings at runtime after joining?

No, CometChat requires you to customize how a call behaves and looks before users join by using SessionSettingsBuilder. Once you call build() and pass the immutable configuration into joinSession(), runtime settings cannot be changed.

When do I need to use SessionSettingsBuilder for my iOS call implementation?

You need to use SessionSettingsBuilder for your iOS call implementation when you require pre-session setup for both audio and video calls, including setting idle timeout behavior, audio route selection, and notification toggles before joining.