Skip to content

videosdk-live/videosdk-ios-pip-mode-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Videosdk - Picture-in-Picture Mode

Overview

Picture-in-Picture (PiP) mode allows users to continue a video call while using other apps. This feature is useful for multitasking, such as taking notes or browsing the web during a call.

Setup Guide

Prerequisites

Before running the project, ensure you have the following:

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/videosdk-live/videosdk-ios-pip-mode-example.git
    cd videosdk-ios-pip-mode-example
  2. Open the project in Xcode:

    open videosdk-ios-pip-mode-example.xcodeproj
  3. Enable required capabilities:

    • Go to Signing & Capabilities in Xcode.
    • Enable Background Modes and check:
      • Audio, AirPlay, and Picture in Picture
      • Voice over IP
  4. Inside MeetingViewController.swift, add the generated token in the var token = "YOUR_TOKEN_HERE" field.

  5. Run the project on a physical iOS device (PiP is not fully supported in the iOS Simulator).

Running the Application

  1. Launch the app on your device.
  2. Start a video call using the provided UI.
  3. Tap the Enable PiP button to activate Picture-in-Picture mode.
  4. The video window should shrink and remain visible while you switch apps.
  5. PiP mode will turn off when you return to the app from the background where PiP mode was previously active.

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages