Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion assets/version-aligner.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@

// Route gating: version dropdown should appear only on configured prefixes
const ALLOWED_VERSION_PREFIXES = (Array.isArray(window.ccVersionRoutes) && window.ccVersionRoutes.length)
? window.ccVersionRoutes : ['/ui-kit','/sdk'];
? window.ccVersionRoutes : ['/ui-kit','/sdk','/calls'];
function isVersionRoute() {
try {
let p = window.location.pathname || '/';
Expand Down
2 changes: 2 additions & 0 deletions calls/android/actions.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Actions"
sidebarTitle: "Actions"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Actions for Android"
---

Use call actions to create your own custom controls or trigger call functionality dynamically based on your use case. All actions are called on the `CallSession` singleton instance during an active call session.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/audio-controls.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Audio Controls"
sidebarTitle: "Audio Controls"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Audio Controls for Android"
---

Control audio during an active call session. These methods allow you to mute/unmute the local microphone and change the audio output device.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/audio-modes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Audio Modes"
sidebarTitle: "Audio Modes"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Audio Modes for Android"
---

Control audio output routing during calls. Switch between speaker, earpiece, Bluetooth, and wired headphones based on user preference or device availability.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/authentication.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Authentication"
sidebarTitle: "Authentication"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Authentication for Android"
---

Before users can make or receive calls, they must be authenticated with the CometChat Calls SDK. This guide covers the login and logout methods.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/background-handling.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Background Handling"
sidebarTitle: "Background Handling"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Background Handling for Android"
---

Keep calls alive when users navigate away from your app. Background handling ensures the call continues running when users press the home button, switch to another app, or lock their device.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/button-click-listener.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Button Click Listener"
sidebarTitle: "Button Click Listener"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Button Click Listener for Android"
---

Intercept UI button clicks with `ButtonClickListener`. This listener provides callbacks when users tap buttons in the call UI, allowing you to implement custom behavior or show confirmation dialogs.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/call-layouts.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Call Layouts"
sidebarTitle: "Call Layouts"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Call Layouts for Android"
---

Choose how participants are displayed during a call. The SDK provides multiple layout options to suit different use cases like team meetings, presentations, or one-on-one calls.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/call-logs.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Call Logs"
sidebarTitle: "Call Logs"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Call Logs for Android"
---

Retrieve call history for your application. Call logs provide detailed information about past calls including duration, participants, recordings, and status.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/custom-control-panel.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Custom Control Panel"
sidebarTitle: "Custom Control Panel"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Custom Control Panel for Android"
---

Build a fully customized control panel for your call interface by hiding the default controls and implementing your own UI with call actions. This guide walks you through creating a custom control panel with essential call controls.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/custom-participant-list.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Custom Participant List"
sidebarTitle: "Custom Participant List"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Custom Participant List for Android"
---

Build a custom participant list UI that displays real-time participant information with full control over layout and interactions. This guide demonstrates how to hide the default participant list and create your own using participant events and actions.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/events.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Events"
sidebarTitle: "Events"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Events for Android"
---

Handle call session events to build responsive UIs. The SDK provides five event listener interfaces to monitor session status, participant activities, media changes, button clicks, and layout changes. Each listener is lifecycle-aware and automatically cleaned up when the Activity or Fragment is destroyed.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/idle-timeout.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Idle Timeout"
sidebarTitle: "Idle Timeout"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Idle Timeout for Android"
---

Configure automatic session termination when a user is alone in a call. Idle timeout helps manage resources by ending sessions that have no active participants.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/in-call-chat.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "In-Call Chat"
sidebarTitle: "In-Call Chat"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - In-Call Chat for Android"
---

Add real-time messaging to your call experience using CometChat UI Kit. This allows participants to send text messages, share files, and communicate via chat while on a call.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/join-session.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Join Session"
sidebarTitle: "Join Session"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Join Session for Android"
---

Join a call session using one of two approaches: the quick start method with a session ID, or the advanced flow with manual token generation for more control.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/layout-listener.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Layout Listener"
sidebarTitle: "Layout Listener"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Layout Listener for Android"
---

Monitor layout changes with `LayoutListener`. This listener provides callbacks for call layout changes, participant list visibility, and Picture-in-Picture (PiP) mode state changes.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/layout-ui.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Layout & UI"
sidebarTitle: "Layout & UI"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Layout & UI for Android"
---

Control the call layout and UI elements during an active session. These methods allow you to change the call layout, enable Picture-in-Picture mode, and update UI badges.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/media-events-listener.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Media Events Listener"
sidebarTitle: "Media Events Listener"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Media Events Listener for Android"
---

Monitor local media state changes with `MediaEventsListener`. This listener provides callbacks for your own audio/video state changes, recording events, screen sharing, audio mode changes, and camera facing changes.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/migration-guide-v5.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Migration Guide"
sidebarTitle: "v4 to v5 Migration"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Migration Guide for Android"
---

This guide covers migrating from Calls SDK v4 to v5 for Android.
Expand Down
18 changes: 3 additions & 15 deletions calls/android/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
---
title: "Calls SDK"
sidebarTitle: "Overview"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Calls SDK for Android"
---

<Warning>
This is a **beta release** of the standalone Calls SDK. APIs and features may change before the stable release. For the current stable calling integration, see the [Android Calling Overview](/sdk/android/calling-overview).
This is a **beta release** of the Calls SDK v5. APIs and features may change before the stable release. For the current stable version, see the [Calls SDK v4 docs →](/calls/v4/android/overview).
</Warning>

The CometChat Calls SDK enables real-time voice and video calling capabilities in your Android application. Built on top of WebRTC, it provides a complete calling solution with built-in UI components and extensive customization options.

<Info>
**Faster Integration with UI Kits**

If you're using CometChat UI Kits, voice and video calling can be quickly integrated:
- Incoming & outgoing call screens
- Call buttons with one-tap calling
- Call logs with history

👉 [Android UI Kit Calling Integration](/ui-kit/android/calling-integration)

Use this Calls SDK directly only if you need custom call UI or advanced control.
</Info>

## Prerequisites

Before integrating the Calls SDK, ensure you have:
Expand Down
2 changes: 2 additions & 0 deletions calls/android/participant-actions.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Participant Actions"
sidebarTitle: "Participant Actions"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Participant Actions for Android"
---

Manage other participants during an active call session. These methods allow you to mute participants, pause their video, and pin/unpin them in the call layout.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/participant-event-listener.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Participant Event Listener"
sidebarTitle: "Participant Event Listener"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Participant Event Listener for Android"
---

Monitor participant activities with `ParticipantEventListener`. This listener provides callbacks for participant join/leave events, audio/video state changes, hand raise actions, screen sharing, recording, and more.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/participant-management.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Participant Management"
sidebarTitle: "Participant Management"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Participant Management for Android"
---

Manage participants during a call with actions like muting, pausing video, and pinning. These features help maintain order in group calls and highlight important speakers.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/picture-in-picture.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Picture-in-Picture"
sidebarTitle: "Picture-in-Picture"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Picture-in-Picture for Android"
---

Enable Picture-in-Picture (PiP) mode to allow users to continue their call in a floating window while using other apps. PiP provides a seamless multitasking experience during calls.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/raise-hand.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Raise Hand"
sidebarTitle: "Raise Hand"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Raise Hand for Android"
---

Allow participants to raise their hand to get attention during calls. This feature is useful for large meetings, webinars, or any scenario where participants need to signal they want to speak.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/recording.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Recording"
sidebarTitle: "Recording"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Recording for Android"
---

Record call sessions for later playback. Recordings are stored server-side and can be accessed through call logs or the CometChat Dashboard.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/ringing.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Ringing"
sidebarTitle: "Ringing"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Ringing for Android"
---

Implement incoming and outgoing call notifications with accept/reject functionality. Ringing enables real-time call signaling between users, allowing them to initiate calls and respond to incoming call requests.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/screen-sharing.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Screen Sharing"
sidebarTitle: "Screen Sharing"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Screen Sharing for Android"
---

View screen shares from other participants during a call. The Android SDK can receive and display screen shares initiated from web clients.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/session-control.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Session Control"
sidebarTitle: "Session Control"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Session Control for Android"
---

Control the call session lifecycle and participant interactions. These methods allow you to leave the session, raise/lower your hand, and check session status.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/session-settings.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "SessionSettingsBuilder"
sidebarTitle: "SessionSettingsBuilder"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - SessionSettingsBuilder for Android"
---

The `SessionSettingsBuilder` is a powerful configuration tool that allows you to customize every aspect of your call session before participants join. From controlling the initial audio/video state to customizing the UI layout and hiding specific controls, this builder gives you complete control over the call experience.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/session-status-listener.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Session Status Listener"
sidebarTitle: "Session Status Listener"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Session Status Listener for Android"
---

Monitor the call session lifecycle with `SessionStatusListener`. This listener provides callbacks for session join/leave events, connection status changes, and session timeouts.
Expand Down
15 changes: 15 additions & 0 deletions calls/android/setup.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
---
title: "Setup"
sidebarTitle: "Setup"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Setup for Android"
---

<Info>
**Faster Integration with UI Kits**

If you're using CometChat UI Kits, voice and video calling can be quickly integrated:
- Incoming & outgoing call screens
- Call buttons with one-tap calling
- Call logs with history

👉 [Android UI Kit Calling Integration](/ui-kit/android/calling-integration)

Use this Calls SDK directly only if you need custom call UI or advanced control.
</Info>

This guide walks you through installing the CometChat Calls SDK and initializing it in your Android application.

## Add the CometChat Dependency
Expand Down
2 changes: 2 additions & 0 deletions calls/android/share-invite.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Share Invite"
sidebarTitle: "Share Invite"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Share Invite for Android"
---

Enable participants to invite others to join a call by sharing a meeting link. The share invite button opens the system share sheet, allowing users to send the invite via any messaging app, email, or social media.
Expand Down
3 changes: 2 additions & 1 deletion calls/android/troubleshooting.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: "Troubleshooting"
description: "Common failure modes and fixes for the CometChat Android Calls SDK."
description: "CometChat Calling SDK v5 - Beta Release - Troubleshooting for Android"
sdk_version: "5.x (Beta)"
---

## Installation & Setup
Expand Down
2 changes: 2 additions & 0 deletions calls/android/video-controls.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Video Controls"
sidebarTitle: "Video Controls"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Video Controls for Android"
---

Control video during an active call session. These methods allow you to pause/resume the local camera and switch between front and back cameras.
Expand Down
2 changes: 2 additions & 0 deletions calls/android/voip-calling.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "VoIP Calling"
sidebarTitle: "VoIP Calling"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - VoIP Calling for Android"
---

Implement native VoIP calling that works when your app is in the background or killed. This guide shows how to integrate Android's Telecom framework with CometChat to display system call UI, handle calls from the lock screen, and provide a native calling experience.
Expand Down
2 changes: 2 additions & 0 deletions calls/flutter/actions.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Actions"
sidebarTitle: "Actions"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Actions for Flutter"
---

Use call actions to create your own custom controls or trigger call functionality dynamically based on your use case. All actions are called on the `CallSession` singleton instance during an active call session.
Expand Down
2 changes: 2 additions & 0 deletions calls/flutter/audio-controls.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Audio Controls"
sidebarTitle: "Audio Controls"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Audio Controls for Flutter"
---

Control audio during an active call session. These methods allow you to mute/unmute the local microphone and change the audio output device.
Expand Down
2 changes: 2 additions & 0 deletions calls/flutter/audio-modes.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Audio Modes"
sidebarTitle: "Audio Modes"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Audio Modes for Flutter"
---

Control audio output routing during calls. Switch between speaker, earpiece, and Bluetooth based on user preference or device availability.
Expand Down
2 changes: 2 additions & 0 deletions calls/flutter/authentication.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: "Authentication"
sidebarTitle: "Authentication"
sdk_version: "5.x (Beta)"
description: "CometChat Calling SDK v5 - Beta Release - Authentication for Flutter"
---

Before users can make or receive calls, they must be authenticated with the CometChat Calls SDK. This guide covers the login and logout methods.
Expand Down
Loading