Skip to content

lyh990517/WebRTC-with-Jetpack-Compose

Repository files navigation

Overview

This project is a video call application built using WebRTC technology. With this application, you can make video calls on both web browsers and mobile devices.

Getting Started

  1. Create a Firebase Project:

    • Go to the Firebase Console.
    • Click on Add project and follow the steps to create your Firebase project.
  2. Create Firestore Database:

    • In the Firebase project overview, navigate to Build > Firestore Database.
    • Click Create database and follow the prompts to set up Firestore in either test or production mode.
  3. Download google-services.json:

    • Go to Project settings (click on the gear icon).
    • Under Your apps, select your Android app and download the google-services.json configuration file.
  4. Place google-services.json in Your Project:

    • Copy the downloaded google-services.json file.
    • Place it in the core/webrtc/signaling directory of your project.
스크린샷 2024-11-15 오후 6 05 45
  1. Creating a Room

    • Launch the app and select the option to "Create a New Room" or a similar choice.
    • A unique number or word will be assigned to the created room.
  2. Joining a Room

    • To join a room created by another user, enter the assigned number or word for that room and click the "Join" button.
    • When both users join the same room by using the same number or word, the video call will begin.

With these simple steps, you can set up and enjoy video calls. Share the room number or word with other users to start a call together.

Modularization

스크린샷 2024-11-15 오후 6 03 44

App Preview